Pro
Pro lesson

Why models hallucinate

See a real assistant answer confidently about things that don’t exist, and learn how to catch it.

This one’s part of How Models Learn Pro — every lesson, every interactive, and new ones as they land. About 10 minutes.

Already Pro? Sign in and you’ll go straight in.

Inside “Why models hallucinate”

What you’ll learn

  1. Fluent is not the same as true
  2. A predictor, not a database
  3. Confident answers about things that don’t exist
  4. Why training rewards a good guess
  5. Ask again: disagreement is a clue
  6. Spotting and reducing hallucinations

Key terms

Hallucination
When a model generates false or made-up content and presents it as if it were true.
Token
A chunk of text, often a word or part of a word, that a language model reads and writes one at a time.
Next-token probability
The chance a model gives each possible next token; it writes text by repeatedly choosing among them.
Sampling
Choosing each next token at random, weighted by its probability (often reshaped by settings such as temperature), so the same prompt can give different answers.
Confidence target
An instruction that wrong answers cost points, so a model should answer only when it is confident enough.
Knowledge cut-off
The date up to which a model’s training text was collected; it knows nothing later unless told.
Calibration
How well a model’s stated or implied confidence matches how often it is actually right.

Sources