01Chapter 1: What a language model does: predicting the next tokenYou should be able to read basic Python, understand vectors and matrix multiplication, and recognize a probability distribution. You should also know that a neural network learns numerical parameters from examples.2 min read
02Chapter 2: Positional information: telling the model where tokens areAssume you know basic Python, vectors, matrix multiplication, probability distributions, and the general idea of neural networks. This chapter connects token positions, transformer blocks, generation, and pretraining.2 min read
03Chapter 3: Generating text: greedy decoding, temperature, and top-k samplingAssume you know basic Python, vectors, matrix multiplication, probability, and the idea of a neural network. A language model produces text by repeatedly choosing one token from the probability distribution for the next token.2 min read