s
Feb. 20, 2024, 6:02 p.m. |

Simon Willison's Weblog simonwillison.net

Let's build the GPT Tokenizer


When Andrej Karpathy left OpenAI last week a lot of people expressed hope that he would be increasing his output of educational YouTube videos.


Here's an in-depth 2 hour dive into how tokenizers work and how to build one from scratch, published this morning.


The section towards the end, "revisiting and explaining the quirks of LLM tokenization", helps explain a number of different LLM weaknesses - inability to reverse strings, confusion over arithmetic and even …

ai andrej karpathy andrejkarpathy build educational generativeai gpt hour llms openai people scratch videos work youtube

Founding AI Engineer, Agents

@ Occam AI | New York

AI Engineer Intern, Agents

@ Occam AI | US

AI Research Scientist

@ Vara | Berlin, Germany and Remote

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Lead GNSS Data Scientist

@ Lurra Systems | Melbourne