In machine learning, what is the primary purpose of the attention mechanism in transformer models?
-
A
Weight initialization
-
B
Dynamic focus on input parts
Correct answer
-
C
Gradient computation
-
D
Regularization
Correct answer
B. Dynamic focus on input parts
14 views
Explanation
The attention mechanism allows the model to focus on different parts of the input sequence dynamically.
Doubts & discussion
Not sure why the answer is B? Ask here and get an explanation.
Ask a doubt about this MCQ