Learning to build models by taking them apart.

This is my lab notebook. Every experiment starts with a prediction and ends with a number: what I trained, what it cost, and whether I was right.

Right now: pretraining a small GPT from scratch, then post-training open models, with a soft spot for Hindi and Sanskrit.

GPT-2 tokenizer (2019)

Loading…

o200k tokenizer (2024)

Loading…

Each box is one piece the model sees. A small number on a box means several tokens were needed for that one piece, usually because the script wasn't in the tokenizer's vocabulary.

Writing

Lab

Learning log

Week 1 of 16: Backprop by hand.

  1. 1Backprop by hand