Pixel art generation using discrete diffusion14 August 2026·824 words·4 minsLearning Diffusion Discrete-Diffusion Transformer Pixel-Art NotebookTraining a small transformer to generate 16x16 pixel art characters by de-masking pixels step by step.
Language generation with discrete diffusion17 July 2026·1233 words·6 minsLearning Diffusion Discrete-Diffusion Transformer NotebookBuilding a discrete diffusion transformer (DiT) from scratch and training it to generate Shakespeare-like text, one denoising jump at a time.
Classifier-Free Guidance Explained with a 2-D Diffusion Example2 July 2026·1045 words·5 minsLearning Diffusion Diffusion Flow-Matching Guidance Cfg Classifier-Free GuidanceHow classifier-free guidance works: derived from Bayes’ rule, implemented in a few lines of PyTorch, with label dropout during training and what the guidance scale w does to samples.
Diffusion model explained with simple 2-D dataset29 June 2026·1175 words·6 minsLearning Diffusion Diffusion Flow-Matching Score-MatchingA trimmed, annotated companion to the 2-D diffusion notebook — with an ODE-vs-SDE sampling comparison.