Indian Institute of Technology Madras
BS Degree Programme · Examination & Study Paper
Large Language Models
Pretraining, T5, data & scaling laws
Examination Instructions & Guidelines
- Solve on notebook/paper first before checking solutions.
- MCQ: Exactly 1 option is correct. Negative marking applies.
- MSQ: One or more options correct. Select all to score.
- NAT: Numerical response. No negative marking.
- Scientific calculator allowed for all calculations.
- Official answer key is sealed at the end of this sheet.
End Term · 31 Aug 2025 (FN)End Term
- Q1MSQ3 Marks·Choose all correct options
Which of the following are valid design choices when building a transformer-based language model?
- ANumber of transformer layers
- BLearning rate schedule
- CFont style of the source code
- DVocabulary size
- EType of normalization (e.g., LayerNorm)
- Q2MSQ3 Marks·Choose all correct options
Which of the following preprocessing steps are commonly required when preparing data for transformer models like BERT?
- ALowercasing text (for uncased models)
- BSplitting into subword units using BPE or WordPiece
- CRemoving all punctuation marks
- DAdding position indices for each token
End Term · 31 Aug 2025 (AN)End Term
- Q3MSQ3 Marks·Choose all correct options
Which of the following preprocessing steps are commonly used when preparing data for transformer models like BERT?
- AAdding special tokens such as [CLS] and [SEP] to the sequence
- BSplitting tokens into subword units using a model-specific tokenizer
- CRemoving all punctuation marks to ensure cleaner embeddings
- DAdding positional information to each token embedding
Quiz 2 · 3 Aug 2025 (AN)Quiz 2
- Q4MCQ2 Marks·Choose one option
What is a key implication of scaling laws in large language models?
- ATraining longer always leads to better performance
- BLarger models require less training data
- CModel size and dataset size must scale together to maintain optimal performance
- DNone of these
- Q5MCQ2 Marks·Choose one option
What is the primary advantage of T5’s text-to-text approach for transfer learning in NLP?
- AIt reduces the computational cost of training models significantly.
- BIt allows a single model and architecture to be applied to a wide variety of NLP tasks without modification.
- CIt guarantees optimal performance on all tasks without fine-tuning.
- DIt eliminates the need for any pre-training data.
- Q6MCQ2 Marks·Choose one option
What is the format of output the T5 model is expected to generate during its span-corruption pretraining?
- A

- B

- C

- D

- A
- Q7MCQ3 Marks·Choose one option
Suppose you are given 4x more compute budget to scale a Transformer-based language model. According to scaling laws, what is the best way to utilize this increased compute for optimal model performance?
- AIncrease the model size (number of parameters) by 4x and keep the dataset size and training steps the same.
- BTrain the same model on 4x more data for 4x more steps without changing the model size.
- CIncrease the model size by approximately 2x and increase the amount of training data by approximately 2x.
- DDouble the model size and halve the training data size to compensate.
- Q8MSQ3 Marks·Choose all correct options
In a data preprocessing stage designed to prepare clean, diverse, and safe data, which of the following examples is likely to be filtered out?
- A“All people from that xyz area are thieves. They should be jailed immediately.”
- BKavya’s PAN number is BDZPK1234K and her registered address is 17/4, Green Park, Delhi.
- C[“Reinforcement learning allows agents to learn optimal strategies through interaction with an environment.”, “Reinforcement learning allows agents to learn optimal strategies through interaction with an environment.”]
- DThe Union Budget 2024 proposes increased spending on green energy infrastructure.
- EAccording to WHO, global life expectancy has increased by 6 years since 2000.
- FNone of these.
- Q9MSQ3 Marks·Choose all correct options
Select all the correct input-output representations used for different pretraining objectives based on the base sentence: “The quick brown fox jumps over the lazy dog”
- A

- B

- C

- D

- A
- Q10NAT2 Marks·Write the number
Your answer: - Q11NAT3 Marks·Write the number
Your answer: