Skip to content
ml-recall

#masked-self-attention

3 questions from Attention & Transformers

Timed test

3 questions · 3 min · score and explanations at the end

Take a test
Q 1 / 3Score 0 / 0

Question 1: Short answer

easyAI-checkedAttention & Transformers

A GPT-style decoder applies left-to-right (causal) masking to a sequence of 6 tokens: token tt may attend only to tokens 1,…,t1, \dots, t. How many of the 36 entries of the 6×66 \times 6 attention-weight matrix can be non-zero?

a whole number