Files
ModelHub XC 80e5a2db8c 初始化项目,由ModelHub XC社区提供模型
Model: yunconglong/7Bx4_DPO_2e
Source: Original Platform
2026-11-17 05:11:18 +08:00

16 lines
407 B
Markdown

---
license: mit
---
* [DPO Trainer](https://huggingface.co/docs/trl/main/en/dpo_trainer) with dataset jondurbin/truthy-dpo-v0.1
```
DPO Trainer
TRL supports the DPO Trainer for training language models from preference data, as described in the paper Direct Preference Optimization: Your Language Model is Secretly a Reward Model by Rafailov et al., 2023.
```
```
"num_experts_per_tok": 2
```