Consider the following configuration for the Vannila transformer architecture with one encoder
layer and one decoder layer.
Based on the above data, answer the given subquestions.
Suppose the number of learnable parameters in the source input embedding layer is 1600, how
many parameters are there in the positional embedding layer of the source language? Assume the
positional embeddings are learnable.
A published solution is not available for this question yet.
Consider the following configuration for the Vannila transformer architecture with one encoder
layer and one decoder layer.
Based on the above data, answer the given subquestions.
How many parameters are there in the multi-head attention layer of the encoder (exclude the
parameters in the WO matrix used for linear transformation)?
A published solution is not available for this question yet.
Suppose we run the pre-trained GPT model in an autoregressive fashion for generating a text
sequence. Then, the statement that “ We do not need to add the positional embedding to the
predicted tokens at every time step” is
6406532474530.
TRUE
6406532474531.
FALSE
A published solution is not available for this question yet.
Suppose we have a dataset for machine translation tasks with thousands of samples. Suppose a
team considers training the transformer model. The model could be trained in two approaches
A Autoregressive training
B Teacher forcing
Choose the correct statements
6406532474518.
Approach A helps the model to converge faster than approach B
6406532474519.
Approach B helps the model converge faster than approach A
6406532474520.
One can start the training with approach B first and then switch to approach A
after some training steps
6406532474521.
Once the training starts with approach B and then switching to approach A
after some training steps can not be done
A published solution is not available for this question yet.
Consider a GPT model used for Causal language modelling. We feed the input sentence “This is a
cool idea” to the model by appending special staring [BOS] and ending [EOS] tokens ( that is,
“[BOS] This is a cool idea [EOS]”). Assume the context length of the model is 7. The attention matrix
computed in one of the attention layers is given below
Based on the above data, answer the given subquestions.
The attention score matrix given in Table 1 is appropriate for the causal language modelling task
6406532474526.
True
6406532474527.
False
6406532474528.
Insufficient information
A published solution is not available for this question yet.
Consider a GPT model used for Causal language modelling. We feed the input sentence “This is a
cool idea” to the model by appending special staring [BOS] and ending [EOS] tokens ( that is,
“[BOS] This is a cool idea [EOS]”). Assume the context length of the model is 7. The attention matrix
computed in one of the attention layers is given below
Based on the above data, answer the given subquestions.
Assume the time step starts from t = 0 and ends at t = 6. Suppose the model is at time step t = 4,
what is the attention value assigned for the word “is”?
A published solution is not available for this question yet.