Each attention score is the dot product of a query and a key with entries, and softmax turns the scores into positive weights that sum to one.
Before the softmax, every score is divided by , about 11.3 for .
Each attention score is the dot product of a query and a key with entries, and softmax turns the scores into positive weights that sum to one.
Before the softmax, every score is divided by , about 11.3 for .