A logit is a raw score for an available choice. Softmax converts a set of logits into probabilities, which a policy can use to sample an action. section 9.3
Choosing a production level
For Low, Medium, and High production, logits [1.0, 2.5, 0.5] become probabilities of 0.17, 0.76, and 0.10. The policy samples an action; a good return can increase the chosen action’s probability. section 9.3
In language generation, logits score possible next tokens. Decoding turns those scores into probabilities and selects a token, either by choosing the highest-probability option or sampling. section 10.2
Figure 10.1 Overview of large language models architecture.

The architecture figure situates next-token logits at the output stage of language generation. section 10.2























