Course 8
Transformers Deep Dive
Explain the internals cold: positional encodings (RoPE), attention variants, BPE, KV cache, scaling laws. The T-shape depth vertical.
- 1Positional encodings: from sinusoidal to RoPE4 q
- 2Attention variants: MHA, MQA, and GQA4 q
- 3Tokenization at scale: byte-pair encoding4 q
- 4The KV cache and efficient inference4 q
- 5Normalization and residuals in depth4 q
- 6The full block, and a hard proof of causality4 q
- 7Scaling laws4 q
- 8Why transformers work4 q