├── .gitignore ├── LICENSE ├── README.md ├── anlg ├── README.md ├── __init__.py ├── evaluation │ ├── LICENSE │ ├── README.md │ ├── __init__.py │ ├── bert_score │ │ ├── __init__.py │ │ ├── bert_score.py │ │ ├── score.py │ │ └── utils.py │ ├── bleu │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── __init__.py │ │ ├── bleu.py │ │ └── bleu_scorer.py │ ├── cider │ │ ├── __init__.py │ │ ├── cider.py │ │ └── cider_scorer.py │ ├── eval.py │ ├── meteor │ │ ├── __init__.py │ │ ├── meteor-1.5.jar │ │ ├── meteor.py │ │ └── meteor_nltk.py │ ├── rouge │ │ ├── __init__.py │ │ └── rouge.py │ └── turk_template │ │ └── gen_eval.html ├── models.py ├── run_generation.py ├── run_lm_finetuning.py └── tokenizers.py ├── anli ├── README.md ├── __init__.py ├── corpus_statistics.py ├── crowdsourcing_templates │ ├── Task1-PlausibleHypothesis.html │ ├── Task2-ImplausibleHypothesis.html │ └── Task3-HumanEval.html ├── data_processors.py ├── demo.py ├── human_eval │ ├── __init__.py │ ├── compute_human_performance.py │ └── prep_human_eval.py ├── max_ctx_for_dataset.py └── run_anli.py ├── get-data.sh ├── requirements.txt ├── setup.sh └── utils ├── __init__.py ├── file_utils.py └── jsonl_to_tsv.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/README.md -------------------------------------------------------------------------------- /anlg/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/anlg/README.md -------------------------------------------------------------------------------- /anlg/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /anlg/evaluation/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/anlg/evaluation/LICENSE -------------------------------------------------------------------------------- /anlg/evaluation/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/anlg/evaluation/README.md -------------------------------------------------------------------------------- /anlg/evaluation/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /anlg/evaluation/bert_score/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /anlg/evaluation/bert_score/bert_score.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/anlg/evaluation/bert_score/bert_score.py -------------------------------------------------------------------------------- /anlg/evaluation/bert_score/score.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/anlg/evaluation/bert_score/score.py -------------------------------------------------------------------------------- /anlg/evaluation/bert_score/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/anlg/evaluation/bert_score/utils.py -------------------------------------------------------------------------------- /anlg/evaluation/bleu/.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | -------------------------------------------------------------------------------- /anlg/evaluation/bleu/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/anlg/evaluation/bleu/LICENSE -------------------------------------------------------------------------------- /anlg/evaluation/bleu/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'tylin' 2 | -------------------------------------------------------------------------------- /anlg/evaluation/bleu/bleu.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/anlg/evaluation/bleu/bleu.py -------------------------------------------------------------------------------- /anlg/evaluation/bleu/bleu_scorer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/anlg/evaluation/bleu/bleu_scorer.py -------------------------------------------------------------------------------- /anlg/evaluation/cider/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'tylin' 2 | -------------------------------------------------------------------------------- /anlg/evaluation/cider/cider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/anlg/evaluation/cider/cider.py -------------------------------------------------------------------------------- /anlg/evaluation/cider/cider_scorer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/anlg/evaluation/cider/cider_scorer.py -------------------------------------------------------------------------------- /anlg/evaluation/eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/anlg/evaluation/eval.py -------------------------------------------------------------------------------- /anlg/evaluation/meteor/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'tylin' 2 | -------------------------------------------------------------------------------- /anlg/evaluation/meteor/meteor-1.5.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/anlg/evaluation/meteor/meteor-1.5.jar -------------------------------------------------------------------------------- /anlg/evaluation/meteor/meteor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/anlg/evaluation/meteor/meteor.py -------------------------------------------------------------------------------- /anlg/evaluation/meteor/meteor_nltk.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/anlg/evaluation/meteor/meteor_nltk.py -------------------------------------------------------------------------------- /anlg/evaluation/rouge/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'vrama91' 2 | -------------------------------------------------------------------------------- /anlg/evaluation/rouge/rouge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/anlg/evaluation/rouge/rouge.py -------------------------------------------------------------------------------- /anlg/evaluation/turk_template/gen_eval.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/anlg/evaluation/turk_template/gen_eval.html -------------------------------------------------------------------------------- /anlg/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/anlg/models.py -------------------------------------------------------------------------------- /anlg/run_generation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/anlg/run_generation.py -------------------------------------------------------------------------------- /anlg/run_lm_finetuning.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/anlg/run_lm_finetuning.py -------------------------------------------------------------------------------- /anlg/tokenizers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/anlg/tokenizers.py -------------------------------------------------------------------------------- /anli/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/anli/README.md -------------------------------------------------------------------------------- /anli/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /anli/corpus_statistics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/anli/corpus_statistics.py -------------------------------------------------------------------------------- /anli/crowdsourcing_templates/Task1-PlausibleHypothesis.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/anli/crowdsourcing_templates/Task1-PlausibleHypothesis.html -------------------------------------------------------------------------------- /anli/crowdsourcing_templates/Task2-ImplausibleHypothesis.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/anli/crowdsourcing_templates/Task2-ImplausibleHypothesis.html -------------------------------------------------------------------------------- /anli/crowdsourcing_templates/Task3-HumanEval.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/anli/crowdsourcing_templates/Task3-HumanEval.html -------------------------------------------------------------------------------- /anli/data_processors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/anli/data_processors.py -------------------------------------------------------------------------------- /anli/demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/anli/demo.py -------------------------------------------------------------------------------- /anli/human_eval/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /anli/human_eval/compute_human_performance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/anli/human_eval/compute_human_performance.py -------------------------------------------------------------------------------- /anli/human_eval/prep_human_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/anli/human_eval/prep_human_eval.py -------------------------------------------------------------------------------- /anli/max_ctx_for_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/anli/max_ctx_for_dataset.py -------------------------------------------------------------------------------- /anli/run_anli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/anli/run_anli.py -------------------------------------------------------------------------------- /get-data.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/get-data.sh -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/requirements.txt -------------------------------------------------------------------------------- /setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/setup.sh -------------------------------------------------------------------------------- /utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /utils/file_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/utils/file_utils.py -------------------------------------------------------------------------------- /utils/jsonl_to_tsv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/abductive-commonsense-reasoning/HEAD/utils/jsonl_to_tsv.py --------------------------------------------------------------------------------