├── .gitignore ├── LICENSE ├── README.md ├── analysis ├── analysis.Rmd ├── analysis.Rproj └── get_attributes_for_figure.py ├── code ├── acre.py ├── data │ ├── __init__.py │ ├── cub.py │ ├── generic.py │ ├── image_util.py │ ├── language.py │ ├── loader.py │ ├── shapeworld.py │ └── util.py ├── emergence.py ├── eval_zero_shot.py ├── io_util.py ├── models │ ├── __init__.py │ ├── backbone │ │ ├── __init__.py │ │ ├── feature.py │ │ └── vision.py │ ├── base.py │ ├── builder.py │ ├── listener.py │ ├── model_util.py │ ├── rnn.py │ ├── seq2seq.py │ └── speaker.py ├── sample.py ├── train.py ├── util.py └── vis.py ├── data ├── README.md ├── download_shapeworld.sh └── save_cub_np.py ├── etc ├── aggregate.py ├── aggregate_comm.py ├── aggregate_zero_shot.py ├── anonymize_post_hoc.py ├── comm_entropy_results.csv ├── comm_results.csv ├── entropy_force_concept_results.csv ├── entropy_force_ref_results.csv ├── entropy_force_setref_results.csv ├── entropy_results.csv ├── force_concept_results.csv ├── force_ref_results.csv ├── force_setref_results.csv ├── print_ops.py ├── xent_entropy_results.csv ├── xent_results.csv └── zero_shot_results.csv ├── exp └── README.md ├── html └── vis.j2 ├── requirements.txt ├── run_cub.sh └── run_sw.sh /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/README.md -------------------------------------------------------------------------------- /analysis/analysis.Rmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/analysis/analysis.Rmd -------------------------------------------------------------------------------- /analysis/analysis.Rproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/analysis/analysis.Rproj -------------------------------------------------------------------------------- /analysis/get_attributes_for_figure.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/analysis/get_attributes_for_figure.py -------------------------------------------------------------------------------- /code/acre.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/code/acre.py -------------------------------------------------------------------------------- /code/data/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/code/data/__init__.py -------------------------------------------------------------------------------- /code/data/cub.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/code/data/cub.py -------------------------------------------------------------------------------- /code/data/generic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/code/data/generic.py -------------------------------------------------------------------------------- /code/data/image_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/code/data/image_util.py -------------------------------------------------------------------------------- /code/data/language.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/code/data/language.py -------------------------------------------------------------------------------- /code/data/loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/code/data/loader.py -------------------------------------------------------------------------------- /code/data/shapeworld.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/code/data/shapeworld.py -------------------------------------------------------------------------------- /code/data/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/code/data/util.py -------------------------------------------------------------------------------- /code/emergence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/code/emergence.py -------------------------------------------------------------------------------- /code/eval_zero_shot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/code/eval_zero_shot.py -------------------------------------------------------------------------------- /code/io_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/code/io_util.py -------------------------------------------------------------------------------- /code/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/code/models/__init__.py -------------------------------------------------------------------------------- /code/models/backbone/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/code/models/backbone/__init__.py -------------------------------------------------------------------------------- /code/models/backbone/feature.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/code/models/backbone/feature.py -------------------------------------------------------------------------------- /code/models/backbone/vision.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/code/models/backbone/vision.py -------------------------------------------------------------------------------- /code/models/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/code/models/base.py -------------------------------------------------------------------------------- /code/models/builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/code/models/builder.py -------------------------------------------------------------------------------- /code/models/listener.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/code/models/listener.py -------------------------------------------------------------------------------- /code/models/model_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/code/models/model_util.py -------------------------------------------------------------------------------- /code/models/rnn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/code/models/rnn.py -------------------------------------------------------------------------------- /code/models/seq2seq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/code/models/seq2seq.py -------------------------------------------------------------------------------- /code/models/speaker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/code/models/speaker.py -------------------------------------------------------------------------------- /code/sample.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/code/sample.py -------------------------------------------------------------------------------- /code/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/code/train.py -------------------------------------------------------------------------------- /code/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/code/util.py -------------------------------------------------------------------------------- /code/vis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/code/vis.py -------------------------------------------------------------------------------- /data/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/data/README.md -------------------------------------------------------------------------------- /data/download_shapeworld.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/data/download_shapeworld.sh -------------------------------------------------------------------------------- /data/save_cub_np.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/data/save_cub_np.py -------------------------------------------------------------------------------- /etc/aggregate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/etc/aggregate.py -------------------------------------------------------------------------------- /etc/aggregate_comm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/etc/aggregate_comm.py -------------------------------------------------------------------------------- /etc/aggregate_zero_shot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/etc/aggregate_zero_shot.py -------------------------------------------------------------------------------- /etc/anonymize_post_hoc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/etc/anonymize_post_hoc.py -------------------------------------------------------------------------------- /etc/comm_entropy_results.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/etc/comm_entropy_results.csv -------------------------------------------------------------------------------- /etc/comm_results.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/etc/comm_results.csv -------------------------------------------------------------------------------- /etc/entropy_force_concept_results.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/etc/entropy_force_concept_results.csv -------------------------------------------------------------------------------- /etc/entropy_force_ref_results.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/etc/entropy_force_ref_results.csv -------------------------------------------------------------------------------- /etc/entropy_force_setref_results.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/etc/entropy_force_setref_results.csv -------------------------------------------------------------------------------- /etc/entropy_results.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/etc/entropy_results.csv -------------------------------------------------------------------------------- /etc/force_concept_results.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/etc/force_concept_results.csv -------------------------------------------------------------------------------- /etc/force_ref_results.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/etc/force_ref_results.csv -------------------------------------------------------------------------------- /etc/force_setref_results.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/etc/force_setref_results.csv -------------------------------------------------------------------------------- /etc/print_ops.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/etc/print_ops.py -------------------------------------------------------------------------------- /etc/xent_entropy_results.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/etc/xent_entropy_results.csv -------------------------------------------------------------------------------- /etc/xent_results.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/etc/xent_results.csv -------------------------------------------------------------------------------- /etc/zero_shot_results.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/etc/zero_shot_results.csv -------------------------------------------------------------------------------- /exp/README.md: -------------------------------------------------------------------------------- 1 | # exp 2 | 3 | Experiment dir 4 | -------------------------------------------------------------------------------- /html/vis.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/html/vis.j2 -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/requirements.txt -------------------------------------------------------------------------------- /run_cub.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/run_cub.sh -------------------------------------------------------------------------------- /run_sw.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jayelm/emergent-generalization/HEAD/run_sw.sh --------------------------------------------------------------------------------