← All modules

Module 03 · Learning

How models learn

Training changes the model. Inference uses it.

What you’ll learn

Four ideas, one module

01

Pretraining

Next-token prediction at scale, and what it leaves in the parameters.

02

Not a database

Why facts are compressed patterns, and what that means for recall.

03

Post-training

How a text predictor becomes an assistant with trained behavior.

04

Where change lives

Parameters, context, memory or state: what changes what, and for how long.

Applied exercise

Where does the change live?

Classify which actions change model parameters, context, memory or application state.

  • Support bot actions
  • Coding assistant actions
  • Chat assistant actions

Cheat sheet

Weights change only in training. Every other change lives in context, memory or state

One page you keep: the questions to ask on every project, the rules of thumb, and a decision guide you can use on your own product. All ten come with The Book.

Leave at the door

Five myths this module breaks

MythWhat’s actually true
“It’s a giant database of the internet.”It holds patterns in parameters, not rows.
“Correcting it in chat retrains it.”The correction lives in context, then it’s gone.
“Fine-tuning is how you add knowledge.”Fine-tuning shapes behavior. Facts go in context.
“If it saw a fact, it can recall it.”Recall is uneven: rare facts come out fuzzy.
“It knows what happened yesterday.”Not past its cutoff, unless the system tells it.

Before you move on

Can you call this one?

A user fixes a price in chat. A week later the bot quotes the old one.

Why did the correction not stick? Where should the fix live?

Portrait of Milo Renwick

The Gradient Archaeologist

Milo Renwick

digs through decades of machine learning breakthroughs to uncover how modern models got their brains.

Episode 03 · How models learn

Included with the course.

Coming soon · an AI character from the show, not a real researcher.