World models from scratch
A free course in 20 modules. It starts with a simple image classifier and ends with JEPA and a small playable Genie. Each module covers one idea and builds it in code.
Anyone who can read Python
Engineers, students and researchers who want to understand world models by building them.
One module at a time
Houda is writing each module herself. New ones appear here as they're finished.
Study groups
We'd like to run study sessions next to the events. Tell us at an event if you'd join one.
The 20 modules
Seeing
How networks learn to see.
- 01CNNConvolutions from scratch
- 02AlexNetThe 2012 breakthrough
- 03ResNetGoing deep with skip connections
Remembering and compressing
Memory over time, and squeezing the world into a small code.
- 04RNN / LSTMMemory across time steps
- 05VAECompressing observations into a latent space
- 06Transformer / ViTAttention, for text and images
Acting
Agents that learn from reward.
- 07DQNLearning to play Atari
- 08PPOStable policy learning
Dreaming
The classic world models: learn a model, then plan or learn inside it.
- 09World ModelsHa & Schmidhuber: training in a dream
- 10PlaNetPlanning in latent space
- 11DreamerLearning behaviour from imagination
- 12MuZeroPlanning without knowing the rules
- 13TD-MPC2Scalable model-based control
- 14IRISTransformers as world models
Predicting meaning (JEPA)
Yann LeCun's direction: predict representations, not pixels.
- 15SimSiam / VICRegSelf-supervised learning without collapse
- 16I-JEPAJoint-embedding prediction for images
- 17V-JEPAThe same idea for video
- 18JEPA planningUsing a JEPA world model to act
Generating worlds
From noise to playable worlds.
- 19DDPMDiffusion models from scratch
- 20Mini GenieA tiny generative, playable world
Hear about the next one
Invites go out on Luma first. Follow the calendar and you'll get them.