├── .gitignore ├── .gitmodules ├── LICENSE ├── README.md ├── config.py ├── data ├── VerbsWithAttributes │ ├── README.md │ ├── attributes.csv │ ├── attributes_split.csv │ ├── imsitu_split │ │ ├── dev_set.txt │ │ ├── test_set.txt │ │ └── train_set.txt │ ├── imsitu_verbs.txt │ └── verb_definitions.csv ├── attribute_loader.py ├── dictionary_dataset.py └── imsitu_loader.py ├── figures ├── fig_4.py ├── make_figure_1.py ├── make_text_examples.py └── viz_activations.py ├── lib ├── att_prediction.py ├── attribute_loss.py ├── bce_loss.py ├── bucket_iterator.py ├── imsitu_model.py ├── misc.py └── selu.py ├── models ├── baselines │ ├── bow_to_atts.py │ ├── emb_to_atts.py │ ├── eszsl │ │ ├── run_exp.py │ │ └── scrape.py │ ├── mfc_baseline.py │ ├── retrofitting │ │ ├── retrofit.py │ │ └── retrofit.sh │ └── rtml │ │ └── train_eval_rtml.py ├── def_to_atts_eval.py ├── def_to_atts_pretrain.py ├── def_to_atts_train.py ├── imsitu_eval.py ├── imsitu_pretrain.py ├── imsitu_train.py └── nbow_to_atts.py ├── requirements.txt └── scripts ├── imsitu_pretrain.sh ├── train_dap.sh ├── train_devise.sh ├── train_ours.sh └── train_text.sh /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/.gitmodules -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/README.md -------------------------------------------------------------------------------- /config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/config.py -------------------------------------------------------------------------------- /data/VerbsWithAttributes/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/data/VerbsWithAttributes/README.md -------------------------------------------------------------------------------- /data/VerbsWithAttributes/attributes.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/data/VerbsWithAttributes/attributes.csv -------------------------------------------------------------------------------- /data/VerbsWithAttributes/attributes_split.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/data/VerbsWithAttributes/attributes_split.csv -------------------------------------------------------------------------------- /data/VerbsWithAttributes/imsitu_split/dev_set.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/data/VerbsWithAttributes/imsitu_split/dev_set.txt -------------------------------------------------------------------------------- /data/VerbsWithAttributes/imsitu_split/test_set.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/data/VerbsWithAttributes/imsitu_split/test_set.txt -------------------------------------------------------------------------------- /data/VerbsWithAttributes/imsitu_split/train_set.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/data/VerbsWithAttributes/imsitu_split/train_set.txt -------------------------------------------------------------------------------- /data/VerbsWithAttributes/imsitu_verbs.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/data/VerbsWithAttributes/imsitu_verbs.txt -------------------------------------------------------------------------------- /data/VerbsWithAttributes/verb_definitions.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/data/VerbsWithAttributes/verb_definitions.csv -------------------------------------------------------------------------------- /data/attribute_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/data/attribute_loader.py -------------------------------------------------------------------------------- /data/dictionary_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/data/dictionary_dataset.py -------------------------------------------------------------------------------- /data/imsitu_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/data/imsitu_loader.py -------------------------------------------------------------------------------- /figures/fig_4.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/figures/fig_4.py -------------------------------------------------------------------------------- /figures/make_figure_1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/figures/make_figure_1.py -------------------------------------------------------------------------------- /figures/make_text_examples.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/figures/make_text_examples.py -------------------------------------------------------------------------------- /figures/viz_activations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/figures/viz_activations.py -------------------------------------------------------------------------------- /lib/att_prediction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/lib/att_prediction.py -------------------------------------------------------------------------------- /lib/attribute_loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/lib/attribute_loss.py -------------------------------------------------------------------------------- /lib/bce_loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/lib/bce_loss.py -------------------------------------------------------------------------------- /lib/bucket_iterator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/lib/bucket_iterator.py -------------------------------------------------------------------------------- /lib/imsitu_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/lib/imsitu_model.py -------------------------------------------------------------------------------- /lib/misc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/lib/misc.py -------------------------------------------------------------------------------- /lib/selu.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/lib/selu.py -------------------------------------------------------------------------------- /models/baselines/bow_to_atts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/models/baselines/bow_to_atts.py -------------------------------------------------------------------------------- /models/baselines/emb_to_atts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/models/baselines/emb_to_atts.py -------------------------------------------------------------------------------- /models/baselines/eszsl/run_exp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/models/baselines/eszsl/run_exp.py -------------------------------------------------------------------------------- /models/baselines/eszsl/scrape.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/models/baselines/eszsl/scrape.py -------------------------------------------------------------------------------- /models/baselines/mfc_baseline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/models/baselines/mfc_baseline.py -------------------------------------------------------------------------------- /models/baselines/retrofitting/retrofit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/models/baselines/retrofitting/retrofit.py -------------------------------------------------------------------------------- /models/baselines/retrofitting/retrofit.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/models/baselines/retrofitting/retrofit.sh -------------------------------------------------------------------------------- /models/baselines/rtml/train_eval_rtml.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/models/baselines/rtml/train_eval_rtml.py -------------------------------------------------------------------------------- /models/def_to_atts_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/models/def_to_atts_eval.py -------------------------------------------------------------------------------- /models/def_to_atts_pretrain.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/models/def_to_atts_pretrain.py -------------------------------------------------------------------------------- /models/def_to_atts_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/models/def_to_atts_train.py -------------------------------------------------------------------------------- /models/imsitu_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/models/imsitu_eval.py -------------------------------------------------------------------------------- /models/imsitu_pretrain.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/models/imsitu_pretrain.py -------------------------------------------------------------------------------- /models/imsitu_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/models/imsitu_train.py -------------------------------------------------------------------------------- /models/nbow_to_atts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/models/nbow_to_atts.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/requirements.txt -------------------------------------------------------------------------------- /scripts/imsitu_pretrain.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/scripts/imsitu_pretrain.sh -------------------------------------------------------------------------------- /scripts/train_dap.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/scripts/train_dap.sh -------------------------------------------------------------------------------- /scripts/train_devise.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/scripts/train_devise.sh -------------------------------------------------------------------------------- /scripts/train_ours.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/scripts/train_ours.sh -------------------------------------------------------------------------------- /scripts/train_text.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uwnlp/verb-attributes/HEAD/scripts/train_text.sh --------------------------------------------------------------------------------