This article is divided into four parts; they are: • How Logits Become Probabilities • Temperature • Top- k Sampling • Top- p Sampling When you ask an LLM a question, it outputs a vector of logits.
source https://machinelearningmastery.com/how-llms-choose-their-words-a-practical-walk-through-of-logits-softmax-and-sampling/
How LLMs Choose Their Words: A Practical Walk-Through of Logits, Softmax and Sampling
December 23, 2025
0
Tags:
Post a Comment
0Comments