Log inStart free
LESSON 35.05 · 5 STAGES · 2 CONTROLS · 2 CHECKSPRO · PREVIEW

Hallucination and grounding

Watch a model invent answers, then answer from the right page with a citation.


Pro lesson. Stage 1 is free to watch. Pro opens all 5 stages, 2 controls and 2 checks, in this lesson and every other.

Go Pro · $8.25/mo
EXPLAINER · 35.05 · TRUST BAYCLOSED BOOK · 13 ANSWERS · TOP 33%
01
Stage 1 of 5 · Closed book
With no pages to read, the model continues the question from memory. Each branch is a next word with its chance.
Explain it simply

The model learned the 12 pages below, word by word, in lowercase. Now it answers with no page in front of it. It only looks at the last two words to pick the next one. A wider ribbon means a more likely path.

A tree of 13 possible answers to “laptop error E42”. The most likely one has a chance of 33%.

question, pagesanswers, chances, scoresseam, flagged, hallucinationflag limit, search
laptop error E42questionanswers the model can write (closed book)34%33%25%25%25%50%50%25%50%50%33%25%25%25%50%50%25%50%50%the paper tray is emptymeans the laptopcharges fast with the usb c chargerfeels warm keep it on a desk not a bedcannot find the battery(end)cablereseat the battery(end)cableopen the laptopcharges fast with the usb c chargerfeels warm keep it on a desk not a bedcannot find the battery(end)cablereseat the battery(end)cableD1Battery …D2Battery …D3The lapt…D4My oldD5Error E42D6Fix errorD7Fan noiseD8If theD9Screen f…D10Printer …D11Hot keys:D12Keys sti…the 12 pages the model learned fromlaptop error E42questionanswers the model can write (closed book)34%33%25%25%25%50%50%25%50%50%33%25%25%25%50%50%25%50%50%the paper tray is emptymeans the laptopcharges fast with the usb c chargerfeels warm keep it on a desk not a bedcannot find the battery(end)cablereseat the battery(end)cableopen the laptopcharges fast with the usb c chargerfeels warm keep it on a desk not a bedcannot find the battery(end)cablereseat the battery(end)cableD1Battery …D2Battery …D3The lapt…D4My oldD5Error E42D6Fix errorD7Fan noiseD8If theD9Screen f…D10Printer …D11Hot keys:D12Keys sti…the 12 pages the model learned from
Toy: a trigram model trained on 12 help pages, shared with 22.C1
STAGE 1 / 5
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
P(w∣a,b)=c(a,b,w)c(a,b)P(\sy{w}{out}{w} \mid a, b) = \frac{\sy{c}{data}{c(a, b, w)}}{c(a, b)}
P(the∣error e42)=0.33P(\text{the} \mid \text{error e42}) = 0.33

A word's chance is how often it followed the last two words.

Common mix-ups

MYTHIf the model is sure of an answer, the answer is true.

The fix, and 1 more mix-up with the diagram to show them, come with Pro.

Predict, then reveal
2 CHECKS · PRO
Q01For “battery drains fast”, how many closed-book answers are true?

Make your guess, then test it in the diagram. All 2 checks come with Pro.

PRO LESSON · YOU WATCHED STAGE 1 OF 5
Unlock the full explainer
  • 4 more stages and 2 live controls
  • 2 mix-up cards and 2 predict-then-reveal checks
  • Watch it as a narrated video, in three voices
  • Every Pro lesson and capstone · 656 in total

$99 a year, or $15 a month. Cancel any time.