Activity (Process)

Output Stage in Top-k Sampling

The output stage, labeled as step ④, is the final step in the top-k sampling process. In this stage, the single token that was chosen during the selection and sampling phase is finalized as the output. For example, after the token 'on' was sampled from the renormalized distribution, it becomes the definitive next token in the generated sequence.

0

1

Updated 2026-05-02

Contributors are:

Who are from:

Tags

Ch.5 Inference - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences

Related