Dataset · jondurbin
DPO dataset for improving Python code generation
jondurbin/py-dpo-v0.1
1 to 10 thousand preference pairs for aligning language models in Python programming tasks.
What's inside
A text dataset of 1 to 10 thousand examples for training via DPO (Direct Preference Optimization) in Python. Verified solutions from the Tested-22k-Python-Alpaca dataset are used as chosen responses, while rejected variants are generated using airoboros-l2-13b-3.1 and bagel-7b-v0.1 models.
What you can do with it
- DPO training of language models to improve Python code quality
- Training reward models for evaluating source code
- Fine-tuning compact LoRA adapters for coding assistants
- Languages
- Code
- Size
- 1K–10K rows
- Downloads this month
- 479
- Likes
- 57
Models trained on it
- jondurbin/bagel-dpo-34b-v0.5Text generation 9.2K
- jondurbin/bagel-8b-v1.0Text generation 9.2K
- jondurbin/airoboros-dpo-70b-3.3Text generation 9.1K
- mradermacher/bagel-dpo-34b-v0.5-i1-GGUF 2.5K
- mradermacher/bagel-34b-v0.5-i1-GGUF 2.3K
- mradermacher/bagel-dpo-20b-v04-GGUF 1.3K
- mradermacher/bagel-dpo-20b-v04-i1-GGUF 1.2K
- mradermacher/bagel-34b-v0.5-GGUF 1.1K
How to load it
from datasets import load_dataset
ds = load_dataset("jondurbin/py-dpo-v0.1")