Skip to content

Dataset · jondurbin

DPO pairs for precise context answers and RAG

jondurbin/contextual-dpo-v0.1

A text dataset for training models to answer strictly based on given context and reduce hallucinations.

What's inside

Contains text preference pairs (chosen and rejected) in the format of airoboros contextual questions and answers, totaling between 1 and 10k records. Reference answers were generated using airoboros, while rejected ones were generated by mpt-30b-instruct. The data helps teach the neural network to rely exclusively on the provided text, including counterfactual scenarios.

What you can do with it

  • DPO alignment of LLMs for RAG systems
  • Reducing hallucinations when working with documents
  • Training for strict adherence to system context
Size
1K–10K rows
Downloads this month
117
Likes
34

Models trained on it

How to load it

from datasets import load_dataset

ds = load_dataset("jondurbin/contextual-dpo-v0.1")