See requirements.txt
There are several directories required for proper functionality:
checkpointsThis directory stores any created checkpoints for future use.codeThis directory contains the code and also the configuration file.datasetThis directory contains the Plaut, anchor, and probe datasets in.csvformat.resultsThis directory stores the simulation results folders, which contain the plots and.csv.gzfiles created with each simulation.
- The configuration file for simulations is located in
code/config.cfg. This file contains all user-settable parameters, with descriptions of the usage of each parameter. This file must not be renamed nor moved in order for the simulation to run successfully. With each simulation, a copy of theconfig.cfgfile will be placed in the simulation results folder. - After all desired parameter settings are made in the configuration file, the code in the Jupyter Notebook file
plaut_model.ipynbcan be executed. Information will be printed and plotted on intervals specified in the configuration file. - A folder containing simulation results will be created inside the
resultsdirectory. This simulation folder will be named with the format<label>-S<seed>D<dilution>O<order>-<date>. Inside the simulation folder will be loss and accuracy plots, a copy of the configuration file, as well as.csv.gzfile containing accuracy information for each word at specified intervals during the simulation.