MauryaHub PYQ Practice

Large Language Models · Quiz 1 · Jan 2024

Large Language Models · Quiz 1 · Jan 2024

← Course papers · Start practice / exam

Questions and published explanations below are available without starting a test. Some questions may not have a published solution yet.

0 / 17 published solutions

Question 181 NAT · 1.0 marks

Enter the correct answer for blank (b) __________.

A published solution is not available for this question yet.

Report a correction for Q181

Question 183 MCQ · 0.0 marks

Source diagram or notation
6406532474503.
Useful Data has been mentioned above.
6406532474504.
This data attachment is just for a reference & not for an evaluation.

A published solution is not available for this question yet.

Report a correction for Q183

Question 184 NAT · 3.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q184

Question 185 NAT · 2.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q185

Question 186 NAT · 3.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation
Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q186

Question 187 MCQ · 2.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation
Which token in the sequence was given the highest score?
6406532474508.
G
6406532474509.
C
6406532474510.
T
6406532474511.
A

A published solution is not available for this question yet.

Report a correction for Q187

Question 188 NAT · 3.0 marks

Consider the following configuration for the Vannila transformer architecture with one encoder layer and one decoder layer.
Source diagram or notation
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.

Report a correction for Q188

Question 189 NAT · 3.0 marks

Consider the following configuration for the Vannila transformer architecture with one encoder layer and one decoder layer.
Source diagram or notation
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.

Report a correction for Q189

Question 190 MCQ · 4.0 marks

Source diagram or notation
6406532474514.Source diagram or notation
6406532474515.Source diagram or notation
6406532474516.Source diagram or notation
6406532474517.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q190

Question 191 MCQ · 4.0 marks

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.

Report a correction for Q191

Question 192 MSQ · 3.0 marks

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.

Report a correction for Q192

Question 193 MSQ · 4.0 marks

Source diagram or notation
6406532474522.
512
6406532474523.
1024
6406532474524.
1536
6406532474525.
2048

A published solution is not available for this question yet.

Report a correction for Q193

Question 194 MSQ · 4.0 marks

Choose the correct statements
6406532474532.
All the parameters of the GPT model are randomly initialized during pre- training
6406532474533.
The model minimizes the CLM objective during fine-tuning to improve the performance
6406532474534.
All parameters of the GPT model are randomly initialized during fine-tuning
6406532474535.
In general, fine-tuning requires a dataset with labels

A published solution is not available for this question yet.

Report a correction for Q194

Question 195 MSQ · 4.0 marks

Source diagram or notation
6406532474536.
Top-k sampling
6406532474537.
Beam search with the beam size K = 2
6406532474538.
Top-p sampling
6406532474539.
Exhaustive search
6406532474540.
None of these

A published solution is not available for this question yet.

Report a correction for Q195

Question 196 MCQ · 4.0 marks

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
Source diagram or notation
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.

Report a correction for Q196

Question 197 NAT · 4.0 marks

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
Source diagram or notation
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.

Report a correction for Q197

Question 198 MCQ · 3.0 marks

The statement that “the Next Sentence Prediction (NSP) task requires the BERT model to run autoregressively given the first sentence( or segment)” is
6406532474541.
TRUE
6406532474542.
FALSE       **BDBN** **Section Id :** 64065351462 **Section Number :** 13

A published solution is not available for this question yet.

Report a correction for Q198