Skip to content

www-Ye/LLM2GR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generative Retrieval with Large Language Models

Code implementation of the paper [Generative Retrieval with Large Language Models].

Prerequisites

  • Install or clone the KILT repository.
  • Install SEAL.

Dataset Download

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.

Generating Retrieval Documents

Step 1: Download the Official KILT Splits

Step 2: Reconstruct Documents from Segmented Paragraphs

  • Run the passage2doc.sh script:
    ./passage2doc.sh

Step 3: Build Index

  • Run the build_index.sh script:
    ./build_index.sh

Running Generative Retrieval

  • Execute the run.sh script to perform generative retrieval:
    ./run.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published