Interactive Paper Library

Guide4 of 9 layers available

Understand LLMs,
completely.

Everything required to truly understand large language models — from the math floor up to the frontier — as a single guided roadmap.

A layered map of what to learn to understand LLMs completely: the math & ML foundations, why transformers exist, the architecture, pretraining, alignment, inference & deployment, real-world use, evaluation, and the frontier. Some layers link to full interactive editions already in this library; others are explainer pages; the rest are on the way.

The nine layers

Learn top-to-bottom from 0. Available layers link to a built page or an interactive edition in this library; the rest are on the way.

Explainer

Prerequisites — the math & ML floor

The working intuition you need before anything else: linear algebra, calculus, probability, and the basics of machine and deep learning.

FoundationsMathML basics
Explainer

Sequence modeling — why transformers exist

Language modeling as next-token prediction, and the road from n-grams and RNNs to attention — so you understand what the Transformer actually fixed.

SequencesRNNsAttention
Available

The Transformer architecture

Tokens, embeddings, self-attention, multi-head attention, residual blocks — the machine every LLM is built from. Covered in full by the interactive Attention paper.

TransformerAttentionCore

Also: Deployment Module 1 →

Coming soon

Pretraining — how the model gets its knowledge

The autoregressive objective at web scale: data, scaling laws, optimization, and distributed training across thousands of GPUs.

TrainingScaling lawsData

Related: Fire-Flyer infra paper →

Coming soon

Post-training & alignment

Turning a text predictor into an assistant: instruction tuning, RLHF, DPO, reasoning training, and LoRA fine-tuning.

SFTRLHFLoRA
Available

Inference & deployment

How models actually run and get served — KV cache, batching, quantization, multi-GPU, production and cloud. A full nine-module interactive course.

ServingSystemsCourse
Coming soon

Using LLMs — capabilities & patterns

In-context learning, prompting, RAG with embeddings and vector search, tool use, agents, and choosing prompt vs RAG vs fine-tune.

RAGAgentsPrompting
Coming soon

Evaluation & limitations

Benchmarks, perplexity, LLM-as-judge, and the failure modes: hallucination, bias, jailbreaks, and prompt injection.

EvalSafetyLimits
Coming soon

Frontier topics

Mixture of Experts, multimodal models, new architectures (Mamba/SSMs), and test-time compute / reasoning models.

MoEMultimodalReasoning