Skip to content

Dataset · selfrag

Self-RAG training data with reflection tokens

selfrag/selfrag_train_data

150K instruction-response pairs with passages and reflection tokens for adaptive retrieval.

What's inside

Self-RAG training data: 150k diverse instruction-response pairs with inserted passages and reflection tokens. The model learns to generate responses, invoke the retrieval system, and critique its own output and retrieved snippets; training uses standard next-token prediction.

What you can do with it

  • Training Self-RAG or LoRA for RAG
  • Training a model with adaptive retrieval
  • Evaluating reflection tokens and retrieval decisions
Tasks
Text generation
Languages
English
Size
100K–1M rows
Downloads this month
185
Likes
77

Models trained on it

How to load it

from datasets import load_dataset

ds = load_dataset("selfrag/selfrag_train_data")