← All Posts
Natural Language Processing

NLP: Reading Guide

Natural language processing turns language into something a computer can analyze, predict or generate. The central questions fit together: what task are we solving, how do we represent its text, what does the model learn, and how do we tell whether its output helps?

Begin with the textbook path below. It builds the ideas with small examples before introducing larger systems. Use the research-paper collection when you want to follow a particular idea back to its source.

Popular textbooks

A first route: task → tokens → probabilities

Keep one question in mind as you move through the first three chapters: how does a system turn a piece of language into a useful prediction?

  1. Start with language models and useful systems. Understand what next-token prediction supplies and where the surrounding task, data and evaluation enter.
  2. Make the input explicit. Follow words, characters and subwords into token sequences; work through the representation before reasoning about a model.
  3. Build a language model from counts. Calculate conditional probabilities, score a sequence and see why unseen combinations create a modeling problem.
Use the prerequisites when you need them.

The introduction is a conceptual starting point. For the probability calculations, revisit probability foundations and entropy and log-loss. For experiments, use train, validation and test splits to separate learning from evaluation.

LLM evaluation datasets & benchmarks

Connect the foundations to another question

For each chapter, try the small example yourself before reading the result. Then explain which quantities came from data, which were design choices, and which would need to be measured on unseen examples. That habit carries from count-based models to much larger language systems.