Studio
Generate handwritten digits with the conditional DDPM, sampled with DDIM.
Controls
Select a digit
Selected: 7Samples
No samples yet
Pick a digit and press Generate. Samples and the classifier's reading of each one appear here.
Guidance comparison
Compare how classifier-free guidance changes generated digits.
Guidance scales
0, 1.2 and 2
Three configurations
Starting noise
Seed 42
Same seed across experiments
DDIM steps
50
Sampling steps
Digit 7, 8 samples per guidance scale
From pure noise to a handwritten digit.
A class-conditional diffusion model built from scratch in PyTorch. It runs on our laptop server, or right here in your browser when the server is off.
Watch the model draw a digit
Pick a digit. The model starts from random noise and removes a little of it at each of 20 steps. This is the real model running, not a recording.
Pick a digit to start.
What's inside the lab
Tools for generating digits and seeing how the model decides what it is drawing.
- Studio
- Pick a digit, guidance scale, sampling steps and seed, then generate samples the classifier checks.
- Denoising visualizer
- Step through the reverse process and see each intermediate image.
- Recognition timeline
- Find the sampling step where the classifier starts reading the digit you asked for.
- Sketch to digit
- Draw a digit with a mouse, finger or pen and let the model clean it up.
- Experiment lab
- Compare guidance values and sampling steps side by side.
- Evaluation
- Score generated digits with a classifier and check for copied training images.