DPO, ORPO, KTO, and GRPO on your Mac
SFT teaches a model what to say. Preference and reward training teaches it which answer is better. Paged Trainer runs the common methods locally on Apple Silicon, all from the same form: DPO with sigmoid, IPO, or hinge loss, ORPO, SimPO, CPO, KTO, and GRPO with built-in or custom rewards.
Load a JSONL file and the app tells you which methods it fits. Chosen and rejected pairs go to DPO-style methods, labeled rows to KTO, and prompts to GRPO. Custom objectives and trainable input encoders are there when the built-ins are not enough.
Methods
- SFT and CPT (continued pretraining)
- DPO (sigmoid, IPO, hinge), ORPO, SimPO, CPO
- KTO for thumbs up and thumbs down data
- GRPO with reward functions
- Custom objectives, custom rows, and trainable input encoders
FAQ
Which methods are supported?
SFT, CPT, ORPO, DPO (sigmoid, IPO, and hinge), SimPO, CPO, KTO, and GRPO, plus custom objectives and reward functions.
What data formats does it take?
JSONL. Chat and prompt/completion rows for SFT, chosen and rejected pairs for DPO-style methods, labeled rows for KTO, and prompts with rewards for GRPO. The app checks the file and tells you which methods it fits.
Does it work on big MoE models?
Yes. Preference methods use the same streamed path as SFT, so MoE models larger than memory work the same way.
Related
- Paged Trainer
- LoRA and QLoRA fine-tuning on Mac
- Fine-tune MoE models on a Mac
- Fine-tune LLMs on a Mac
© QWERTY Code LLC. Paged Trainer is a product of QWERTY Code LLC.