All Projects → benbogin → glt-grounded-latent-trees-qa

benbogin / glt-grounded-latent-trees-qa

Licence: other
No description, website, or topics provided.

Programming Languages

python
139335 projects - #7 most used programming language
Jsonnet
166 projects

Grounded Latent Trees for Visual Question Answering

This repository contains the code associated with the paper Latent Compositional Representations Improve Systematic Generalization in Grounded Question Answering, published in TACL (2020).

Setup

  1. Install all requirements
pip install -r requirements.txt

Arithmetic Dataset

  1. Run with this AllenNLP command:
allennlp train train_configs/glt_arithmetic.jsonnet -s experiments/experiment_name --include-package src

CLEVR / CLOSURE Dataset

  1. Download CLEVR image features + preprocessed data (image features are extracted with py-bottom-up-attention) into the data directory.

  2. Run with this AllenNLP command:

allennlp train train_configs/glt_clevr.jsonnet -s experiments/experiment_name --include-package src
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].