L4.4
Build a Simple Tokenizer
Goal
Turn text into stable integer token IDs, then turn those IDs back into readable tokens, while making the limitations of a tiny word-level vocabulary visible.
A language model cannot multiply words directly. It needs numbers. Tokenization is the reproducible bridge from text to the integer IDs that later select embedding rows.