MODEL INTERFACE / SAMPLING
Candidate filtering and renormalization
Keep temperature at τ=1. Change the count on the left or probability threshold on the right. Green marks the last cumulative value retained by top-p.
Kept: p′ᵢ = pᵢ / retained massExcluded: p′ᵢ = 0
Temperature τ = 1 · top-k and top-p applied separately
Scroll the table to see filtered probabilities →
| Token / ID | Original | Cumulative | After top-k | After top-p |
|---|
Top-p includes the token that reaches or crosses the threshold. The filters are applied separately. On a narrow screen, scroll the table horizontally.