What is the formula for scaled dot-product attention?
Correct answer
B. softmax(QKᵀ/√d_k)V
13 views
B. softmax(QKᵀ/√d_k)V
13 views
Attention(Q,K,V) = softmax(QKᵀ/√d_k)V. Source: GitHub (PyTorch teacher exam), Q1.
Asked in: General
Not sure why the answer is B? Ask here and get an explanation.