Explained.ai builds an animated mental model of how LLMs generate text
the_antlr_guy · x · 2026-12-01
Terence Parr (explained.ai) built an educational animation to give students a mental model of how AI generates text. Key ideas: the model probabilistically predicts each next word ("to" 39%, "home" 25%, "out" 20% in the demo), so randomness causes hallucinations and inconsistent outputs — in Karpathy's words, "AI is always dreaming"; and reading vs. generating is asymmetric — it ingests the whole prompt at once (great at analysis) but emits one word at a time with no ability to backtrack. Practical tips: provide context, examples and desired format, and paste source material. The Read in → Think → Pick → Append animation supports pause, step-through and speed control, useful for teaching.
More from AGI Musings
- "There is no such thing as a non-verifiable task": a note on AI progress steamrolling skeptics — StewartalsopIII · 2026-12-01
- Researcher: LLMs can't natively skip the tools and research humans need for hard problems — nanjiang_cs · 2026-12-01
- AI safety orgs can't keep pace with the field; fund nimble people instead — JacquesThibs · 2026-12-01
- "Life without a job is meaningless"? Over 52% of Americans already don't have one — panickssery · 2026-12-01
- Researcher Doubts LLMs Can Natively Write Weights, Sees Them Replacing Applied Research Engineers — nanjiang_cs · 2026-12-01
- The stolen wing mirrors analogy: cyber conflict as a self-sustaining revenue loop for frontier labs — citrini · 2026-12-01