Series

Building a Language Model from Scratch

A tokenizer, a Transformer, a training loop, and a 45-minute leaderboard run, written from PyTorch primitives while working through Stanford’s CS 336. Every post is built around numbers I measured.

Parallelism in AI

How training is split across many GPUs, from replicating the whole model to slicing weight matrices. Each post is animated and narrated.