Code implementation of the paper Generative Retrieval with Large Language Models.
Download the validation sets of the following datasets from the KILT repository:
- NQ
- HotpotQA
- TriviaQA
- ELI5
- FEVER
- WoW
Follow the instructions in the KILT repository for downloading the specific validation sets.
- Download kilt_w100_title.tsv and mapping_KILT_title.p.
- Run the
passage2doc.sh
script:./passage2doc.sh
- Run the
build_index.sh
script:./build_index.sh
- Execute the
run.sh
script to perform generative retrieval:./run.sh