Large Language Models: From Transformers to Frontier Models

Build a modern large language model from the ground up: tokens and embeddings, the attention mechanism, positional encodings, and the efficiency and scaling ideas behind today's frontier systems — KV caching, grouped-query and latent attention, mixture-of-experts, multi-token prediction and low-precision training.

Undergrad to Professional · English · 42 chapters