LLM · Foundations¶
First distinguish training objectives from model architecture, then trace a request through Tokenizer → Transformer → output distribution. Knowing the names is not enough: you need to calculate tensor shapes and KV cache size, and explain causal masks, positional extrapolation, and tokenization boundaries.
Chapters¶
- Chapter 1: How Large Language Models Differ from Traditional NLP
- Chapter 2: Transformer Architecture
- Chapter 3: MHA Limitations, MQA, GQA, and FlashAttention
- Chapter 4: Positional Encoding
- Chapter 5: Tokenizers
Return to LLM Topics.