Concept
The model is not retrieving. It is predicting.
Each word is chosen from a probability distribution over what usually follows. Nothing is looked up.
Understand how large language models predict text, why that explains both their fluency and their mistakes. Free, one sitting.
Why this matters
Most AI confusion comes from imagining the model as a database that looks things up. It is not. It predicts the next piece of text from patterns, which is why it can write a working function and invent a citation with identical confidence. Once you hold the right mental model, model behaviour stops being mysterious and starts being predictable.
What you'll cover
What you'll understand
A look inside
The real thing — not a mockup of it.
Concept
Each word is chosen from a probability distribution over what usually follows. Nothing is looked up.
How it fits
The output you read is that loop run a few hundred times, each pass seeing everything written so far.
Apply
How it works
A plain-language walkthrough of the idea itself, no prior context assumed.
A simple diagram or example showing how it actually fits together.
One quick check that you can recognise it, not just recall it.
Useful for
Want to go deeper? Explore Context Engineer →
Frequently asked
No. This Quick Lesson uses no equations. It builds the mental model in plain language.
How next-token prediction works, why models hallucinate as a consequence of it, and which tasks that makes them unreliable at.
Yes. Quick Lessons are free, short, and do not require a paid plan — sign in only to save your progress.