Skip to content

gchrupala/correlating-neural-and-symbolic-representations-of-language

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

correlating-neural-and-symbolic-representations-of-language

Code repository for the paper:

Grzegorz Chrupała and Afra Alishahi. 2019. Correlating neural and symbolic representations of language. In Proceedings of ACL. https://arxiv.org/abs/1905.06401

Installation

Clone repo and set up and activate a virtual environment with python3

cd correlating-neural-and-symbolic-representations-of-language
virtualenv -p python3 .

Install pre-requisites annd the Python code (in development mode if you will be modifying something).

pip install -r requirements.txt
python setup.py develop

Download InferSent moodels and data and unpack them:

wget http://grzegorz.chrupala.me/data/infersent.tgz
tar zxvf infersent.tgz

Usage

python -c 'import rsa.report as R; R.main(open("report/results.tex", "w"))'