Question 1
Consider the following Assertion (A) and Reason (R) about the Transformer encoder. Assertion (A): In a Transformer encoder, each token can attend to every other token in the input sequence through self-attention. Reason (R): The encoder's self-attention mechanism uses a causal mask to prevent each token from attending to tokens that appear later in the sequence. Choose the correct option:
Both Assertion (A) and Reason (R) are true, and Reason (R) is the correct explanation of Assertion (A).
Both Assertion (A) and Reason (R) are true, but Reason (R) is not the correct explanation of Assertion (A).
Assertion (A) is true, but Reason (R) is false.
Assertion (A) is false, but Reason (R) is true
Both Assertion (A) and Reason (R) are false.