← Back to Test

Problem 9 - Entrance Test

What is the purpose of the attention mechanism in sequence-to-sequence models?

Correct: B

Attention allows the decoder to dynamically weigh encoder hidden states, improving translation quality by capturing long-range dependencies.