imagesmodepost cover
The Softmax Diaries
One function, infinite drama
Softmax turns logits into a probability distribution:
The temperature sets the mood: low makes the model confident and spiky, high makes it hesitant and flat.
lightbulbTipexpand_more
Sampling with is a good default when you want variety without chaos.
Why it’s everywhere
It’s differentiable, it normalises, and it plays nicely with cross-entropy. Of course it’s everywhere.