Skip to content
This repository was archived by the owner on Aug 15, 2019. It is now read-only.

Code for the paper: Symbolic inductive bias for visually grounded learning of spoken language

Notifications You must be signed in to change notification settings

blackboxnlp/symbolic-bias

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

symbolic-bias

Code for the paper: Symbolic inductive bias for visually grounded learning of spoken language. https://arxiv.org/abs/1812.09244, published at ACL 2019.

Install

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

cd symbolic-bias
virtualenv -p python3 .

Install Python code (in development mode if you will be modifying something).

python setup.py develop

Download trained models and unpack them:

wget http://grzegorz.chrupala.me/data/symbolic-bias/experiments.tgz
tar zxvf experiments.tgz

Download data and unpack them:

wget http://grzegorz.chrupala.me/data/symbolic-bias/data.tgz
tar zxvf data.tgz

Usage

Execute function main in file analysis/analyze.py.

cd analysis
python -c 'import analyze; analyze.main()'

The output should be similar to analysis/results.tex.

Inspect the definition of this function to see how to compute the results from each table in the paper.

About

Code for the paper: Symbolic inductive bias for visually grounded learning of spoken language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.0%
  • TeX 1.1%
  • R 0.9%