Learn Before
Activity (Process)

Ranking and 1-Best Selection Process

The Ranking and 1-Best Selection process is a decoding method that involves three main stages. First, in the Expansion stage, a set of potential next tokens is generated. Second, in the Ranking stage, these candidates are sorted based on their probabilities from highest to lowest. Finally, in the Output stage, the single token with the highest probability (the '1-best') is selected, and all other lower-probability tokens are discarded or 'pruned'.

Image 0

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