liveBook · Manning

Generation

As explained in Sutskever's List

A model that learns a data distribution and can sample new data from it.

Generation samples new text from a model’s learned distribution. A language model can produce sentences, paragraphs, or multiturn conversations; its learned probabilities reflect both grammatical form and meaning. section 5.1

Most modern large language models generate autoregressively: they predict one word or token at a time, conditioning each prediction on what came before. The probability of a sentence becomes a chain of conditional probabilities. During training, a causal mask blocks access to future tokens, while shifted sequences provide next-token labels at every position. section 5.1

Grammar and meaning shape probability

“The mouse ate the cheese” is plausible; “The the mouse ate cheese” is grammatically broken, while “The cheese ate the mouse” is grammatical but semantically odd. A capable language model assigns these examples different probabilities, reflecting both syntax and semantics. section 5.1

How Sutskever's List covers it

How deep it goes
Explains conditional token prediction, next-token training, and causal masking without detailing sampling procedures.
Examples
Contrasts plausible, grammatically broken, and semantically odd sentences to show how models reflect syntax and meaning.
What you can do after
Understand how autoregressive models generate text and how next-token prediction trains them.
How it connects
Connects generation to language models, autoregressive modeling, self-supervised learning, causal masking, syntax, semantics, and recurrent neural networks.

Also explained in

Compare how 20 books explain generation →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Sutskever's List. The section links point to the parts of the book it draws on.