Skip to content

Commit 70be08a

Browse files
committed
Overhaul lecture 21 diffusion animations: rewrite 5 scenes with matrix grids and text diffusion, fix all visual issues
- Fix GIF looping: play once and stop (gifsicle --loopcount=1) - Fix NoiseSchedule cosine label position - Fix ReverseProcess: black arrows, remove nn_box, keep epsilon_theta label - Fix UNetArchitecture: side routing for bottleneck, dashed skip connections with tips, uniform arrow thickness - Fix ScoreMatching: remove text labels, uniform arrow magnitude, expanded slide title - Rewrite TimestepEmbedding: replace bar chart with sin/cos line plots - Rewrite TrainingObjective: add matrix grids alongside each equation step - Rewrite SimplifiedLoss: visual MSE pipeline (noise grids -> difference -> squared -> scalar loss) - Rewrite SamplingProcess: replace circles with progressive denoising grids - Rewrite DiffusionVsTransformer: text diffusion (MDLM-style mask/unmask) vs autoregressive - Update lecture21.md: expanded ScoreMatching title, text diffusion comparison table, MDLM/LLaDA references - Re-render all 10 GIFs and recompile slides
1 parent 6101368 commit 70be08a

25 files changed

Lines changed: 609 additions & 401 deletions

slides/week7/animations/diffusion_scenes.py

Lines changed: 582 additions & 374 deletions
Large diffs are not rendered by default.
-499 KB
Loading
11.4 MB
Loading
2.32 MB
Loading
-182 KB
Loading
-386 KB
Loading
-1.47 MB
Loading
-1.02 MB
Loading
2.96 MB
Loading
913 KB
Loading

0 commit comments

Comments
 (0)