# Transformers, the tech behind LLMs | Deep Learning Chapter 5

- Channel: 3Blue1Brown
- Duration: 27 min
- Published on YouTube: 2024-04-01
- Watched: 2026-05-25
- Topics: AI and agents
- Video: https://www.youtube.com/watch?v=wjZofJX0v4M
- Page: https://schafzahl.dev/talks/transformers-the-tech-behind-llms-deep-learning-chapter-5/

## Summary

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.
