/storyrep

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Note

The code in this repository is based on the brain-lang repository, but contains new developments and analyses on story representations. It is work in progress.

Requirements:

  • Numpy
  • Sklearn
  • Allennlp (for Elmo)
  • pytorch_pretrained_bert (for Bert encoder)
  • Spacy for tokenization: python -m spacy download en_core_web_lg
  • Pandas, matplotlib, seaborn and nilearn in case you want to plot the results.