Gradient descent and the closed-form solution, from scratch in C.
Blog
The math behind diffusion models, from the forward process to the training objective.
Implementing a diffusion model in PyTorch, then training it and sampling faces.
Why e to the i pi plus one is zero, built up from Taylor series.
Generating lo-fi music clips with a Wasserstein GAN and mel spectrograms.