Field Notes

Series

LLMs, the whole thing

Working through large language models from the ground up — turning text into tokens, embeddings and the geometry of meaning, the transformer architecture, attention, how these models are trained, and what separates one generation from the next.

11 posts · 90 min total · updated 20 Sep 2026

Part 3

From Tokens to Token IDs

An LLM never sees your text — it sees integers. Building a tokenizer from a regex and a dictionary, hitting the out-of-vocabulary wall, and why GPT’s byte-pair encoding is the fix that needs no unknown token.

14 Aug 2026 · 8 min read ·149 views

← All topics