Mind Matters › Curated

Large language models explained briefly

In English

How an AI like ChatGPT or Claude works inside, in eight minutes and without formulas.

Video by 3Blue1Brown · Watch on YouTube · 8 min

Our commentary

Why watch

Grant Sanderson, from 3Blue1Brown, is one of the best maths explainers in the world. This video was made for an exhibit at the Computer History Museum and shows the essentials: a language model is a system trained to predict the next word, from an enormous amount of text. No magic, no consciousness: statistics on a giant scale.

What to notice

  • Pre-training on text and the later tuning with human ratings.
  • The "attention" mechanism, which lets the model relate distant words.
  • Why an answer can sound confident even when it is wrong.

Takeaway

Understanding how AI works helps you use it without ceasing to think. That is the theme of our course Active Mind in the Age of AI.

Caveat. It is an introduction. Current models have extra training stages and tools the video does not cover. To go deeper, the channel has a full series on the subject.

Active Mind in the Age of AI course

Sources

  1. 3Blue1Brown – Large Language Models explained briefly (lesson page). https://3blue1brown.com/lessons/mini-llm
  2. 3Blue1Brown – Neural networks (full series). https://www.youtube.com/playlist?list=PLZHQObOWTQDNU6R1_67000Dx_ZCJB-3pi
  3. Vaswani, A. et al. (2017). Attention is all you need. https://arxiv.org/abs/1706.03762

The video belongs to its author and is shown through the official YouTube player. The commentary, caveats and choice of sources are by Mente Senciente.