MauryaHub PYQ Practice

Large Language Models · End Term · Jan 2024 · FN

Large Language Models · End Term · Jan 2024 FN

← Course papers · Start practice / exam

This page contains the reliably extracted subset, not the complete original paper.

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

0 / 16 published solutions

Question 197 MCQ · 0.0 marks

Source diagram or notation
6406532755207.
Instruction has been mentioned above.
6406532755208.
This Instruction is just for a reference & not for an evaluation.

A published solution is not available for this question yet.

Report a correction for Q197

Question 198 MCQ · 2.0 marks

BERT stands for
6406532755211.
Bidirectional Encoder Representation for Text
6406532755212.
Bidirectional Encoder Representation from Transformer
6406532755213.
Bidirectionaly Extracted Representation from Transformer
6406532755214.
Bidirectionaly Extracted Representation of Text

A published solution is not available for this question yet.

Report a correction for Q198

Question 199 MCQ · 2.0 marks

The statement that, in general, position information can also be injected into the attention layers of a transformer model instead of the embedding of input tokens is
6406532755241.
TRUE
6406532755242.
FALSE

A published solution is not available for this question yet.

Report a correction for Q199

Question 200 MCQ · 4.0 marks

Source diagram or notation
6406532755237.Source diagram or notation
6406532755238.Source diagram or notation
6406532755239.Source diagram or notation
6406532755240.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q200

Question 201 SHORT_TEXT · 4.0 marks

Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q201

Question 202 MSQ · 3.0 marks

Suppose a GPT model is pre-trained using the Causal Language Modelling (CLM) objective and fine-tuned on a text summarization task. The context length T of the model was kept at 1024 during both pre-training and fine-tuning. Assume that the model uses Absolute Position Embedding (APE) with **learnable** parameters. Based on the above data, answer the given subquestions.
A user runs inference on the model N times with an input text that contains 712 tokens (including the special [start] token), then which of the following could be the possible length of summarized text
6406532755225.
256
6406532755226.
16
6406532755227.
1024
6406532755228.
512

A published solution is not available for this question yet.

Report a correction for Q202

Question 203 MSQ · 3.0 marks

Suppose a GPT model is pre-trained using the Causal Language Modelling (CLM) objective and fine-tuned on a text summarization task. The context length T of the model was kept at 1024 during both pre-training and fine-tuning. Assume that the model uses Absolute Position Embedding (APE) with **learnable** parameters. Based on the above data, answer the given subquestions.
A user runs inference on the model N times with an input text that contains 712 tokens (including the special [start] token). However, the user observed that in each run the model generated the exact same summary. Based on this observation, select the decoding strategy that the model might be using
6406532755229.
Greedy decoding strategy
6406532755230.
Beam search with beam size K > 2
6406532755231.
Top-k sampling with K > 3
6406532755232.
Top-P sampling with p = 0.25
6406532755233.
Greedy decoding by varying the temperature parameter T in the softmax function for each run

A published solution is not available for this question yet.

Report a correction for Q203

Question 204 NAT · 3.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Suppose the input word to the tokenizer is “SomeThing”. Assume that input text is normalized before applying pre-tokenization. Enter the number of tokens returned by the tokenizer. Ignore the special token used to represent the boundary of the word/token.

A published solution is not available for this question yet.

Report a correction for Q204

Question 205 NAT · 3.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Suppose the input word to the tokenizer is “1000000”.Enter the number of tokens returned by the tokenizer.

A published solution is not available for this question yet.

Report a correction for Q205

Question 206 NAT · 4.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Suppose the number of encoder layers N = 3. What is the total number of learnable parameters, including the parameters of the input and position embedding layers, in the model? Enter the final answer in thousands. For example, if the answer is 12,238, then enter 12 as the answer.

A published solution is not available for this question yet.

Report a correction for Q206

Question 207 NAT · 3.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Suppose we increase the context length from T = 256 to T = 512 keeping number of layers same (N = 3). How many parameters does the model need to learn **additionally** compared to the previous setting?

A published solution is not available for this question yet.

Report a correction for Q207

Question 208 NAT · 4.0 marks

Source diagram or notation
Compute the representation for the word “coffee” and enter the sum of the elements in it.

A published solution is not available for this question yet.

Report a correction for Q208

Question 209 NAT · 4.0 marks

Source diagram or notation
Suppose the input sentence is “coffee i like much“. What is the attention score between the word “coffee” with “much”?

A published solution is not available for this question yet.

Report a correction for Q209

Question 210 NAT · 3.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
What is the input sequence length that would have generated this matrix?

A published solution is not available for this question yet.

Report a correction for Q210

Question 211 MSQ · 4.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation
6406532755218.
(8,8)
6406532755219.
(64,64)
6406532755220.
(32,32)
6406532755221.
(16,16)
6406532755222.
(8,16)
6406532755223.
(16,8)

A published solution is not available for this question yet.

Report a correction for Q211

Question 212 NAT · 4.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 Q212