├── LICENSE ├── README.md ├── bm25_retrieval_server ├── README.md ├── requirements.txt └── run_serini.py ├── environment.yml ├── recite ├── .gitignore ├── codex_experiments │ ├── evaluation.py │ ├── run_hotpot_qa.py │ ├── run_natural_questions.py │ ├── run_trivia_qa.py │ └── utils.py └── tasks_and_mixtures │ ├── few_shot_hotpot_qa_tasks.py │ ├── few_shot_nq_tasks.py │ ├── few_shot_trivia_qa_tasks.py │ ├── gpt2_vocab.py │ ├── nq_section_chain_utils.py │ ├── preprocessors.py │ ├── prompts.py │ ├── prompts_for_hotpot_qa.py │ └── prompts_for_trivia_qa.py └── recite_illustration.png /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Edward-Sun/RECITE/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Edward-Sun/RECITE/HEAD/README.md -------------------------------------------------------------------------------- /bm25_retrieval_server/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Edward-Sun/RECITE/HEAD/bm25_retrieval_server/README.md -------------------------------------------------------------------------------- /bm25_retrieval_server/requirements.txt: -------------------------------------------------------------------------------- 1 | pyserini>=0.19 2 | flask>=2.0.1 3 | -------------------------------------------------------------------------------- /bm25_retrieval_server/run_serini.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Edward-Sun/RECITE/HEAD/bm25_retrieval_server/run_serini.py -------------------------------------------------------------------------------- /environment.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Edward-Sun/RECITE/HEAD/environment.yml -------------------------------------------------------------------------------- /recite/.gitignore: -------------------------------------------------------------------------------- 1 | scripts -------------------------------------------------------------------------------- /recite/codex_experiments/evaluation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Edward-Sun/RECITE/HEAD/recite/codex_experiments/evaluation.py -------------------------------------------------------------------------------- /recite/codex_experiments/run_hotpot_qa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Edward-Sun/RECITE/HEAD/recite/codex_experiments/run_hotpot_qa.py -------------------------------------------------------------------------------- /recite/codex_experiments/run_natural_questions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Edward-Sun/RECITE/HEAD/recite/codex_experiments/run_natural_questions.py -------------------------------------------------------------------------------- /recite/codex_experiments/run_trivia_qa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Edward-Sun/RECITE/HEAD/recite/codex_experiments/run_trivia_qa.py -------------------------------------------------------------------------------- /recite/codex_experiments/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Edward-Sun/RECITE/HEAD/recite/codex_experiments/utils.py -------------------------------------------------------------------------------- /recite/tasks_and_mixtures/few_shot_hotpot_qa_tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Edward-Sun/RECITE/HEAD/recite/tasks_and_mixtures/few_shot_hotpot_qa_tasks.py -------------------------------------------------------------------------------- /recite/tasks_and_mixtures/few_shot_nq_tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Edward-Sun/RECITE/HEAD/recite/tasks_and_mixtures/few_shot_nq_tasks.py -------------------------------------------------------------------------------- /recite/tasks_and_mixtures/few_shot_trivia_qa_tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Edward-Sun/RECITE/HEAD/recite/tasks_and_mixtures/few_shot_trivia_qa_tasks.py -------------------------------------------------------------------------------- /recite/tasks_and_mixtures/gpt2_vocab.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Edward-Sun/RECITE/HEAD/recite/tasks_and_mixtures/gpt2_vocab.py -------------------------------------------------------------------------------- /recite/tasks_and_mixtures/nq_section_chain_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Edward-Sun/RECITE/HEAD/recite/tasks_and_mixtures/nq_section_chain_utils.py -------------------------------------------------------------------------------- /recite/tasks_and_mixtures/preprocessors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Edward-Sun/RECITE/HEAD/recite/tasks_and_mixtures/preprocessors.py -------------------------------------------------------------------------------- /recite/tasks_and_mixtures/prompts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Edward-Sun/RECITE/HEAD/recite/tasks_and_mixtures/prompts.py -------------------------------------------------------------------------------- /recite/tasks_and_mixtures/prompts_for_hotpot_qa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Edward-Sun/RECITE/HEAD/recite/tasks_and_mixtures/prompts_for_hotpot_qa.py -------------------------------------------------------------------------------- /recite/tasks_and_mixtures/prompts_for_trivia_qa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Edward-Sun/RECITE/HEAD/recite/tasks_and_mixtures/prompts_for_trivia_qa.py -------------------------------------------------------------------------------- /recite_illustration.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Edward-Sun/RECITE/HEAD/recite_illustration.png --------------------------------------------------------------------------------