Quiz Space

Large Language Models · Quiz 1 · 26 Oct 2025 · September 2025 term

Question 3: We have a transformer model translating English to French…

Question 3

+2 marksOne correct option

We have a transformer model translating English to French. Suppose the target sequence is:

Target (French): [‘je’, ‘suis’, ‘heureux’]

Suppose the model predicted at time step t:

t = 1: ‘je’

t = 2: ‘content’

t = 3: ‘heureux’

If teacher forcing is used, what will be the decoder input at time step 3?

  1. A

    ‘content’

  2. B

    ‘je’

  3. C

    ‘suis’

  4. D

    ‘heureux’

Show answer

Correct answer

  • C

    ‘suis’

Question 3 of 20 in the IIT Madras BS Large Language Models (LLM) Quiz 1 paper sat on 26 Oct 2025, in the September 2025 term (IIT M DEGREE AN EXAM QDB2 26 Oct 2025). It carries 2 marks.

More questions from this paper

  1. Q1Figure question
  2. Q2Which of the following is true regarding sinusoidal encoding?
  3. Q4Figure question
  4. Q5In the context of language model training, teacher forcing is a technique where:
  5. Q6Figure question
  6. Q7You have a mini-batch of 2 samples, each with 2 features: X = \begin{bmatrix} 1 & 2 \ 3 & 4 \end{bmatrix} Rows represen…
  7. Q8Figure question
  8. Q9For a vocabulary size of 10, how many beams will there be in greedy search, beam search with beam size 3, and exhaustiv…
  9. Q10Which of the following decoding strategies is/are inherently non-deterministic?
  10. Q11Which of the following statements about multiple attention heads in a Transformer are true?
  11. Q12Which of the following statements about the Transformer architecture are true?
  12. Q13A transformer decoder uses a vocabulary of size 5. At step 1, the predicted token probabilities are: | Token | Probabil…
  13. Q14Figure question
  14. Q15A Transformer model processes a sequence of T = 1000 tokens. Within the self-attention layer, the attention scores are …
  15. Q16Figure question
  16. Q17How many next-token prediction targets are generated during training a full batch?
  17. Q18For one sequence, how many non-zero attention scores remain in the masked attention score matrix (per head)?
  18. Q19You are analyzing a GPT-style decoder-only Transformer trained as a causal language model with the following setup: Seq…
  19. Q20During autoregressive inference with GPT: