Understand the algorithm that turns a trained language model into text, well enough to say what every sampling setting does to the distribution and to tell a model failure apart from a decoder failure
How a Model Picks Its Next Word

The model produces a distribution and something else has to choose a word. This course covers that choice, from greedy search and beam width through temperature, truncation, repetition, grammars and speculative decoding.
8 lessons, written and corrected before you arrived. Reading them here needs no account. The first reads the whole way through; the others open and then stop, because a page nobody owns cannot tell who is reading it. Starting the course gives you your own copy, where every idea has problems standing under it and you can ask about any sentence.
This is course 4 of 8 in a reading track: explain the model everybody is actually using. The track is an order, not a gate, and the rest of it is on one page.