A curated collection of ready-to-use datasets for retrieval and reranking research. Created by Abdelrahman Abdallah.
Welcome to ReRanking Datasets! This repository simplifies retrieval research by providing preprocessed datasets for commonly used retrievers. Instead of running multiple retrievers on your own, download the precomputed results directly and focus on your research!
This dataset collection includes popular question-answering datasets:
The following table provides an overview of the availability of different retrieval methods (BM25, DPR, ColBERT, ANCE, BGE, Contriever) for each dataset.
β Completed β³ Part Completed, Pending other Parts π Pending
| Dataset | BM25 | DPR | ColBERT | ANCE | BGE | Contriever |
|---|---|---|---|---|---|---|
| 2WikimultihopQA | β | π | π | π | π | π |
| ArchivialQA | β | π | π | π | π | π |
| ChroniclingAmericaQA | β | π | π | π | π | π |
| EntityQuestions | β | π | π | π | π | π |
| AmbigQA | β | π | π | π | π | π |
| ARC | β | π | π | π | π | π |
| ASQA | β | π | π | π | π | π |
| MS MARCO | π | π | π | π | π | π |
| AY2 | β | π | π | π | π | π |
| Bamboogle | β | π | π | π | π | π |
| BoolQ | β | π | π | π | π | π |
| CommonSenseQA | β | π | π | π | π | π |
| CuratedTREC | β | π | π | β³ | π | π |
| ELI5 | β | π | π | π | π | π |
| FERMI | β | π | π | β³ | π | π |
| FEVER | β | π | π | π | π | π |
| HellaSwag | β | π | π | π | π | π |
| HotpotQA | β | π | π | π | π | π |
| MMLU | β | π | π | π | π | π |
| Musique | β | π | π | π | π | π |
| NarrativeQA | β | π | π | β³ | π | π |
| NQ | β | π | π | β³ | π | π |
| OpenbookQA | β | π | π | π | π | π |
| PIQA | β | π | π | π | π | π |
| PopQA | β | π | π | β³ | π | π |
| Quartz | β | π | π | π | π | π |
| SIQA | β | π | π | π | π | π |
| StrategyQA | β | π | π | π | π | π |
| TREX | β | π | π | π | π | π |
| TriviaQA | β | π | π | β³ | π | π |
| TruthfulQA | β | π | π | π | π | π |
| TruthfulQA | β | π | π | π | π | π |
| WebQ | β | π | π | β³ | π | π |
| WikiQA | β | π | π | β³ | π | π |
| WikiAsp | β | π | π | π | π | π |
| WikiPassageQA | β | π | π | β³ | π | π |
| WNED | β | π | π | π | π | π |
| WoW | β | π | π | π | π | π |
| Zsre | β | π | π | π | π | π |
Each dataset has N different files, one for each retriever. These files are organized and ready for direct use, saving you time and computation. All passages retrieved from psgs_w100 you can download them from psgs_w100.tsv
If you require the complete dataset, including passage titles and full text, you can find it in the full collection:
π ReRanking Contexts
The datasets are provided in JSON format, structured as follows:
[
{
"question": "...",
"answers": ["...", "...", ...],
"ctxs": [
{
"id": "...", // Passage ID from database TSV file
"score": "...", // Retriever score
"has_answer": true|false // Whether the passage contains the answer
}
]
}
]
Our goal is to make this repository the go-to resource for retrieval and reranking datasets. Here's what we are currently working on:
If you have suggestions for additional datasets or retrievers you'd like to see included, feel free to reach out or contribute!
Simply visit the dataset page on HuggingFace and download the files for your desired dataset and retriever. Each file is structured to integrate seamlessly into your retrieval or reranking workflows.
from datasets import load_dataset
# Use streaming mode
dataset = load_dataset("abdoelsayed/reranking-datasets-light", data_files={"test": "bm25/nq-test.json"}, streaming=True)
# Iterate through the dataset
for entry in dataset["test"].take(10): # Process 10 entries as an example
print(entry)
We are actively expanding this repository and welcome contributions from the research community. Have a suggestion for a new dataset or retriever? Found an issue? Feel free to open an issue or reach out via Twitter.
Please kindly cite our paper if helps your research:
@article{abdallah2025rankify,
title={Rankify: A Comprehensive Python Toolkit for Retrieval, Re-Ranking, and Retrieval-Augmented Generation},
author={Abdallah, Abdelrahman and Mozafari, Jamshid and Piryani, Bhawna and Ali, Mohammed and Jatowt, Adam},
journal={arXiv preprint arXiv:2502.02464},
year={2025}
}
π Happy Researching!
54 commits
1 commits
A curated collection of ready-to-use datasets for retrieval and reranking research. Created by Abdelrahman Abdallah.
Welcome to ReRanking Datasets! This repository simplifies retrieval research by providing preprocessed datasets for commonly used retrievers. Instead of running multiple retrievers on your own, download the precomputed results directly and focus on your research!
This dataset collection includes popular question-answering datasets:
The following table provides an overview of the availability of different retrieval methods (BM25, DPR, ColBERT, ANCE, BGE, Contriever) for each dataset.
β Completed β³ Part Completed, Pending other Parts π Pending
| Dataset | BM25 | DPR | ColBERT | ANCE | BGE | Contriever |
|---|---|---|---|---|---|---|
| 2WikimultihopQA | β | π | π | π | π | π |
| ArchivialQA | β | π | π | π | π | π |
| ChroniclingAmericaQA | β | π | π | π | π | π |
| EntityQuestions | β | π | π | π | π | π |
| AmbigQA | β | π | π | π | π | π |
| ARC | β | π | π | π | π | π |
| ASQA | β | π | π | π | π | π |
| MS MARCO | π | π | π | π | π | π |
| AY2 | β | π | π | π | π | π |
| Bamboogle | β | π | π | π | π | π |
| BoolQ | β | π | π | π | π | π |
| CommonSenseQA | β | π | π | π | π | π |
| CuratedTREC | β | π | π | β³ | π | π |
| ELI5 | β | π | π | π | π | π |
| FERMI | β | π | π | β³ | π | π |
| FEVER | β | π | π | π | π | π |
| HellaSwag | β | π | π | π | π | π |
| HotpotQA | β | π | π | π | π | π |
| MMLU | β | π | π | π | π | π |
| Musique | β | π | π | π | π | π |
| NarrativeQA | β | π | π | β³ | π | π |
| NQ | β | π | π | β³ | π | π |
| OpenbookQA | β | π | π | π | π | π |
| PIQA | β | π | π | π | π | π |
| PopQA | β | π | π | β³ | π | π |
| Quartz | β | π | π | π | π | π |
| SIQA | β | π | π | π | π | π |
| StrategyQA | β | π | π | π | π | π |
| TREX | β | π | π | π | π | π |
| TriviaQA | β | π | π | β³ | π | π |
| TruthfulQA | β | π | π | π | π | π |
| TruthfulQA | β | π | π | π | π | π |
| WebQ | β | π | π | β³ | π | π |
| WikiQA | β | π | π | β³ | π | π |
| WikiAsp | β | π | π | π | π | π |
| WikiPassageQA | β | π | π | β³ | π | π |
| WNED | β | π | π | π | π | π |
| WoW | β | π | π | π | π | π |
| Zsre | β | π | π | π | π | π |
Each dataset has N different files, one for each retriever. These files are organized and ready for direct use, saving you time and computation. All passages retrieved from psgs_w100 you can download them from psgs_w100.tsv
If you require the complete dataset, including passage titles and full text, you can find it in the full collection:
π ReRanking Contexts
The datasets are provided in JSON format, structured as follows:
[
{
"question": "...",
"answers": ["...", "...", ...],
"ctxs": [
{
"id": "...", // Passage ID from database TSV file
"score": "...", // Retriever score
"has_answer": true|false // Whether the passage contains the answer
}
]
}
]
Our goal is to make this repository the go-to resource for retrieval and reranking datasets. Here's what we are currently working on:
If you have suggestions for additional datasets or retrievers you'd like to see included, feel free to reach out or contribute!
Simply visit the dataset page on HuggingFace and download the files for your desired dataset and retriever. Each file is structured to integrate seamlessly into your retrieval or reranking workflows.
from datasets import load_dataset
# Use streaming mode
dataset = load_dataset("abdoelsayed/reranking-datasets-light", data_files={"test": "bm25/nq-test.json"}, streaming=True)
# Iterate through the dataset
for entry in dataset["test"].take(10): # Process 10 entries as an example
print(entry)
We are actively expanding this repository and welcome contributions from the research community. Have a suggestion for a new dataset or retriever? Found an issue? Feel free to open an issue or reach out via Twitter.
Please kindly cite our paper if helps your research:
@article{abdallah2025rankify,
title={Rankify: A Comprehensive Python Toolkit for Retrieval, Re-Ranking, and Retrieval-Augmented Generation},
author={Abdallah, Abdelrahman and Mozafari, Jamshid and Piryani, Bhawna and Ali, Mohammed and Jatowt, Adam},
journal={arXiv preprint arXiv:2502.02464},
year={2025}
}
π Happy Researching!
54 commits
1 commits