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¶
- Chapter 1: Tokenization & Vocabulary — How text is split into tokens, how subword vocabularies (e.g. BPE) are built, out-of-vocabulary handling, and a first look at n-gram language modeling. Supporting notebooks: Setup Tutorial · AI Usage Example.
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.