MIT-Diffusion-Tutorial https://diffusion.csail.mit.edu/ A wonderful tutorial on flow model and diffusion model from first principle.