jhu-clsp/rank1-R1-MSMARCO

Dataset

3

stars

7

commits

1

linked in READMEs

Feb 26, 2025

updated

information-retrieval
rank1
reasoning
reranker
retrieval

README

rank1-R1-MSMARCO: Reasoning Outputs from MS MARCO Dataset

πŸ“„ Paper | πŸš€ GitHub Repository

This dataset contains outputs from Deepseek's R1 model on the MS MARCO passage dataset, used to train rank1. It showcases the reasoning chains and relevance judgments generated when determining document relevance for information retrieval queries.

Dataset Description

The rank1-R1-MSMARCO dataset consists of reasoning chains and relevance judgments produced on the MS MARCO passage dataset. The dataset includes:

  1. Queries from MS MARCO
  2. Passages/documents from MS MARCO
  3. Reasoning outputs in two formats:
    • Raw reasoning outputs (r1_output)
    • Cleaned reasoning outputs (clean_r1_output)
  4. Binary relevance judgments (true or false)

Dataset Structure

Based on the screenshot, the dataset includes the following columns:

ColumnDescription
idUnique identifier for each sample (string, varying lengths)
queryThe original search query (string, varying lengths)
query_idMS MARCO query identifier (string)
doc_idMS MARCO document/passage identifier (string)
textThe document/passage text being assessed for relevance
titleTitle of the document (e.g., "Tetanus", "Rosetta Stone")
r1_outputThe raw reasoning chain generated by R1, with <think> tags and some extra newlines
clean_r1_outputCleaned version of the reasoning chain, also with <think> tags
answerBinary relevance judgment (true or false)

The dataset contains 635k rows in the training split.

Associated Models and Resources

ResourceDescription
rank1-7bBase rank1 model (7B parameters)
rank1-14bLarger rank1 variant (14B parameters)
rank1-32bLargest rank1 variant (32B parameters)
rank1-mistral-2501-24bMistral-based rank1 variant (24B parameters)
rank1-llama3-8bLlama 3.1-based rank1 variant (8B parameters)
rank1-training-dataTraining data used for rank1 models
rank1-run-filesPre-computed run files for top-100 doc reranking

Usage Examples

Loading and Exploring the Dataset

from datasets import load_dataset

# Load the dataset
dataset = load_dataset("jhu-clsp/rank1-r1-msmarco")

# Access the train split
train_data = dataset["train"]

# Examine sample entries
for i in range(3):
    sample = train_data[i]
    print(f"Query: {sample['query']}")
    print(f"Document text: {sample['text'][:100]}...")
    print(f"Reasoning: {sample['r1_output'][:100]}...")
    print(f"Relevance judgment: {sample['answer']}")
    print("---")

# Filter for specific query types
health_queries = [item for item in train_data if "symptoms" in item["query"].lower()]

Citation

If you use this dataset in your research, please cite:

@misc{weller2025rank1testtimecomputereranking,
      title={Rank1: Test-Time Compute for Reranking in Information Retrieval}, 
      author={Orion Weller and Kathryn Ricci and Eugene Yang and Andrew Yates and Dawn Lawrie and Benjamin Van Durme},
      year={2025},
      eprint={2502.18418},
      archivePrefix={arXiv},
      primaryClass={cs.IR},
      url={https://arxiv.org/abs/2502.18418}, 
}

License

MIT License

Contributors

OW
oweller2

4 commits

orionweller

3 commits

jhu-clsp/rank1-R1-MSMARCO

Dataset

3

stars

7

commits

1

linked in READMEs

Feb 26, 2025

updated

information-retrieval
rank1
reasoning
reranker
retrieval

README

rank1-R1-MSMARCO: Reasoning Outputs from MS MARCO Dataset

πŸ“„ Paper | πŸš€ GitHub Repository

This dataset contains outputs from Deepseek's R1 model on the MS MARCO passage dataset, used to train rank1. It showcases the reasoning chains and relevance judgments generated when determining document relevance for information retrieval queries.

Dataset Description

The rank1-R1-MSMARCO dataset consists of reasoning chains and relevance judgments produced on the MS MARCO passage dataset. The dataset includes:

  1. Queries from MS MARCO
  2. Passages/documents from MS MARCO
  3. Reasoning outputs in two formats:
    • Raw reasoning outputs (r1_output)
    • Cleaned reasoning outputs (clean_r1_output)
  4. Binary relevance judgments (true or false)

Dataset Structure

Based on the screenshot, the dataset includes the following columns:

ColumnDescription
idUnique identifier for each sample (string, varying lengths)
queryThe original search query (string, varying lengths)
query_idMS MARCO query identifier (string)
doc_idMS MARCO document/passage identifier (string)
textThe document/passage text being assessed for relevance
titleTitle of the document (e.g., "Tetanus", "Rosetta Stone")
r1_outputThe raw reasoning chain generated by R1, with <think> tags and some extra newlines
clean_r1_outputCleaned version of the reasoning chain, also with <think> tags
answerBinary relevance judgment (true or false)

The dataset contains 635k rows in the training split.

Associated Models and Resources

ResourceDescription
rank1-7bBase rank1 model (7B parameters)
rank1-14bLarger rank1 variant (14B parameters)
rank1-32bLargest rank1 variant (32B parameters)
rank1-mistral-2501-24bMistral-based rank1 variant (24B parameters)
rank1-llama3-8bLlama 3.1-based rank1 variant (8B parameters)
rank1-training-dataTraining data used for rank1 models
rank1-run-filesPre-computed run files for top-100 doc reranking

Usage Examples

Loading and Exploring the Dataset

from datasets import load_dataset

# Load the dataset
dataset = load_dataset("jhu-clsp/rank1-r1-msmarco")

# Access the train split
train_data = dataset["train"]

# Examine sample entries
for i in range(3):
    sample = train_data[i]
    print(f"Query: {sample['query']}")
    print(f"Document text: {sample['text'][:100]}...")
    print(f"Reasoning: {sample['r1_output'][:100]}...")
    print(f"Relevance judgment: {sample['answer']}")
    print("---")

# Filter for specific query types
health_queries = [item for item in train_data if "symptoms" in item["query"].lower()]

Citation

If you use this dataset in your research, please cite:

@misc{weller2025rank1testtimecomputereranking,
      title={Rank1: Test-Time Compute for Reranking in Information Retrieval}, 
      author={Orion Weller and Kathryn Ricci and Eugene Yang and Andrew Yates and Dawn Lawrie and Benjamin Van Durme},
      year={2025},
      eprint={2502.18418},
      archivePrefix={arXiv},
      primaryClass={cs.IR},
      url={https://arxiv.org/abs/2502.18418}, 
}

License

MIT License

Contributors

OW
oweller2

4 commits

orionweller

3 commits