∑
TestPrep
Magic
Features
Entrance Test
Puzzles
Videos
Practice
Download Free
Features
Entrance Test
Puzzles
Videos
Practice
Download Free
← Back to Test
Problem 9 - Entrance Test
What is the purpose of the attention mechanism in sequence-to-sequence models?
A. To reduce the vocabulary size
B. To focus on relevant encoder hidden states while decoding
C. To eliminate the need for backpropagation
D. To replace recurrent layers entirely
Check Answer
Show Solution
Correct: B
Attention allows the decoder to dynamically weigh encoder hidden states, improving translation quality by capturing long-range dependencies.