Quiz Space

LLM End Term: 31 August 2025, Set QDB3 (May 2025 term)

Question 1

+3 marksOne correct option

Given the input string:

sunshine

And the following vocabulary of subword tokens with their corresponding log-probabilities:

SubwordLog-Probability (base ee)
sun-0.5
shine-0.7
sunshine-1.6
su-0.3
nshine-0.4
n-1.8
shi-0.6
ne-0.5

Using the Viterbi algorithm (as used in the SentencePiece tokenizer), determine the most probable tokenization of the input string. The probability of a tokenized sequence is the sum of the log-probabilities of the selected subwords. Only subwords from the vocabulary may be used.

  1. A
  2. B
  3. C
  4. D

Question 2

+2 marksOne correct option

A GPT model is trained using causal language modeling. During training, for a sequence of T = 4 tokens, which of the following correctly represents the attention mask matrix applied to the attention logits?

  1. A
  2. B
  3. C
  4. D

Question 3

+2 marksOne correct option
  1. A

    (a) : Random Local Attention,
    (b) : Strided Local Attention,
    (c) : Sparse Block Attention,
    (d) : Local + Global Attention

  2. B

    (a) : Strided Local Attention,
    (b) : Local + Global Attention,
    (c) : Random Local Attention,
    (d) : Sparse Block Attention

  3. C

    (a) : Strided Local Attention,
    (b) : Random Local Attention,
    (c) : Local + Global Attention,
    (d) : Sparse Block Attention

  4. D

    (a) : Sparse Block Attention,
    (b) : Local + Global Attention,
    (c) : Strided Local Attention,
    (d) : Random Local Attention

14 more questions in this paper

Sign in with Google — it is free — to see every question with its answer and explanation, practise it in learning mode, or take it as a timed mock test.

More on the LLM End Term 31 Aug 2025 Set QDB3 paper

The IIT Madras BS Large Language Models (LLM) End Term paper sat on 31 Aug 2025, in the May 2025 term, set QDB3: 17 questions for 40 marks in 180 minutes. The first 3 questions are below. Sign in with Google — it is free — to see the whole paper with its answers and explanations, in learning mode or as a timed mock test.

FeatureLLM End Term 31 Aug 2025 Set QDB3 at a glance
TermMay 2025 term
SubjectLarge Language Models
Course codeBSDA5004
Questions17
Marks40
Duration180 min
MCQ6
MSQ3
Numerical8
Official paperIIT M DEGREE AN EXAM QDB3 31 Aug 2025
Negative markingNo negative marking.
Updated

Other sets that day

Same End Term, other subjects

More LLM