~/talk

Which Is To Be Master? Understanding LLM Tokenization

Talkat DevConf.US 2025 · 2025-09-19..09-20· [large-language-models]
links:none on file
slides:none on file

Compares concrete tokenizers—Byte Pair Encoding, WordPiece, and unigram tokenizer—and trains tokenizers from corpora, then runs HMM surrogates to measure impact: small vocabularies produce garbage, larger ones recover recognizable text; vocabulary size dominates memory (V ≈ 20× embedding dim) and fertility (tokens/characters) tracks compression. Cites a paper showing an optimal vocabulary region, finds many popular models off that optimum, and reports ~70% retrieval for missing-word embeddings. Code and experiments are on GitHub.

AI-written summary · about

  1. 0:00LLM tokenization basics
  2. 1:03How LLMs tokenize text
  3. 3:55What tokenizers do
  4. 7:09Tokenizer algorithms
  5. 12:30Special tokens role
  6. 13:38Why tokenization cannot be changed easily
  7. 15:25Tokenization cost vs fidelity
  8. 17:13Vocabulary size trade-offs
  9. 18:15Tokenization performance impact
  10. 22:26Tokens vs LLMs
  11. 23:27Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.