Activity (Process)

Output Stage in Top-k Sampling

The output stage is the final step (labeled ④) in a single iteration of the Top-k sampling process. The token that was selected through sampling in the previous stage is confirmed as the generated output. This token is then appended to the sequence of text, and the model can begin the entire process again to generate the next token.

Image 0

0

1

Updated 2025-10-10

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