All topics

3Blue1Brown

Every post tagged “3Blue1Brown”, newest first.

3 posts
Attention 13 min

How Attention Works in Transformers: Queries, Keys and Values

How does attention work in transformers? A visual, step-by-step explanation of the attention mechanism — queries, keys, values, the attention pattern, masking, the low-rank value trick, and multi-head attention — with the real GPT-3 parameter counts.

Transformers 11 min

How GPT Actually Works: A Visual Guide to Transformers

How does a GPT actually work? A plain-English, visual walkthrough of transformers — tokens, word embeddings, why directions in vector space mean something, dot products, softmax and temperature — with the real GPT-3 numbers worked out.

Linear Algebra 12 min

Linear Algebra for Machine Learning: The Series That Made It Click

A complete intuitive introduction to vectors, matrices, dot products, determinants, eigenvectors, basis changes, and how linear algebra powers machine learning.