Glitch Tokens - Computerphile
What it is
Rob Miles explains "glitch" tokens, odd strings in large language model vocabularies that make the model produce gibberish. He covers how they likely arise from tokenizer training data, such as Reddit usernames, that never appeared in the model's own training.
Why Hacker News recommends it
HN points to it as the accessible explanation of why glitch tokens exist whenever tokenizers or odd GPT behavior come up.
- 2 people recommended it
- 2 different months
- 0 strong recommendations
- first 2023, last 2023
What HN commenters said
“I found this tool recently when it was linked from this Computerphile video[1]”
Covers how junk data left odd tokens that make GPT models misbehave.
non-, 2023-04 · Recommendation · in “OpenAI Tokenizer”
“it's also a good introduction to the topic.”
Good introduction to glitch tokens.
weinzierl, 2023-06 · Recommendation · in “Understanding GPT Tokenizers”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: glitch tokens, tokenizers, gpt, ai safety, bpe
Also recommended by the same people
tutorialShaderToy LiveCoding - The Drive Home - 1. Basic SetupThe Art of Code · 2 HN recommenders · 2018–2025
explainerTransformers, the tech behind LLMs | Deep Learning Chapter 53Blue1Brown · 13 HN recommenders · 2024–2026
lectureDeep Dive into LLMs like ChatGPTAndrej Karpathy · 10 HN recommenders · 2025–2026
tutorialLet's build GPT: from scratch, in code, spelled out.Andrej Karpathy · 14 HN recommenders · 2023–2025
tutorialA Hackers' Guide to Language ModelsJeremy Howard · 8 HN recommenders · 2023–2024
talk[1hr Talk] Intro to Large Language ModelsAndrej Karpathy · 9 HN recommenders · 2023–2026
lectureSparks of AGI: early experiments with GPT-4Sebastien Bubeck · 7 HN recommenders · 2023–2026
lectureLet's build the GPT TokenizerAndrej Karpathy · 5 HN recommenders · 2024–2025