Skip to content

adrian-valente/populations_paper_code

Repository files navigation

The role of population structure in computations through neural dynamics

Code and networks for the paper Dubreuil A., Valente A., Beiran M., Mastrogiuseppe F., Ostojic S., "The role of population structure in computations through neural dynamics" Nature Neuroscience, 2022, link, biorXiv link

Install

To install dependencies and use the low_rank_rnns library, simply run in a virtual environment of your choice:

pip install -e .

Cuda is supported but you will need to install the torch package with the appropriate version for your system.

Usage

To see how to train a low-rank RNN on a task and fit populations to its parameters, see the tutorial in figures_notebooks/tutorial.ipynb.

Code by Adrian Valente and Alexis Dubreuil.

About

Code to train low-rank RNNs on cognitive tasks & reproduce experiments from populations paper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published