-
BPE Tokenizer From Scratch in Python: Step by Step Guide
A beginner friendly walkthrough of byte pair encoding. We write a BPE tokenizer from scratch three ways, scale it with Hugging Face tokenizers, and tokenize two million stories.
-
Byte-Pair Encoding Explained: Why Tokenization Isn’t Just Splitting on Spaces (Ep.01.00)
Every episode of Module 00 quietly relied on .split() — text broken into whole words at whitespace, no questions asked. It was a deliberate simplification, flagged twice and never resolved.…