| Token | Logit ($z_i$) | Exp $e^{z_i/T}$ | Prob $P(t_i)$ | Status |
|---|
| Step | Sampled Token | Probability | Logit | Temp | Top-K | Top-P |
|---|
| Token | Logit ($z_i$) | Exp $e^{z_i/T}$ | Prob $P(t_i)$ | Status |
|---|
| Step | Sampled Token | Probability | Logit | Temp | Top-K | Top-P |
|---|
The lab divides logits by temperature, subtracts their maximum, exponentiates and normalizes. For hypothetical two tokens with logit gap one, temperature one gives the leading token about seventy-three point one percent; temperature point five gives eighty-eight point one. Bars share four pixels per percentage point. This is arithmetic on toy logits, not a backend language-model request. After sorting probabilities, the source keeps at most K tokens. Hypothetical two candidates with K two retain both; K one retains only the leader. Bars share one hundred pixels per token. The remaining distribution is then normalized so retained probabilities sum to one; removed candidates cannot be sampled from that filtered distribution. With equal logits, two candidates each have fifty percent raw probability and four candidates each have twenty-five. Bars share five pixels per token probability percentage. Equal logits remain equal under temperature scaling. The source teaches softmax, top-K and top-P with explicit pipeline stages; actual complete native JSON/reset and responsive first-footer checks preserve the default distribution. Random generation actions and full independent scene approval remain separate; no model API is called.