Skip to content
RED SAGSkills
hard20 pts · first answer countsattentiontransformers

Why attention divides by sqrt(d_k)

Scaled dot-product attention computes softmax(QK^T / sqrt(d_k)). What goes wrong if you drop the sqrt(d_k) scaling for large head dimensions?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions