Skip to main content
New Self-paced AI courses — learn ML, deep learning, and agents on your schedule. Enroll free

Large Language Models

Tokenizers for LLMs

How raw text becomes tokens, and why that choice shapes everything downstream.

5 lessons Follow in order
Use the button below to sign in and unlock lessons.
Your path

Lessons in sequence

Work through these in order—each lesson builds on the previous one.

  1. Lesson 1 of 5

    Why tokenization matters

    Enroll to open · 7 min read

  2. Lesson 2 of 5

    Byte-pair encoding (BPE)

    Enroll to open · 9 min read

  3. Lesson 3 of 5

    WordPiece and SentencePiece

    Enroll to open · 7 min read

  4. Lesson 4 of 5

    Vocabulary size tradeoffs

    Enroll to open · 7 min read

  5. Lesson 5 of 5

    Tokenization pitfalls

    Enroll to open · 7 min read

← Back to course