HackerTube 中文?

Let's build the GPT Tokenizer

Andrej KarpathyYouTube ↗

Archive guide

Andrej Karpathy builds the GPT tokenizer from scratch, implementing byte pair encoding along with encode and decode. He shows how many odd LLM behaviors trace back to tokenization, and covers Unicode byte encodings along the way.

Hacker News comments

View original on HN ↗