Unembedding Produces One Logit per Vocabulary Token
Unembedding maps each width-four final record to eight vocabulary logits. Calculate the complete tied row, distinguish logits from probabilities, and apply softmax across the vocabulary axis.
Unembedding maps each final model-width record to one score for every vocabulary token. With and ,
The values in are logits. They are not probabilities and do not need to sum to 1.
Calculate One Tied Logit Row
Under weight tying, . Use
The logit for token C is the dot product with its embedding row
:
The A logit is . The <eos> embedding is , so
Calculating every token gives approximately
C has the largest logit in this illustrative row. These sparse untrained
weights provide arithmetic, not a claim about learned language behavior.
Softmax Uses the Vocabulary Axis
For each row, softmax normalizes across . Normalizing across time would make positions compete with one another and would not define a next-token distribution. Stable implementations subtract the row maximum before exponentiation.
Top-logit selection can be performed without materializing probabilities, but probabilities or log-probabilities are required for calibrated sampling and cross-entropy calculations.
Q1. Calculate a tied token logit
For the row above and token Y embedding , what is the tied
logit, rounded to six decimal places?
Compute it first, then check your number.