The Dataset Viewer has been disabled on this dataset.

RAG Assignment Data

Data for the RAG assignment (open-domain QA on Natural Questions). A reduced Wikipedia corpus, QA sets, and a prebuilt BM25 baseline index.

  • v2 (current): BM25 index only.
  • v1: also includes a dense index (index/dense/, FAISS + all-MiniLM-L6-v2).

Files

File Rows Format
corpus.jsonl 1,087,303 {"pid", "title", "text"}
dev_qa.jsonl 1,000 {"qid", "question", "answers"}
train_qa.jsonl 58,880 {"qid", "question", "answers"}
train_qrels.jsonl 58,880 {"qid", "gold", "weak_pos", "hard_neg"} (lists of pid)
index/lexical/ bm25s==0.3.16 (k1=1.5, b=0.75)
metainfo.txt dataset sizes

See the assignment PDF for details.

Download

from huggingface_hub import snapshot_download
snapshot_download("NLPlab-skku/RAG-assignment", repo_type="dataset",
                  revision="v2", local_dir="data")

Source & License

  • Passages: DPR Wikipedia split (psgs_w100, Dec. 2018 dump), Karpukhin et al., 2020
  • Questions/answers: Natural Questions (Kwiatkowski et al., 2019), DPR biencoder-nq splits
  • Both are licensed under CC BY-SA 3.0; this derived dataset is released under the same license.
Downloads last month
240

Models trained or fine-tuned on NLPlab-skku/RAG-assignment