HackerTube

Transformers, the tech behind LLMs | Deep Learning Chapter 5

3Blue1Brown13 HN recommenders · recommended in 10 months, 2024–2026
YouTube
explainer · intro · evergreen · 2024–2026 on HN

3Blue1Brown's visual explanation of how transformers and GPT-style language models work, tracing data through tokens, embeddings and attention.

HN treats it as the go-to visual introduction to transformers, and many say it finally made attention and embeddings click.

12 comments from Hacker News

@robrenaud2026-06 · in “"They're made out of weights"”

3 blue 1 brown has a great visual introduction to transformers, the heart of LLMs. It's chapter 5. Start at chapter 1 if you want more background on neural nets and backprop. ▶ this video

Strongly recommends View on HN
@gf0002026-01 · in “King – man and woman is queen; but why?”

I really recommend watching this section of this video. Embeddings do encode plenty of "human knowledge" into the vector values and their relations to each other. ▶ this video This even opens up a more data-based approach to linguistics, where it is also heavily used.

Strongly recommends View on HN
@manmal2025-05 · in “Embeddings are underrated (2024)”

This video explains the direction-encodes-trait topic very well IMO: ▶ this video It’s the first in a series of three that I can very highly recommend. > there's no way that there's a 1-to-1 correspondence between concepts and dimensions. I don’t know about that! Once you go very high dimensional, there is a lot of direction vectors that are almost perfectly perpendicular to each other (meaning they can cleanly encode a trait). Maybe they don’t even need to be perfectly perpendicular, the dot product just needs to be very close to zero.

Strongly recommends View on HN
@tomashm2024-07 · in “The Illustrated Transformer (2018)”

This is good, but what bade me finally understand the transformer architecture [0] and attention [1], are 3Blue1Brown's videos. 0. ▶ this video 1. link

Strongly recommends View on HN
@Wilduck2024-05 · in “Ask HN: Why can't ChatGPT solve Wordle-type questions?”

3Blue1Brown has a fantastic video on GPT that I'd highly recommend called "But what is a GPT? Visual intro to transformers" [1]. You'll need to have some background in mathematical reasoning, but not too much. He does a great job of drawing pictures to show the mathematical transformations that happen under the hood. [1] ▶ this video

Strongly recommends View on HN