Phase 6 of 12 · about 16 hours of study
Modern LLM engineering
Post-training, fine-tuning, serving and safety. 22 lessons, about 16 hours of study, in four tracks. One lesson is free to try without an account: the first, Base models vs assistants. The rest need a free account.
Start with Base models vs assistants Create a free account
What you'll learn
Post-training
- Base models vs assistants FreeWhat post-training adds to a pretrained model.
- Supervised fine-tuningTeach behavior from example conversations.
- Instruction and preference dataThe datasets that shape assistant behavior.
- RLHFReward models and reinforcement learning from human feedback.
- DPO and direct preference methodsPreference training without a separate reward model.
- Constitutional AITraining with AI feedback guided by written principles.
- Training reasoning modelsReinforcement learning on verifiable problems.
Adapting models
- Prompting vs RAG vs fine-tuningPick the cheapest approach that works.
- LoRAFine-tune a big model by training small low-rank updates.
- Fine-tune an open modelRun a real fine-tune and evaluate the result.
- DistillationTrain a small model to imitate a large one.
Inference
- QuantizationStore weights in fewer bits to run models cheaply.
- Serving modelsBatching, throughput and latency in production.
- Speculative decodingDraft with a small model, verify with a big one.
- Running open models locallyDownload, quantize and run a model on your own machine.
Systems & safety
- Benchmarks and their limitsWhat leaderboards measure, and what they miss.
- InterpretabilityLooking inside models to see what they compute.
- Alignment and safetyMaking capable models behave as intended.
- Multi-agent systemsCoordinating many agents on one large job.
- Evaluating agentsMeasure multi-step, tool-using behavior.
- Reading AI papersGet the idea out of a research paper in 30 minutes.
- Capstone: a tuned, evaluated assistantFine-tune, evaluate and deploy a specialist assistant.
Before you start
Lessons here build on earlier phases:
The placement test can mark off what you already know, so you only study what's new to you.
What you'll build
Fine-tune, evaluate and deploy a specialist assistant. Read the tutorial.
- Run a release review: train a candidate, evaluate it on every criterion, and apply release gates
- Diagnose a failed candidate and fix it by changing the training data
- Explain why a single headline metric, or a raw loss, can hide regressions
When you finish
Finish every lesson in this phase, or show you know it in the placement test, and you earn a certificate of completion, "Modern LLM engineering (Phase 6)", with its own link you can share.