MauryaHub PYQ Practice

Large Language Models · End Term · Jan 2024 · AN

Large Language Models · End Term · Jan 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 / 16 published solutions

Question 143 MCQ · 0.0 marks

Source diagram or notation
6406532757242.
Useful Data has been mentioned above
6406532757243.
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 Q143

Question 144 MCQ · 2.0 marks

GPT stands for
6406532757246.
Generative Pre-trained Transformer
6406532757247.
Generative Pre-trained Text
6406532757248.
Generalized Pre-trained Transformer
6406532757249.
Generative Pre-trained Transfer-text

A published solution is not available for this question yet.

Report a correction for Q144

Question 145 MCQ · 4.0 marks

Source diagram or notation
6406532757275.Source diagram or notation
6406532757276.Source diagram or notation
6406532757277.Source diagram or notation
6406532757278.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q145

Question 146 MSQ · 3.0 marks

Suppose we pre-train a model using a text-to-text framework. A user wants to fine-tune the pre- trained model on a regression task where the inputs are sentences but the labels are real-valued. The label values range from 0.1 to 2 with a step size of 0.1. Given these, choose the correct statements.
6406532757271.
The objective function of the pre-trained model should be modified during fine-tuning
6406532757272.
The objective function of the pre-trained model need not be modified during fine-tuning
6406532757273.
Text-to-text framework cannot be used for any regression problem
6406532757274.
We need to add a layer, on top of the output layer, that outputs a real value

A published solution is not available for this question yet.

Report a correction for Q146

Question 147 NAT · 3.0 marks

Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q147

Question 148 SHORT_TEXT · 4.0 marks

Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q148

Question 149 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 2048 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
6406532757259.
256
6406532757260.
16
6406532757261.
1024
6406532757262.
512
6406532757263.
2048

A published solution is not available for this question yet.

Report a correction for Q149

Question 150 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 2048 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
6406532757264.
Greedy decoding strategy
6406532757265.
Beam search with beam size K > 2
6406532757266.
Top-k sampling with k > 3
6406532757267.
Top-p sampling with p = 0.25
6406532757268.
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 Q150

Question 151 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 Q151

Question 152 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 Q152

Question 153 NAT · 4.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Compute the representation for the word “often” and enter the sum of the elements in it.

A published solution is not available for this question yet.

Report a correction for Q153

Question 154 NAT · 4.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Suppose the input sentence is “coffee i drink often“. What is the attention score between the word “coffee” with “often”?

A published solution is not available for this question yet.

Report a correction for Q154

Question 155 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 Q155

Question 156 MSQ · 4.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation
6406532757253.
(8,8)
6406532757254.
(32,8)
6406532757255.
(32,32)
6406532757256.
(64,64)
6406532757257.
(8,32)

A published solution is not available for this question yet.

Report a correction for Q156

Question 157 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 Q157

Question 158 MSQ · 2.0 marks

Source diagram or notation
6406532757279.
Multi-Query attention
6406532757280.
Grouped Query attention
6406532757281.
Paged attention
6406532757282.
None of these       **DL(CV)** **Section Id :** 64065357859 **Section Number :** 8 **Section type :** Online **Mandatory or Optional :** Mandatory

A published solution is not available for this question yet.

Report a correction for Q158