Dataset Viewer
Auto-converted to Parquet Duplicate
context
stringclasses
1 value
question
stringlengths
215
310
answer_prefix
stringclasses
1 value
answers
listlengths
1
3
task
stringclasses
1 value
max_new_tokens
int64
256
256
"You will be given a list of documents. You need to read carefully and understand all of them. Then (...TRUNCATED)
"====== Now let's start! ======\nBased on the documents above, can you answer the following query? P(...TRUNCATED)
Final Answer:
[ "A Case of Need" ]
quest_128k
256
"You will be given a list of documents. You need to read carefully and understand all of them. Then (...TRUNCATED)
"====== Now let's start! ======\nBased on the documents above, can you answer the following query? P(...TRUNCATED)
Final Answer:
[ "Five Point Someone", "One Night @ the Call Center", "The 3 Mistakes of My Life" ]
quest_128k
256
"You will be given a list of documents. You need to read carefully and understand all of them. Then (...TRUNCATED)
"====== Now let's start! ======\nBased on the documents above, can you answer the following query? P(...TRUNCATED)
Final Answer:
[ "Duel with Death", "Fly Away Home (2016 film)", "Sunshine (1999 film)" ]
quest_128k
256
"You will be given a list of documents. You need to read carefully and understand all of them. Then (...TRUNCATED)
"====== Now let's start! ======\nBased on the documents above, can you answer the following query? P(...TRUNCATED)
Final Answer:
[ "Moomins and the Comet Chase", "Quest for a Heart", "Santa Claus and the Magic Drum" ]
quest_128k
256
"You will be given a list of documents. You need to read carefully and understand all of them. Then (...TRUNCATED)
"====== Now let's start! ======\nBased on the documents above, can you answer the following query? P(...TRUNCATED)
Final Answer:
[ "At Night We Walk in Circles", "La reina de América", "Lost City Radio" ]
quest_128k
256
"You will be given a list of documents. You need to read carefully and understand all of them. Then (...TRUNCATED)
"====== Now let's start! ======\nBased on the documents above, can you answer the following query? P(...TRUNCATED)
Final Answer:
[ "One Way Trip 3D" ]
quest_128k
256
"You will be given a list of documents. You need to read carefully and understand all of them. Then (...TRUNCATED)
"====== Now let's start! ======\nBased on the documents above, can you answer the following query? P(...TRUNCATED)
Final Answer:
["Lego Scooby-Doo! Blowout Beach Bash","Scooby-Doo! and the Curse of the 13th Ghost","The Magic Snow(...TRUNCATED)
quest_128k
256
"You will be given a list of documents. You need to read carefully and understand all of them. Then (...TRUNCATED)
"====== Now let's start! ======\nBased on the documents above, can you answer the following query? P(...TRUNCATED)
Final Answer:
[ "Firecrest (novel)", "Lament for Leto" ]
quest_128k
256
"You will be given a list of documents. You need to read carefully and understand all of them. Then (...TRUNCATED)
"====== Now let's start! ======\nBased on the documents above, can you answer the following query? P(...TRUNCATED)
Final Answer:
[ "Crisis of Conscience" ]
quest_128k
256
"You will be given a list of documents. You need to read carefully and understand all of them. Then (...TRUNCATED)
"====== Now let's start! ======\nBased on the documents above, can you answer the following query? P(...TRUNCATED)
Final Answer:
["Demi-Gods and Semi-Devils","The Adventures of Peregrine Pickle","The History of Sir Charles Grandi(...TRUNCATED)
quest_128k
256
End of preview. Expand in Data Studio

LOFT RAG - Quest (128k)

Dataset Description

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

  • Dataset: Quest
  • 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., "quest_128k")
  • max_new_tokens (int64): Maximum tokens for generation (256)

Data Splits

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

Usage

from datasets import load_dataset

# Load the dataset
dataset = load_dataset("loft-rag-quest-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

@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

Downloads last month
31