What is autoregressive?
Generating a sequence one token at a time, feeding each new token back in as input for the next.
Where it is taught
From logits to language. A trained model only ever outputs a distribution over the next token. Writing a paragraph means sampling from it over and over.
What the lesson leaves you with
- A language model outputs one distribution: the next token given the tokens so far.
- Text is generated by sampling a token, appending it, and running the model again.
- Temperature, top-k and top-p control the balance between predictable and varied output.
Questions
- What is autoregressive?
- Generating a sequence one token at a time, feeding each new token back in as input for the next.
- Where is autoregressive used in AI?
- A trained model only ever outputs a distribution over the next token. Writing a paragraph means sampling from it over and over.
- What is the key idea to remember about autoregressive?
- A language model outputs one distribution: the next token given the tokens so far.
- Where can I learn autoregressive step by step?
- In the lesson “From logits to language” in Gradient’s course on the maths behind AI, with interactive diagrams and questions.