ML Notes · 10 posts
Writing
I've been fascinated by the emergent capabilities that appear as we scale generative models. It surprised me that a simple objective like next-word prediction can produce something that behaves like a world model, and I wanted to understand exactly how that happens at the implementation level. So I worked through Andrej Karpathy's Zero to Hero series, coding each lecture rather than just watching, and documented my progress in this technical blog.
The blog builds the language model stack from first principles: an autograd engine, a bigram character-level model, an MLP, batch normalization, a WaveNet-inspired model, a character-level transformer, a BPE tokenizer, and finally GPT-2 pretrained on 4 A100 GPUs.