How does a BPE tokenizer work?
Finishing my BPE-from-scratch adventure
Personal site and technical notebook
Writing about algorithms, systems, implementation details, and the parts of software work worth keeping around.
Latest posts
Projects, technical ideas, and implementation notes.
Finishing my BPE-from-scratch adventure
KV compaction is the quintessential step for long context conversations.
Let's review a new method for it!
Some experiments I ran using my implementation
A paper overview
Implementing a disjoint-set union (Union-Find) data structure
Tools I will (continue to) use in 2026
Putting fun into functors! (But only working with morhphisms)
In which I attempt to explore CPU emulation
I almost gave up but decided to come back to images and flows
I am trying to build a BPE tokenizer