MauryaHub PYQ Practice

Large Language Models · End Term · Sep 2024 · AN

Large Language Models · End Term · Sep 2024 AN

← 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 / 21 published solutions

Question 175 MCQ · 0.0 marks

Source diagram or notation
6406533531259.
Instructions has been mentioned above.
6406533531260.
This Instructions is just for a reference & not for an evaluation.

A published solution is not available for this question yet.

Report a correction for Q175

Question 176 NAT · 3.0 marks

Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q176

Question 177 MCQ · 3.0 marks

Assume that we have a large corpus of text. The vocabulary constructed from the text contains 10000 words. Of these, 100 words occurred only once in the entire corpus of text. The parameters of the embedding layer and the output layer of the model are shared. Suppose we create a batch of 256 samples (each sample is a sentence from the corpus). None of these samples contains any of the 100 rare words. Suppose we pre-train the model for one iteration using the batch of samples, then:
6406533531262.
it is certain that the embeddings of none of these 100 rare words will get updated.
6406533531263.
there is a chance that the embeddings of all or some of these 100 rare words will get updated
6406533531264.
the embeddings of all these 100 rare words will defintely get updated
6406533531265.
None of these

A published solution is not available for this question yet.

Report a correction for Q177

Question 178 MCQ · 3.0 marks

Suppose we use a pre-trained model for text generation with the given prompt “I am going to”. Which of the following decoding strategies can be used such that the pre-trained model generates same text completion each time it is executed
6406533531266.
Beam search with beam size 4
6406533531267.
Greedy approach
6406533531268.
Top-K with k = 2
6406533531269.
None of these

A published solution is not available for this question yet.

Report a correction for Q178

Question 179 MSQ · 3.0 marks

Assume that we have 12 sufficiently large supervised NLP datasets for different tasks like sentiment classification, textual entailment, language understanding and so on. Suppose we take all the samples (dropping labels) from these datasets to train the GPT model using the CLM objective.Then which of the following transfer learning approaches is (are) appropriate to transfer the knowledge to any of these 12 downstream tasks?
6406533531287.
Zero shot learning
6406533531288.
Few-shot learning
6406533531289.
Full Fine-tuning
6406533531290.
None of the given approaches are appropriate as the model has already been trained using samples from all the 12 datasets

A published solution is not available for this question yet.

Report a correction for Q179

Question 180 MCQ · 2.0 marks

What is the order of the language modeling pipeline?
6406533531291.
First, the model, which handles text and returns raw predictions.The tokenizer then makes sense of these predictions and converts them back to text when needed.
6406533531292.
First, the tokenizer, which handles text and returns IDs. The model handles these IDs and outputs a prediction, which can be some text.
6406533531293.
The tokenizer handles text and returns IDs. The model handles these IDs and outputs a prediction. The tokenizer can then be used once again to convert these predictions back to some text.
6406533531294.
None of these

A published solution is not available for this question yet.

Report a correction for Q180

Question 181 MCQ · 2.0 marks

Consider following statment and mark if it is true or false: Repeating examples in the pre-training datasets are completely harmless for downstream performance.
6406533531310.
TRUE
6406533531311.
FALSE

A published solution is not available for this question yet.

Report a correction for Q181

Question 182 MCQ · 2.0 marks

What is the time complexity of the computing attention matrix A with strided local attention (parameterized by c) and batch size of one? The symbols have the usual meaning.
6406533531312.Source diagram or notation
6406533531313.Source diagram or notation
6406533531314.Source diagram or notation
6406533531315.Source diagram or notation
6406533531316.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q182

Question 183 MCQ · 2.0 marks

Source diagram or notation
6406533531320.
k = 0 will perform same as compared to k = 600
6406533531321.
k = 0 will perform worse compared to k = 600
6406533531322.
k = 0 will perform better compared to k = 600
6406533531323.
Value of k is irrelevant as the difference between position embeddings of two consicutive tokens remain the same.

A published solution is not available for this question yet.

Report a correction for Q183

Question 184 MCQ · 2.0 marks

Source diagram or notation
6406533531324.Source diagram or notation
6406533531325.Source diagram or notation
6406533531326.Source diagram or notation
6406533531327.Source diagram or notation
6406533531328.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
How many tokens are there in the initial vocabulary?

A published solution is not available for this question yet.

Report a correction for Q185

Question 186 MCQ · 3.0 marks

Source diagram or notation
Which of the following pairs has the least score before any merge?
6406533531275.Source diagram or notation
6406533531276.Source diagram or notation
6406533531277.Source diagram or notation
6406533531278.Source diagram or notation
6406533531279.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q186

Question 187 SHORT_TEXT · 3.0 marks

Source diagram or notation
Which pair will be merged in the very first merge? Say the pair is (‘a’,‘b’), then enter **“ab”** (without quotes and white spaces). If there is a tie between two or more candidates, pick the one that occurs first in the original vocabulary. **NOTE:** Enter the exact answer without any space in the beginning or at the end.

A published solution is not available for this question yet.

Report a correction for Q187

Question 188 NAT · 3.0 marks

Source diagram or notation
What is the score of the pair merged in the very first merge?

A published solution is not available for this question yet.

Report a correction for Q188

Question 189 MCQ · 3.0 marks

Source diagram or notationSource diagram or notation
6406533531282.Source diagram or notation
6406533531283.Source diagram or notation
6406533531284.Source diagram or notation
6406533531285.Source diagram or notation
6406533531286.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q189

Question 190 MSQ · 2.0 marks

Consider the following statements about decreasing the size of the vocabulary
6406533531270.
It increases number of tokens required to represent a sentence
6406533531271.
It Increases the computational complexity computing attention matrix
6406533531272.
It increases the context length T
6406533531273.
None of these

A published solution is not available for this question yet.

Report a correction for Q190

Question 191 MSQ · 2.0 marks

Choose the correct statements regarding an encoder-decoder transformer model:
6406533531295.
Multi head masked attention block in decoder makes use of a mask.
6406533531296.
Transformer model is an improvement over its RNN based predecessor for machine translation.
6406533531297.
For machine tranlation task the input and output embedding layers have to be identical.
6406533531298.
None of these.

A published solution is not available for this question yet.

Report a correction for Q191

Question 192 MSQ · 2.0 marks

Consider C4 pipeline. Which of the following will NOT pass through it as it is?
6406533531299.Source diagram or notation
6406533531300.Source diagram or notation
6406533531301.Source diagram or notation
6406533531302.Source diagram or notation
6406533531303.Source diagram or notation
6406533531304.Source diagram or notation
6406533531305.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q192

Question 193 MSQ · 2.0 marks

Which of the following are correct about GPT-1 model:
6406533531306.
It is a decoder only model.
6406533531307.
It uses absolute positional encoding.
6406533531308.
It uses a composite dataset for pre-training.
6406533531309.
None of these.

A published solution is not available for this question yet.

Report a correction for Q193

Question 194 NAT · 2.0 marks

How many entries of unnormalized attention matrix QK\(^{T}\) will be calculated with strided attention mechanism with c = 5. The sequence length is T = 32

A published solution is not available for this question yet.

Report a correction for Q194

Question 195 NAT · 2.0 marks

Source diagram or notation
How many non zero entries will be there in the mask matrix M?

A published solution is not available for this question yet.

Report a correction for Q195