Training data
The model was trained on 10,000 standard Step-DPO preference pairs sampled
deterministically with seed 42. Each pair contains a mathematical problem, a
reasoning prefix ending at Step N:, a chosen replacement step from a
continuation that reached the reference answer, and the original erroneous
step as the rejected response.
The trainer-ready data is available in
Alepach/fixingDPO as
training/standard_step_dpo_10k_seed42.json.
Training procedure
- Base model:
Qwen/Qwen2.5-7B-Instruct
- Full-parameter DPO
- Training examples: 10,000
- Epochs: 4
- Effective batch size: 128
- Per-device batch size: 8
- Gradient accumulation: 16
- Learning rate:
5e-7
- DPO beta:
0.4
- Scheduler: cosine
- Warmup ratio:
0.1
- Maximum sequence length: 1024
- Maximum prompt length: 512
- Precision: bfloat16
- Seed: 42
- Hardware: one NVIDIA H100
- DeepSpeed ZeRO-3 with CPU optimizer offload
Training completed in 36,213 seconds with a final aggregate training loss of
0.2444.