Activity (Process)

Ranking Stage in 1-Best Selection

The ranking stage, labeled as step ②, is the second part of the 1-best selection process. In this stage, the candidate tokens generated during expansion are sorted in descending order according to their probabilities. For example, a list of candidates might be ranked as follows: 'cute' (Pr = 0.34), 'on' (Pr = 0.32), 'sick' (Pr = 0.21), 'are' (Pr = 0.12), and '.' (Pr = 0.01). This ordering prepares for the final output stage where only the top candidate is selected.

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