MauryaHub PYQ Practice

Large Language Models · Quiz 2 · May 2026

Large Language Models · Quiz 2 · May 2026

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

Question 2 SHORT_TEXT · 2.0 marks

Answer the subquestions for the given transformer architecture for one (N = 1) **Encoder Decoder** **Block**
Source diagram or notation
In the given Transformer architecture for one Encoder Decoder block, identify every **Add & Norm** layer. Submit the corresponding component alphabets in **alphabetical (ascending) order** as a single uppercase string without spaces, commas, or quotation marks. Example: If the correct components are Q, G, and S, your answer should be GQS

A published solution is not available for this question yet.

Report a correction for Q2

Question 3 MCQ · 1.0 marks

Answer the subquestions for the given transformer architecture for one (N = 1) **Encoder Decoder** **Block**
Source diagram or notation
Identify the function of component **"L"** in the given Transformer architecture.
6406537135075.
Positional Encoding
6406537135076.
Feed-Forward Network
6406537135077.
Masked Multi-Head Self-Attention
6406537135078.
Multi-Head Cross-Attention
6406537135079.
Linear Output Projection

A published solution is not available for this question yet.

Report a correction for Q3

Question 4 MSQ · 2.0 marks

Answer the subquestions for the given transformer architecture for one (N = 1) **Encoder Decoder** **Block**
Source diagram or notation
Based on the architecture shown in the given image, identify all components that appear more than once. Assume the architecture contains exactly one Encoder block and one Decoder block.
6406537135080.
Positional Encoding
6406537135081.
Feed-Forward Network
6406537135082.
Masked Multi-Head Self-Attention
6406537135083.
Multi-Head Cross-Attention
6406537135084.
tokenizer
6406537135085.
Add & Norm

A published solution is not available for this question yet.

Report a correction for Q4

Question 5 MSQ · 3.0 marks

Source diagram or notation
6406537135086.
The approach violates the autoregressive property
6406537135087.
The approach ensures autoregressive property is not violated by ensuring that the final attention weights of future tokens are 0
6406537135088.
The final attention weights in the new approach will be greater than or equal to that of the original approach
6406537135089.
The attention weights for the final token of the sequence will always be the same for both the approaches

A published solution is not available for this question yet.

Report a correction for Q5

Question 6 MSQ · 3.0 marks

Which of the following options correctly reflect the internal state updates performed during a Byte Pair Encoding (BPE) training iteration?
6406537135102.
After a pair is chosen for merging, it is permanently added to the active vocabulary list.
6406537135103.
The algorithm recalculates the log probability of the entire corpus before the next iteration.
6406537135104.
The independent frequencies of the two constituent tokens that were part of the merge are reduced by the frequency of the merged token.
6406537135105.
The original constituent tokens of the merged pair are removed from the vocabulary to optimize dictionary size.

A published solution is not available for this question yet.

Report a correction for Q6

Question 7 MSQ · 3.0 marks

A baseline T5 model with denoising objective on a span of corrupted tokens is used for unsupervised pre-training. Consider the phrase **"life is like a box of chocolates"**. If the word "life" and the span "box of chocolates" are selected for corruption, which of the following statements correctly describe the training process?
6406537135123.
The input sequence replaces the corrupted spans with unique sentinal tokens as: "<X> is like a <Y>".
6406537135124.
The output sequence generated takes the form "<X> life <Y> box of chocolates <Z>", with the final sentinal token to indicate sequence completion.
6406537135125.
The loss is calculated exclusively over the generated sentinal tokens and the missing text.
6406537135126.
The decoder reconstructs the entire original sequence autoregressively to compute the total loss over all positions.

A published solution is not available for this question yet.

Report a correction for Q7

Question 8 MCQ · 3.0 marks

During the fine-tuning of GPT-1 for Textual Entailment tasks, what is the purpose of the delimiter token ($)?
6406537135090.
To trigger the softmax function.
6406537135091.
To separate premise and hypothesis.
6406537135092.
To mark the end of the sentence.
6406537135093.
To initialize the linear head.

A published solution is not available for this question yet.

Report a correction for Q8

Question 9 MCQ · 3.0 marks

During the fine-tuning of a decoder-only Transformer for sequence classification, why is the hidden representation of the final input token used as the input to the classification layer?
6406537135094.
The first token's representation relies exclusively on absolute positional encodings and lacks semantic context for classification.
6406537135095.
The final token's representation is computed independently of self-attention, making its gradients more stable during the fine-tuning process.
6406537135096.
Selecting the final token aligns with the autoregressive objective, eliminating the need for teacher forcing during the classification forward pass.
6406537135097.
Causal self-attention ensures that only the final token's representation aggregates information from all preceding tokens in the sequence.

A published solution is not available for this question yet.

Report a correction for Q9

Question 10 MCQ · 3.0 marks

In the decoding phase of a Language model, temperature scaling with
Source diagram or notation
is applied to the output logits before performing top-
Source diagram or notation
(nucleus) sampling. Which of the following options best describes the impact of the temperature scaling on the subsequent sampling step?
6406537135098.
Increases the required number of candidate tokens thus expanding the nucleus.
6406537135099.
Decreases the required number of candidate tokens thus shrinking the nucleus.
6406537135100.
Truncates the tail of the distribution causing the sampling to behave similar to top-
Source diagram or notation
sampling.
6406537135101.
Size of the nucleus remains unaffected by the temperature scaling as it only depends on order of the tokens.

A published solution is not available for this question yet.

Report a correction for Q10

Question 11 MCQ · 3.0 marks

In the WordPiece tokenization algorithm, how does the scoring formula prioritize token merges?
6406537135106.
It evaluates the log-probability of the pair and selects the highest scoring transition.
6406537135107.
It merges the pair with the highest absolute frequency in the corpus.
6406537135108.
It prioritizes pairs that occur together frequently but rarely appear independently in the corpus.
6406537135109.
None of these

A published solution is not available for this question yet.

Report a correction for Q11

Question 12 MCQ · 3.0 marks

Consider the T5 "text-to-text" paradigm. How does the model process fundamentally different tasks such as Semantic Similarity (continuous regression) and Sentiment Analysis (discrete classification) during the fine-tuning phase?
6406537135119.
The model uses the encoder to output the regression score and decoder for the classification tokens switching based on the input prompt.
6406537135120.
The decoder part of the model is appended with separate prediction heads for regression and classification which are updated based on Mean Squared Error and Cross-Entropy respectively.
6406537135121.
The model treats both tasks as sequence generation objectives with task- specific prefix added in the input and all output is generated as strings.
6406537135122.
None of these.

A published solution is not available for this question yet.

Report a correction for Q12

Question 13 MCQ · 3.0 marks

In the context of the BART (Bidirectional AutoRegressive Transformer) architecture, how does the model handle corrupted input sequences compared to its output?
6406537135127.
The decoder ignores the encoder output and performs standard causal language modeling.
6406537135128.
The encoder processes the original sequence and the decoder predicts the corrupted tokens.
6406537135129.
The encoder processes the corrupted sequence and the decoder predicts the entire original sequence.
6406537135130.
Both the encoder and decoder process the corrupted sequence to calculate masked loss.

A published solution is not available for this question yet.

Report a correction for Q13

Question 14 MCQ · 3.0 marks

When comparing the C4 dataset to an 'Unfiltered-C4' dataset that is 8 times larger, what was the observed effect on downstream task performance?
6406537135131.
Performance remained identical, suggesting a saturation point in data utility.
6406537135132.
Performance improved only for high-resource tasks like translation.
6406537135133.
Performance improved significantly due to the increased diversity of data.
6406537135134.
Performance degraded across all tasks despite the larger scale.

A published solution is not available for this question yet.

Report a correction for Q14

Question 15 MCQ · 3.0 marks

Which of the following describes the 'Adapter Layers' fine-tuning strategy?
6406537135135.
Randomly freezing 50% of the attention heads in each layer during training.
6406537135136.
Adding small dense-ReLU-dense blocks after FFN layers and updating only those and Layer Norm parameters.
6406537135137.
Updating all parameters in the model but using a much smaller learning rate.
6406537135138.
Increasing the dimension
Source diagram or notation
of the existing Feed-Forward networks.

A published solution is not available for this question yet.

Report a correction for Q15

Question 16 MCQ · 3.0 marks

Which of the following is a reported negative effect of including significantly duplicated content in LLM training data?
6406537135139.
It decreases the model's overall inference speed during deployment.
6406537135140.
It causes the model to generate repeated sequences much more frequently.
6406537135141.
It permanently reduces the maximum supported context window length.
6406537135142.
It causes the model to lose the ability to process multilingual input.

A published solution is not available for this question yet.

Report a correction for Q16

Question 17 MCQ · 3.0 marks

If you have a fixed compute budget (
Source diagram or notation
) and choose to train an extraordinarily large model (massive
Source diagram or notation
) on a relatively small dataset (small
Source diagram or notation
), what is the likely outcome according to scaling laws?
6406537135143.
The model will be over-trained and memorize the dataset.
6406537135144.
The model will be under-trained and less capable than a smaller model trained on more data with the same compute budget.
6406537135145.
The model will perfectly memorize the small dataset and generalize flawlessly.
6406537135146.
The model's inference speed will increase dramatically.

A published solution is not available for this question yet.

Report a correction for Q17

Question 18 MSQ · 3.0 marks

Consider the following corpus consisting of 4 words (ignore spaces and punctuation). **there is no spoon** The vocabulary is constructed using the whole words in this corpus and the individual characters in this corpus. The vocabulary should now have 13 tokens. Use this vocabulary for the given subquestions.
Using the vocabulary constructed, two new continuous strings: "prison" and "rhino" are to be segmented. Which of the following proposed segmentations are valid?
6406537135110.
prison
6406537135111.
p, r, is, o, n
6406537135112.
p, r, is, on
6406537135113.
r, h, i, n, o
6406537135114.
r, h, i, no

A published solution is not available for this question yet.

Report a correction for Q18

Question 19 MCQ · 3.0 marks

Consider the following corpus consisting of 4 words (ignore spaces and punctuation). **there is no spoon** The vocabulary is constructed using the whole words in this corpus and the individual characters in this corpus. The vocabulary should now have 13 tokens. Use this vocabulary for the given subquestions.
Using a unigram language model, identify the segment with the highest probability from the given
6406537135115.
n, o, i, s, e, s
6406537135116.
no, is, e, s
6406537135117.
nois, e, s
6406537135118.
no, i, s, e, s

A published solution is not available for this question yet.

Report a correction for Q19