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.

0 of 8 lessons passed

Start lesson 1

Lessons

Progress and your code are kept in this browser only.

  1. Differentiate response-masked Direct Preference OptimizationSenior · 50 minApp required
  2. Own grouped advantages and the clipped policy surrogateSenior · 50 minApp required
  3. Handle multiple positives and singleton anchors in SupConSenior · 50 minApp required
  4. Route sparse top-two experts with an explicit capacity policySenior · 50 minApp required
  5. Preserve target mass with speculative accept and residual resamplingSenior · 50 minApp required
  6. Search a finite-state grammar with explicit EOS and sequence scoresSenior · 50 minApp required
  7. Project: train and reload a local DPO policy with LoRA ownershipSenior · 90 minApp required
  8. Project: train sparse experts and audit capacity under loadSenior · 90 minApp required

All courses