Practice
Learn
← Quit
0 / 0 correct
LLMs & AI
Hard
1 of 496
Why is softmax computed as exp(x − max(x)) / Σ exp(x − max(x)) in practice?
A
Subtracting the max avoids floating-point overflow without changing the result
B
It changes the probabilities to favor rare tokens
C
It makes softmax faster
D
It is required for causal masking