AI Base

Chapter 01 · overview · 1 min read

Decoding and Prompting

A trained language model outputs a probability distribution over the next token, not a finished sentence. This section covers the algorithms that turn those probabilities into actual output, and the input-side counterpart: writing the prompt that shapes what those probabilities will look like in the first place.

Topics in this section: