Measured shelfAI & Machine Learning
Transformer explainers, ranked by where the analogy ends
Short answer. As measured on 24 November 2026, the top three videos on this shelf are “Let's build GPT: from scratch, in code, spelled out.” (AndrejKarpathy, 95), “Attention in transformers, step-by-step | Deep Learning…” (3Blue1Brown, 92) and “How might LLMs store facts | Deep Learning Chapter 7” (3Blue1Brown, 91). Each score runs from 0 to 100 for how much of the runtime teaches; how we measure.
- Median padding
- 32%
- Useful part starts
- 0:58
- Typical runtime
- 36 min
last recalculated 24 Nov 2026
Every video on this shelf has to solve the same problem: attention is a mechanism made of matrix multiplication, and matrix multiplication is not something you can watch. So each of them picks a metaphor — a lookup table, a search engine, a room where words vote on each other — and the entire quality of the video is decided by what happens after the metaphor.
The ones that rank highly here spend the metaphor quickly and then show the actual operation: what the three projections are, what shape the things being multiplied have, why the scaling term is there, what the mask does. The ones lower down keep the metaphor going for forty minutes, restated in progressively more elaborate ways, and never show a number.
Both types are titled “transformers explained”. The density measurement is what separates them, because a metaphor restated is by definition not new information, and it is the single most common way this topic becomes an hour of video.
Entries carry a difficulty level, and on this topic it matters more than anywhere else on the site: a video that is perfect for someone who already knows what a dot product does is a wasted hour for someone who does not, and the reverse is worse.
-
01
Let's build GPT: from scratch, in code, spelled out.
0:001:56:20- Density
- 95
- Padding
- 19%
Builds a character-level GPT from an empty file and trains it on tiny Shakespeare, cutting validation loss from 4.87 to 1.48, with self-attention explained step by step.
-
02
Attention in transformers, step-by-step | Deep Learning Chapter 6
0:0026:10- Density
- 92
- Padding
- 21%
Clear step-by-step build-up of attention: queries, keys, softmax, masking, values and 96-head GPT-3 parameter counts (just under 58B of 175B).
-
03
How might LLMs store facts | Deep Learning Chapter 7
0:0022:43- Density
- 91
- Padding
- 25%
- Useful from
- 2:08
Toy example of an MLP block storing 'Michael Jordan plays basketball' via ReLU as an AND gate, plus GPT-3's ~116 billion MLP parameters and superposition.
-
04
Transformers, the tech behind LLMs | Deep Learning Chapter 5
0:0027:14- Density
- 91
- Padding
- 20%
Visual primer on transformers: next-token loop, embeddings (GPT-3: 50,257 × 12,288, about 617 million weights), unembedding, softmax and temperature, building toward attention.
-
05
Transformer Neural Networks, ChatGPT's foundation, Clearly Explained!!!
0:0036:15- Density
- 88
- Padding
- 24%
- Useful from
- 1:04
Hand-computed Transformer translating 'let's go' to 'vamos', with dot-product similarity 11.7 vs -2.6 shown in self-attention and a full decoder pass; promo only in the last 51 seconds.
-
06
The matrix math behind transformer neural networks, one step at a time!!!
0:0023:43- Density
- 86
- Padding
- 23%
- Useful from
- 1:04
Follows a three-token 'Let's go' to Spanish example through every transformer matrix step, from embeddings to masked attention and the output softmax, in about 23 minutes with a short promo…
-
07
Large Language Models explained briefly
0:007:58- Density
- 85
- Padding
- 24%
Compact 8-minute explainer: LLMs predict next-word probabilities, trained via backpropagation and human feedback, with transformer attention outlined; training would take over 100 million…
-
08
MIT 6.S191 (2023): Recurrent Neural Networks, Transformers, and Attention
0:001:02:50- Density
- 83
- Padding
- 24%
- Useful from
- 1:15
Lecture that builds from the RNN recurrence relation and backpropagation through time to self-attention with query, key and value, with LSTMs covered only as intuition.
-
09
Transformers explained | The architecture behind LLMs
0:0019:48- Density
- 83
- Padding
- 25%
- Useful from
- 0:38
Clear 20-minute transformer walkthrough: Q/K/V self-attention, multi-head, positional embeddings and residuals, with BERT masking (15% of tokens) and the RNN speed contrast.
-
10
LLM Lecture: A Deep Dive into Transformers, Prompts, and Human Feedback
0:001:31:09- Density
- 83
- Padding
- 23%
- Useful from
- 2:50
Intuitive 90-minute lecture taking transformers from tokenization and self-attention through decoders, few-shot and chain-of-thought prompting, to DPO/RLHF; two slips: the 133% softmax…
-
11
How does AI actually work? Transformers explained
0:0032:21- Density
- 82
- Padding
- 27%
- Useful from
- 0:31
Clear 32-minute walk through a decoder-only Transformer on the example 'I go to work by', from tokenization to softmax and backprop training, with a roughly 2-minute sponsor read in the…
-
12
Transformer LLMs are Turing Complete after all !?
0:0028:47- Density
- 81
- Padding
- 29%
- Useful from
- 3:01
Interview: guest says Transformer decoders and RNNs with chain of thought can simulate Turing machines under infinite precision or memory, but training such weights is very hard.
-
13
Transformers Explained | Simple Explanation of Transformers
0:0057:31- Density
- 80
- Padding
- 23%
- Useful from
- 1:36
A 57-minute intuitive walkthrough of Transformers, from King-minus-man-plus-woman embeddings to query/key/value attention analogies, the feed-forward block and cross attention, with a few…
-
14
Transformers for beginners | What are they and how do they work
0:0019:59- Density
- 80
- Padding
- 24%
- Useful from
- 0:31
Walks through the transformer architecture, with a step-by-step query/key/value attention calculation divided by 8 and sine/cosine positional encodings; the author says it may need several…
-
15
Introduction to Neural Networks
0:0026:37- Density
- 78
- Padding
- 26%
- Useful from
- 1:37
Clear 27-minute primer: weights and bias, why activations matter, then CNNs, attention and graph nets; training is skipped on purpose.
-
16
Illustrated Guide to Transformers Neural Network: A step by step explanation
0:0015:01- Density
- 77
- Padding
- 32%
- Useful from
- 1:36
Clear step-by-step transformer walkthrough from embeddings and Q/K/V attention to decoder masking; the author's description of the decoder's cross-attention is wrong.
-
17
Evolution of the Transformer Architecture Used in LLMs (2017–2025) – Full Course
0:002:49:52- Density
- 77
- Padding
- 29%
- Useful from
- 5:17
Code-along benchmark of transformer upgrades: RoPE, MLA, post-norm, SwiGLU and no dropout together cut loss from 4.84 to 4.28 (about 11%) on a small model.
-
18
Transformers Step-by-Step Explained (Attention Is All You Need)
0:0010:04- Density
- 74
- Padding
- 28%
- Useful from
- 0:15
Clear 10-minute intro to Transformers: attention as token-to-token communication, with a worked query/key/value, softmax and weighted-sum example on the sentence 'Jake learned AI even…
-
19
Transformers: The best idea in AI | Andrej Karpathy and Lex Fridman
0:008:38- Density
- 74
- Padding
- 30%
- Useful from
- 0:19
The guest calls the Transformer a general-purpose trainable computer, explaining why it is expressive, optimizable and parallel-efficient, and why residual connections let it learn short…
-
20
Test-Time Adaptation: the key to reasoning with DL
0:001:03:36- Density
- 73
- Padding
- 36%
- Useful from
- 7:02
Interview on the 58% ARC approach: all examples in one forward pass, test-time tuning and majority voting, plus 5 min of hiring pitch and tangents.
-
21
Become an AI Researcher Course – LLM, Math, PyTorch, Neural Networks, Transformers
0:003:06:53- Density
- 73
- Padding
- 28%
- Useful from
- 10:13
Breadth-first course: about 3 hours from derivatives and tensors to a coded GPT-style block, but backprop is left to other videos and exercises are largely 'play with it'.
-
22
Transformer Neural Networks - EXPLAINED! (Attention is all you need)
0:0013:05- Density
- 71
- Padding
- 30%
Three-pass transformer walkthrough on an English-to-French example, covering parallel encoding, multi-head and masked attention and Q/K/V, but the attention formula is only named and the…
-
23
Jeff Dean (Google): Exciting Trends in Machine Learning
0:001:12:30- Density
- 70
- Padding
- 37%
- Useful from
- 0:52
Jeff Dean's broad survey: ImageNet and speech error-rate gains, TPUs, Transformer, chain-of-thought and Gemini beating state of the art on 30 of 32 benchmarks, with Q&A on data and…
-
24
Transformers, explained: Understand the model behind ChatGPT
0:0024:07- Density
- 70
- Padding
- 29%
- Useful from
- 0:33
Beginner walkthrough of GPT's Transformer pipeline, from next-word training and tokenization to attention and softmax, with no detail on how attention weights are computed.
-
25
Transformers, explained: Understand the model behind GPT, BERT, and T5
0:009:11- Density
- 68
- Padding
- 33%
- Useful from
- 0:51
Clear 9-minute conceptual intro to transformers: positional encodings, attention and self-attention explained via an English-French translation and the 'server' example, with no math.
Gistil's own measurement. Not a YouTube rating, and not the channel's position. Ranking is ours; the videos belong to their channels.
How this ranking is decided
Every video here was measured on the same axes — how much of its runtime carries information, how much is padding, and the second at which it starts paying off. The order is by value density, not by views, recency or how much we liked the channel. What the numbers mean →
For whole channels rather than single videos, see Best YouTube channels for learning, by subject.