LESSON 29.25 · 5 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW
Lost in the middle
Watch a model miss the answer when it sits in the middle of the prompt.
Pro lesson. Stage 1 is free to watch. Pro opens all 5 stages, 3 controls and 3 checks, in this lesson and every other.
Go Pro · $8.25/moEXPLAINER · 29.25 · LONG CONTEXT10 DOCS · 1,000 TOKENS · GOLD IN SLOT 5
01
Stage 1 of 5 · The prompt
A retriever puts 10 documents before the question. The gold document in slot 5 holds the answer.
Explain it simply
You see the prompt as a row of boxes, one box per document, with the question at the far right. Only the gold document in slot 5 holds the answer. The bars show how well each document matches the question. The gold bar is the tallest, so a perfect reader would always pick it.
10 document boxes and a question box. The gold document is in slot 5. Its relevance bar is 0.93, the tallest. The next best is 0.91.
The reader is one attention score with a bias set by hand, not a trained model.
documents, relevanceposition biasattention, accuracywrong pick, gold not picked
Toy: 5 to 20 documents of 100 tokens, 400 seeded questions
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
Each document has a relevance to the question.
PRO LESSON · YOU WATCHED STAGE 1 OF 5
Unlock the full explainer
- 4 more stages and 3 live controls
- 2 mix-up cards and 3 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.