Skip to content
LearnLLM Foundations

LLM Foundations.
From BPE to Mech Interp.

Eight modules building a complete mental model of how large language models actually work — tokens, embeddings, attention, the transformer block, training, inference, post-training (SFT/DPO/GRPO), and mechanistic interpretability. Each module has an interactive animation you can drive yourself — type text, drag vectors, click attention heads, steer optimizers, sculpt reward landscapes. Lumen Labs builds Lumen-1; you build the understanding.

Course Overview

Modules

8

Duration

~9 hours

BPERoPEMulti-head AttentionSwiGLUGQA / MLAAdamWKV CacheDPOGRPOInduction HeadsSAEs

Learning Modules

Each module pairs an interactive animation with Pyodide-runnable Python practice and an 11-question knowledge check. Progress saves between sessions.

LLM Foundations — How Large Language Models Actually Work | Free Interactive Course | Let's Data Science