Transformers, the tech behind LLMs | Deep Learning Chapter 5
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.