📞 0339-0387701 (WhatsApp) Contact

« Back to Data Science & AI (NCCIA)

What is the softmax function used for in attention?

A. To convert raw attention scores into probabilities that sum to one ✅
B. To sort tokens alphabetically
C. To delete low scores completely
D. To encrypt the scores

Correct Answer: A. To convert raw attention scores into probabilities that sum to one

Explanation

Softmax normalises scores into weights that determine how much each token contributes.