AI 202 · Course 3 of 4
Evaluating language models
Evaluating language models (AI 202) is a free course of 4 lessons in the Attempts Learning curriculum. Build an evaluation for your task, calibrate LLM judges, evaluate RAG and agents, and prove with statistics that a tuned model beats what you run today.
- Level
- Intermediate to Advanced
- Lessons
- 4
- Reading
- 47 min
- Video lectures
- 5
- Self-check questions
- 21
- Cost
- Free, no account
[Learning outcomes]
After this course you can
- Build an evaluation set from real traffic and write down what a correct answer is.
- Use deterministic checks where possible, and calibrate LLM judges against human labels with Cohen’s kappa.
- Evaluate RAG pipelines layer by layer and AI agents by end state, reliability (pass^k) and cost.
- Test whether an improvement is real with paired bootstrap intervals and McNemar’s test.
- Size a test set before training, and catch regressions on behavior you did not target.
[Syllabus]
4 lessons, in order
Lesson 1GuideIntermediate
How to build a custom evaluation framework for LLMs
Build an LLM evaluation framework for your own task: eval set design, sample sizes, metrics, calibrated LLM judges, regression suites and monitoring.
- 16 min reading
- 1 video lecture
- 1 diagram
- 5 self-check questions
Lesson 2GuideIntermediate
LLM-as-a-judge: how to use model graders without fooling yourself
Use LLM-as-a-judge reliably: position, length and self-preference bias, rubric design, calibration against human labels, Cohen's kappa and judge panels.
- 10 min reading
- 1 video lecture
- 1 diagram
- 6 self-check questions
Lesson 3GuideIntermediate
How to evaluate RAG pipelines and AI agents, step by step
Evaluate RAG and AI agents component by component: retrieval recall, faithfulness, citations, refusals, task success, pass^k reliability and cost.
- 9 min reading
- 2 video lectures
- 1 diagram
- 5 self-check questions
Lesson 4GuideAdvanced
How to measure whether fine-tuning actually improved your model
Measure fine-tuning improvement properly: strong baselines, a held-out test set, paired bootstrap and McNemar tests, sample sizes, regressions and cost.
- 12 min reading
- 1 video lecture
- 1 diagram
- 5 self-check questions
[Lectures]
Video lectures in this course
Recorded talks and lectures from other sources, each placed in the lesson where it helps most. They play only when you press play.
Why AI evals are the hottest new skill for product builders | Hamel Husain & Shreya Shankar
In lesson: How to build a custom evaluation framework for LLMs
Who Validates the Validators? Aligning LLM-Assisted Evaluation of LLM Outputs with Human Preferences
In lesson: LLM-as-a-judge: how to use model graders without fooling yourself
Building and evaluating AI Agents — Sayash Kapoor, AI Snake Oil
In lesson: How to evaluate RAG pipelines and AI agents, step by step
Stanford CS25: V3 I Retrieval Augmented Language Models
In lesson: How to evaluate RAG pipelines and AI agents, step by step
Bootstrapping Main Ideas!!!
In lesson: How to measure whether fine-tuning actually improved your model
[Next]
Then continue with AI 301
Shipping models: data, workflows, cost and migration. Turning proprietary data into a domain model, building multi-step workflows, cutting cost, and moving fine-tuned models to open weights safely.