Add dataset card
Browse files
README.md
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pretty_name: RAGCompass
|
| 3 |
+
license: other
|
| 4 |
+
license_name: mixed
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
task_categories:
|
| 8 |
+
- question-answering
|
| 9 |
+
- text-retrieval
|
| 10 |
+
tags:
|
| 11 |
+
- retrieval-augmented-generation
|
| 12 |
+
- retriever-routing
|
| 13 |
+
- multi-hop-qa
|
| 14 |
+
size_categories:
|
| 15 |
+
- 100K<n<1M
|
| 16 |
+
configs:
|
| 17 |
+
- config_name: default
|
| 18 |
+
data_files: "Llama-3.1-8B-Instruct_Qwen3-Embedding-0.6B/*/*.jsonl"
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
# RAGCompass data
|
| 22 |
+
|
| 23 |
+
Per-retriever results and passage corpora for the paper *RAGCompass: Generalizable Retriever Routing via Reranking*. Code: [github.com/Graph-COM/RAGCompass](https://github.com/Graph-COM/RAGCompass).
|
| 24 |
+
|
| 25 |
+
For every query, each of five retrievers returned its top-5 passages, and a fixed reader (`meta-llama/Llama-3.1-8B-Instruct`) answered from them. The F1 of that answer is the utility a retriever router is trained to predict. The data covers 4 datasets x 3 splits x 5 retrievers x 5,000 queries, plus the passage corpus of every split, so routing methods can be trained and evaluated without rerunning retrieval or the reader.
|
| 26 |
+
|
| 27 |
+
## Download
|
| 28 |
+
|
| 29 |
+
From the root of a clone of the code repository:
|
| 30 |
+
|
| 31 |
+
```bash
|
| 32 |
+
hf download Graph-COM/RAGCompass --repo-type dataset --local-dir . \
|
| 33 |
+
--include "dataset/*" "Llama-3.1-8B-Instruct_Qwen3-Embedding-0.6B/*"
|
| 34 |
+
```
|
| 35 |
+
|
| 36 |
+
## Layout
|
| 37 |
+
|
| 38 |
+
```
|
| 39 |
+
Llama-3.1-8B-Instruct_Qwen3-Embedding-0.6B/
|
| 40 |
+
<dataset>_train/<retriever>.jsonl
|
| 41 |
+
<dataset>_val/<retriever>.jsonl
|
| 42 |
+
<dataset>/<retriever>.jsonl # test split
|
| 43 |
+
dataset/
|
| 44 |
+
<dataset>[_train|_val]_corpus.json # list of {"title", "text"}
|
| 45 |
+
```
|
| 46 |
+
|
| 47 |
+
`<dataset>` is one of `nq`, `musique`, `hotpotqa`, `2wikimultihopqa`. `<retriever>` is one of `rag_1_step` (dense, Qwen3-Embedding-0.6B), `bm25_1_step`, `splade_v3_1_step`, `colbertv2_1_step` or `hipporag2-0.5_1_step` (HippoRAG 2). Every JSONL file has 5,000 rows, one per query, and the five files of a split hold the same queries.
|
| 48 |
+
|
| 49 |
+
| field | meaning |
|
| 50 |
+
|---|---|
|
| 51 |
+
| `id`, `question`, `answers` | query id, text, gold answers |
|
| 52 |
+
| `top_k_indices`, `top_k_scores` | the retriever's top-5 passages (indices into the split's corpus) and their scores |
|
| 53 |
+
| `pred_ans`, `raw_response` | the reader's extracted answer and full response |
|
| 54 |
+
| `f1` | F1 of `pred_ans` against `answers` |
|
| 55 |
+
| `recall`, `ndcg`, `gold_doc_list` | retrieval quality against the gold passages |
|
| 56 |
+
| `latency` | seconds for retrieval plus generation |
|
| 57 |
+
|
| 58 |
+
Corpus sizes (passages):
|
| 59 |
+
|
| 60 |
+
| dataset | train | val | test |
|
| 61 |
+
|---|---|---|---|
|
| 62 |
+
| nq | 19,384 | 19,510 | 19,453 |
|
| 63 |
+
| musique | 45,240 | 45,195 | 48,236 |
|
| 64 |
+
| hotpotqa | 46,077 | 46,074 | 46,353 |
|
| 65 |
+
| 2wikimultihopqa | 25,217 | 24,993 | 26,424 |
|
| 66 |
+
|
| 67 |
+
The questions and corpora follow the [HippoRAG 2 release](https://huggingface.co/datasets/osunlp/HippoRAG_2).
|
| 68 |
+
|
| 69 |
+
## License
|
| 70 |
+
|
| 71 |
+
The data is derived from Natural Questions (CC BY-SA 3.0), HotpotQA (CC BY-SA 4.0), MuSiQue (CC BY 4.0) and 2WikiMultihopQA (Apache 2.0), with passages taken from Wikipedia (CC BY-SA). Each part is redistributed under the license of the dataset it comes from. The reader outputs were generated with Llama 3.1 and are subject to the [Llama 3.1 Community License](https://www.llama.com/llama3_1/license/).
|
| 72 |
+
|
| 73 |
+
## Citation
|
| 74 |
+
|
| 75 |
+
```bibtex
|
| 76 |
+
@misc{six2026ragcompass,
|
| 77 |
+
title = {RAGCompass: Generalizable Retriever Routing via Reranking},
|
| 78 |
+
author = {Six, Valentin and Li, Mufei and Fu, Dongqi and Xia, Yinglong and Li, Hong and Li, Pan},
|
| 79 |
+
year = {2026},
|
| 80 |
+
note = {Preprint}
|
| 81 |
+
}
|
| 82 |
+
```
|