https://github.com/aalok-sathe/wm-computational-limits
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.2%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: aalok-sathe
- Language: Python
- Default Branch: main
- Size: 357 KB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
wm-computational-limits
Are there computational limits on human working memory (WM) capacity aside from anatomical limits?
The directory workingmem.task.SIR contains a version of the Store-Ignore-Recall (SIR) task used in human
experiments to tax working memory (CITE). The task involves storing and recalling items stored in
virtual WM 'slots', here, 'registers'. In humans, the task requires active role-addressable
maintenance of information. In computational models, the retrieval may be facilitated by a number
of strategies.
To generate a dataset, use: ``` python -m workingmem.task.SIR -h usage: main.py [-h] [--nreg NREG] [--nitems NITEMS] [--seqlen SEQLEN] [--concurrentreg CONCURRENTREG] [--concurrentitems CONCURRENTITEMS] [--heldoutreg HELDOUTREG] [--heldoutitems HELDOUTITEMS] [--locality LOCALITY] [--ignoreprob IGNOREPROB] [--samediffprob SAMEDIFFPROB] [--ntrain NTRAIN] [--nval NVAL] [--ntest NTEST] [--split SPLIT] [--basedir BASEDIR] [--seed SEED] [--generate]
Generate a dataset for the SIR task, or load one if it already exists, and output a few examples
options: -h, --help show this help message and exit --nreg NREG Number of registers (vocab). [100] --nitems NITEMS Number of items (vocab). [100] --seqlen SEQLEN Sequence length (trials in a sequence). [100] --concurrentreg CONCURRENTREG Number of concurrent registers. [2] --concurrentitems CONCURRENTITEMS Number of concurrent items. [4] --heldoutreg HELDOUTREG Held-out registers for testing. --heldoutitems HELDOUTITEMS Held-out items for testing. --locality LOCALITY Locality for the tasks. --ignoreprob IGNOREPROB Probability of ignoring an item. --samediffprob SAMEDIFFPROB Probability of 'same' outcome [.5] --ntrain NTRAIN Number of training samples. [10,000] --nval NVAL Number of validation samples. [2000] --ntest NTEST Number of test samples. [2000] --split SPLIT Dataset split to use. --basedir BASEDIR Base directory to save or load data. --seed SEED random seed for dataset generation --generate generate the dataset splits and store to disk? if not passed, will simply output a single example generated on-the-fly. ```
Examples look of this sort:
St reg_54 item_4 diff St reg_54 item_81 diff St reg_60 item_81 diff St reg_60 item_81 diff St reg_54 item_81 same St reg_54 item_81 same St reg_60 item_40 diff Ig reg_54 item_81 same St reg_54 item_81 same Ig reg_54 item_81 diff St reg_60 item_81 diff St reg_54 item_81 diff St reg_60 item_40 diff St reg_60 item_4 diff Ig reg_54 item_81 same
The main module (-m workingmem), implemented with an entrypoint in workingmem/__main__.py does the orchestrating of loading/constructing datasets, training/evaluating models.
To see the options, run python -m workingmem -h.
The module allows you to integrate the main script with Weights & Biases (wandb)
Owner
- Name: Aalok | आलोक
- Login: aalok-sathe
- Kind: user
- Location: Cambridge, MA
- Company: @MIT Brain & Cognitive Sciences
- Website: https://aalok-sathe.gitlab.io
- Twitter: aloxatel
- Repositories: 16
- Profile: https://github.com/aalok-sathe
interested in computation, cognition, and language. currently RA@ Evlab @mit BCS.
GitHub Events
Total
- Push event: 49
- Pull request event: 2
- Create event: 4
Last Year
- Push event: 49
- Pull request event: 2
- Create event: 4
Dependencies
- numpy >=2.0.2
- torch >=2.6.0
- transformers >=4.48.3
- certifi 2025.1.31
- charset-normalizer 3.4.1
- colorama 0.4.6
- filelock 3.17.0
- fsspec 2025.2.0
- huggingface-hub 0.28.1
- idna 3.10
- jinja2 3.1.5
- markupsafe 3.0.2
- mpmath 1.3.0
- networkx 3.2.1
- numpy 2.0.2
- nvidia-cublas-cu12 12.4.5.8
- nvidia-cuda-cupti-cu12 12.4.127
- nvidia-cuda-nvrtc-cu12 12.4.127
- nvidia-cuda-runtime-cu12 12.4.127
- nvidia-cudnn-cu12 9.1.0.70
- nvidia-cufft-cu12 11.2.1.3
- nvidia-curand-cu12 10.3.5.147
- nvidia-cusolver-cu12 11.6.1.9
- nvidia-cusparse-cu12 12.3.1.170
- nvidia-cusparselt-cu12 0.6.2
- nvidia-nccl-cu12 2.21.5
- nvidia-nvjitlink-cu12 12.4.127
- nvidia-nvtx-cu12 12.4.127
- packaging 24.2
- pyyaml 6.0.2
- regex 2024.11.6
- requests 2.32.3
- safetensors 0.5.2
- setuptools 75.8.0
- sympy 1.13.1
- tokenizers 0.21.0
- torch 2.6.0
- tqdm 4.67.1
- transformers 4.48.3
- triton 3.2.0
- typing-extensions 4.12.2
- urllib3 2.3.0
- wm-computational-limits 0.1.0