Karpathy's LLM Lecture Becomes Interactive HTML Walkthrough

The 30-Second Skim
- What happened: An interactive HTML guide translates Andrej Karpathy's technical lecture into a walkthrough of how ChatGPT-style models are built — from filtering 15 trillion tokens of internet text to post-training a conversational assistant.
- Key facts & numbers: Andrej Karpathy's technical lecture on LLM training has been turned into an interactive HTML guide walking through the full pipeline from raw internet text to a conversational assistant Common Crawl has indexed 2.7 billion web pages since 2007, which gets filtered through URL blocklists, text extraction, language filtering (≥65% English), deduplication, and PII removal to produce the 44 TB FineWeb dataset of ~15 trillion tokens GPT-4 uses a vocabulary of 100,277 tokens built via Byte Pair Encoding, converting text into sub-word chunks that share roots like 'run' + 'ning' and 'run' + 'ner'
- What happens next: The real flex: the page contains a live LLM token-sampling demo inside a literal explainer about how LLMs generate tokens.
- Andrej Karpathy's technical lecture on LLM training has been turned into an interactive HTML guide walking through the full pipeline from raw internet text to a conversational assistant
- Common Crawl has indexed 2.7 billion web pages since 2007, which gets filtered through URL blocklists, text extraction, language filtering (≥65% English), deduplication, and PII removal to produce the 44 TB FineWeb dataset of ~15 trillion tokens
- GPT-4 uses a vocabulary of 100,277 tokens built via Byte Pair Encoding, converting text into sub-word chunks that share roots like 'run' + 'ning' and 'run' + 'ner'
- Scaling laws show model accuracy is a smooth, predictable function of parameters (N) and training tokens (D) with no signs of plateauing — Llama 3 reached 405B parameters on 15T tokens, fueling a GPU arms race
Why It Matters
Distilling a frontier LLM into an interactive walkthrough exposes the unglamorous mechanics behind ChatGPT: 15 trillion filtered tokens, hundreds of billions of parameters, and SFT datasets that train the model to imitate human labelers. The page makes visible why only a handful of well-funded labs can compete in the GPU arms race Karpathy describes.
Sources Cited
Related Coverage
Ask SkimNews