Skip to content
Python R TeX
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data/out
experiments
report
rsa Cleanup kernel.py Jun 14, 2019
LICENSE
README.md
plot.R
requirements.txt
setup.py

README.md

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"))'
You can’t perform that action at this time.