Start from an SFT model that already does the task well, and define the behaviors you want to improve plus metrics for them.
Collect prompts from real usage, generate multiple candidates, label preferences (human, product signals, or calibrated AI judge), and clean the pairs.
Train with DPO (or a related method) on the pairs, or use RLVR for verifiable parts; keep a KL or reference constraint to avoid drift.
Evaluate on held-out preferences, task metrics, safety and a general regression suite; roll out gradually with monitoring and a rollback path, and feed new failures back into the data.
Loading…