CoolFace
Datasetpublic

f20180301/loft-rag-musique-128k

LOFT RAG - MuSiQue (128k) Dataset Description This dataset is part of the LOFT (Long-context Open Foundation Tasks) benchmark, specifically the RAG (Retrieval-Augmented Generation) task. Dataset: MuSiQue Context Length: 128k Task Type: RAG (Retrieval-Augmented Generation) Language: English Source: LOFT Benchmark (Google DeepMind) Dataset Structure Data Fields context (string): Full prompt context including corpus documents and… See the full description on the dataset page: https://huggingface.co/datasets/f20180301/loft-rag-musique-128k.

sourceHugging Faceapache-2.0updated 10mo agoView on Hugging Face
0likes54downloads
Dataset Card

LOFT RAG - MuSiQue (128k)

Dataset Description

This dataset is part of the LOFT (Long-context Open Foundation Tasks) benchmark, specifically the RAG (Retrieval-Augmented Generation) task.

  • —Dataset: MuSiQue
  • —Context Length: 128k
  • —Task Type: RAG (Retrieval-Augmented Generation)
  • —Language: English
  • —Source: LOFT Benchmark (Google DeepMind)

Dataset Structure

Data Fields

  • —context (string): Full prompt context including corpus documents and few-shot examples
  • —question (string): Query separator + query format + query text
  • —answer_prefix (string): Prefix for answer generation ("Final Answer: ")
  • —answers (list[string]): Ground truth answers
  • —task (string): Task identifier (e.g., "musique_128k")
  • —max_new_tokens (int64): Maximum tokens for generation (256)

Data Splits

  • —dev: Development set (10 examples)
  • —test: Test set (100 examples)

Usage

python
from datasets import load_dataset

# Load the dataset
dataset = load_dataset("loft-rag-musique-128k")

# Access splits
dev_data = dataset["dev"]
df_dev = dev_data.to_pandas()
test_data = dataset["test"]
df_test = test_data.to_pandas()

# Example usage
sample = dataset["dev"][0] if "dev" in dataset else dataset["test"][0]
context = sample["context"]
question = sample["question"]
answers = sample["answers"]

Dataset Creation

This dataset was converted from LOFT's original format to HuggingFace format using exact LOFT prompt construction to ensure 100% fidelity.

  • —Prompt Construction: Uses LOFT's PromptRegistry and concatenate_chunks() for exact prompt matching
  • —Few-shot Examples: Preserved exactly as in LOFT (5 examples)
  • —Corpus Documents: Full corpus included in context (corpus-in-context approach)
  • —Verification: All prompts verified to match LOFT originals exactly

Related Datasets

All LOFT RAG datasets are available under the loft-rag-* namespace:

Citation

bibtex
@article{{loft2024,
  title={{LOFT: Long-context Open Foundation Tasks}},
  author={{Google DeepMind}},
  year={{2024}},
  url={{https://github.com/google-deepmind/loft}}
}}

License

Apache 2.0