Figure in words
- A dark code window
- three word pieces: un · believ · ably
- e + s → es
- toytok 0.1.0 · wheel
- run 1 = run 2 ✓
- a tree: + over 2 and a * node over 3 and 4
- four tags beside it: Pieces · Merges · Trees · Release
The Sprints
Subword Pieces
23 chars, two [UNK] words, or 7 pieces that glue back into the text.
Sprint 22Merge Ties
Ten merges: 95 symbols to 28. Six were ties, and ties change splits.
Sprint 23Parse Trees
2 + 3 * 4: 14 by the grammar, 20 by the other tree. Readings grow 2, 5, 14…
Sprint 24Sealed Release
Built twice, same SHA-256. PyPI never reuses a filename.
Sprint 25Now I Can Outcome
Tokenize, train BPE merges, parse with precedence, ship a wheel.
Mistakes Avoided Lessons
Words counted as tokens, hidden tie rules, silent duplicate keys.
Habits Kept Practice
Round-trip encodings. Print the merges. Reject with a reason.
Phase Project
One small library: a tokenizer with BPE merges and a strict parser, tested and released on TestPyPI.
R Trusted Sources
The Sprint Pages
How Tokenization WorksA model never reads my words. It reads the numbers a tokenizer hands it.
Byte Pair Encoding & Its Edge CasesA tokenizer is a list of merges. Change the list or its order, and words split differently.
Parsing Structured Meaning from TextText has an order. Meaning has a shape. A parser finds the shape, or says it cannot.
Publishing a PackageA release is a promise kept in a file. Once it is out, it cannot be quietly changed.
