Blog
Writing on research, engineering, and ideas.
Notebooks
Interactive notebooks — open directly in Google Colab to run and explore.
-
DiffEdit: Text-Guided Image Editing via Diffusion
Implements the DiffEdit paper — targeted image editing using stable diffusion. Automatically generates edit masks by comparing noise predictions from two prompts, then denoises ...
-
Convolutions & CNNs with fastai
A ground-up tour of convolutions — from the raw operation to building and training CNNs using fastai. Covers filters, padding, stride, pooling, and receptive fields.
-
Score Models on 1D Distributions (JAX)
Trains score-based generative models on simple 1D distributions in JAX. Covers score matching, Langevin dynamics sampling, and the connection to diffusion.
-
Mean Shift Clustering & K-D Trees
Implements mean shift clustering from scratch, with k-d trees for fast neighbor queries and GPU batching for efficient density estimation over large point sets.
Writing
-
Hello World — A Sample Post with Math
A demo post showing KaTeX math rendering. Inline math and display math both work out of the box.