├── .gitignore ├── .gitmodules ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE.md ├── README.md ├── conf ├── classify.yaml ├── closed.yaml ├── generate.yaml ├── gold.yaml ├── open.yaml └── static.yaml ├── data ├── .gitkeep ├── closed │ └── sanity_check.py ├── gold │ └── sanity_check.py └── open │ └── sanity_check.py ├── data_held_out └── sanity_check.py ├── dataset_construction ├── 01 - construct_data.ipynb ├── 02 - map_splits.ipynb ├── 03 - retrieve_evidence.ipynb ├── bm25_search.py ├── db_utils.py ├── dpr_retrieve.py ├── dpr_retrieve_open.py ├── evidence │ ├── closed │ │ └── .gitkeep │ ├── gold │ │ └── .gitkeep │ └── open │ │ └── .gitkeep ├── requirements.txt └── stop_words.py ├── evaluation.py ├── model ├── __init__.py ├── binary.py ├── binary_dpr.py ├── binary_dpr_nl.py ├── binary_gold_sent.py ├── binary_gold_sent_nl.py ├── binary_nl.py ├── seq2seq.py ├── seq2seq_dpr.py ├── seq2seq_dpr_nl.py └── seq2seq_nl.py ├── predict.py ├── print_results.py ├── requirements.txt ├── run_pred_all_baseline.py ├── submissions.md └── train_baselines.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/.gitmodules -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/README.md -------------------------------------------------------------------------------- /conf/classify.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/conf/classify.yaml -------------------------------------------------------------------------------- /conf/closed.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/conf/closed.yaml -------------------------------------------------------------------------------- /conf/generate.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/conf/generate.yaml -------------------------------------------------------------------------------- /conf/gold.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/conf/gold.yaml -------------------------------------------------------------------------------- /conf/open.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/conf/open.yaml -------------------------------------------------------------------------------- /conf/static.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/conf/static.yaml -------------------------------------------------------------------------------- /data/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/closed/sanity_check.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/data/closed/sanity_check.py -------------------------------------------------------------------------------- /data/gold/sanity_check.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/data/gold/sanity_check.py -------------------------------------------------------------------------------- /data/open/sanity_check.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/data/open/sanity_check.py -------------------------------------------------------------------------------- /data_held_out/sanity_check.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/data_held_out/sanity_check.py -------------------------------------------------------------------------------- /dataset_construction/01 - construct_data.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/dataset_construction/01 - construct_data.ipynb -------------------------------------------------------------------------------- /dataset_construction/02 - map_splits.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/dataset_construction/02 - map_splits.ipynb -------------------------------------------------------------------------------- /dataset_construction/03 - retrieve_evidence.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/dataset_construction/03 - retrieve_evidence.ipynb -------------------------------------------------------------------------------- /dataset_construction/bm25_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/dataset_construction/bm25_search.py -------------------------------------------------------------------------------- /dataset_construction/db_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/dataset_construction/db_utils.py -------------------------------------------------------------------------------- /dataset_construction/dpr_retrieve.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/dataset_construction/dpr_retrieve.py -------------------------------------------------------------------------------- /dataset_construction/dpr_retrieve_open.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/dataset_construction/dpr_retrieve_open.py -------------------------------------------------------------------------------- /dataset_construction/evidence/closed/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dataset_construction/evidence/gold/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dataset_construction/evidence/open/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dataset_construction/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/dataset_construction/requirements.txt -------------------------------------------------------------------------------- /dataset_construction/stop_words.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/dataset_construction/stop_words.py -------------------------------------------------------------------------------- /evaluation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/evaluation.py -------------------------------------------------------------------------------- /model/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/model/__init__.py -------------------------------------------------------------------------------- /model/binary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/model/binary.py -------------------------------------------------------------------------------- /model/binary_dpr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/model/binary_dpr.py -------------------------------------------------------------------------------- /model/binary_dpr_nl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/model/binary_dpr_nl.py -------------------------------------------------------------------------------- /model/binary_gold_sent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/model/binary_gold_sent.py -------------------------------------------------------------------------------- /model/binary_gold_sent_nl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/model/binary_gold_sent_nl.py -------------------------------------------------------------------------------- /model/binary_nl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/model/binary_nl.py -------------------------------------------------------------------------------- /model/seq2seq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/model/seq2seq.py -------------------------------------------------------------------------------- /model/seq2seq_dpr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/model/seq2seq_dpr.py -------------------------------------------------------------------------------- /model/seq2seq_dpr_nl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/model/seq2seq_dpr_nl.py -------------------------------------------------------------------------------- /model/seq2seq_nl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/model/seq2seq_nl.py -------------------------------------------------------------------------------- /predict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/predict.py -------------------------------------------------------------------------------- /print_results.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/print_results.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | wrangl 2 | hydra-core 3 | torch 4 | ujson 5 | -------------------------------------------------------------------------------- /run_pred_all_baseline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/run_pred_all_baseline.py -------------------------------------------------------------------------------- /submissions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/submissions.md -------------------------------------------------------------------------------- /train_baselines.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/romqa/HEAD/train_baselines.py --------------------------------------------------------------------------------