Transformers, the tech behind LLMs | Deep Learning Chapter 5

3Blue1Brown · 27 min · published 1 Apr 2024 · watched 25 May 2026

Grant Sanderson of 3Blue1Brown explains visually how a GPT-style transformer processes text. Input is split into tokens, mapped to embedding vectors, passed through alternating attention blocks and multi-layer perceptron blocks, and finally turned into a probability distribution over possible next tokens. The video also covers repeated sampling to generate text, the role of softmax and temperature, and logits, laying groundwork for a following chapter on attention.

I picked this talk; AI wrote the summary.

Watch on YouTube ↗ ← All talks