Self-check

Attention and Transformers

One answer per question, one attempt per quiz — you cannot retake it.

Question 1 of 5

Why does the LSTM's cell state update help prevent vanishing gradients for long-term dependencies?

Question 2 of 5

Why is it essential to scale the dot products by 1/√d in the Transformer's self-attention?

Question 3 of 5

What is the main role of the softmax operation in the Bahdanau attention mechanism?

Question 4 of 5

Why does the Transformer decoder use a causal mask during training?

Question 5 of 5

What is the main advantage of using Byte-Pair Encoding (BPE) for tokenization in Transformers?