AI & transformers · Course 8 of 8
Preference optimization & sparse AI engineering
Differentiate DPO and grouped policy objectives, route sparse experts, preserve speculative target mass, enforce grammars and train two complete local CPU projects.
- 8 lessons
- Senior
- 8 h
- App required
0 of 8 lessons passed
Lessons
Progress and your code are kept in this browser only.
- Differentiate response-masked Direct Preference Optimization
- Own grouped advantages and the clipped policy surrogate
- Handle multiple positives and singleton anchors in SupCon
- Route sparse top-two experts with an explicit capacity policy
- Preserve target mass with speculative accept and residual resampling
- Search a finite-state grammar with explicit EOS and sequence scores
- Project: train and reload a local DPO policy with LoRA ownership
- Project: train sparse experts and audit capacity under load