Skip to content

I — Language Model Foundations

This part establishes the groundwork for everything that follows: how raw text becomes something a model can compute on, and the first statistical language models.

Chapters in this part

What you'll be able to do

  • Explain how modern tokenizers segment text and why subword units matter.
  • Inspect and analyze a real tokenizer's vocabulary.
  • Build an n-gram language model and use it to score and generate text.