遇见数据集

DeepSeek-R1-Distill-Qwen-1.5B-pts-dpo-pairs

收藏
魔搭社区2026-06-26 更新2026-07-15 收录
官方服务:

资源简介:

# PTS DPO Dataset A Direct Preference Optimization (DPO) dataset created using the Pivotal Token Search (PTS) technique. ## Details - **Source:** Generated using the [PTS](https://github.com/codelion/pts) tool - **Model:** deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B ## Format Each example in the dataset consists of: - `prompt`: The context leading up to the pivotal token - `chosen`: The preferred token that increases success probability - `rejected`: The alternative token that decreases success probability - `metadata`: Additional information about the example ## Usage This dataset can be used for fine-tuning language models with Direct Preference Optimization (DPO). For a quick start, you can use our Google Colab notebook to fine-tune a model using this DPO dataset: [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1FggA9EQ1eFBjE0Qbsl0-EFzyWIxpdhlH?usp=sharing) ```python from datasets import load_dataset # Load the dataset from Hugging Face dataset = load_dataset("codelion/DeepSeek-R1-Distill-Qwen-1.5B-pts-dpo-pairs") # Use with your favorite DPO implementation # Example with TRL library: from trl import DPOTrainer trainer = DPOTrainer( model=model, args=training_args, beta=0.1, train_dataset=dataset, tokenizer=tokenizer, # ... other parameters ) trainer.train() ```

提供机构:
maas
创建时间:
2025-10-22
二维码
社区交流群
二维码
科研交流群
商业服务