Quiz Space

Deep Learning Practice · Quiz 1 · 13 Jul 2025 · May 2025 term

Question 6: Which of the following statements accurately describe com…

Question 6

+4 marksOne or more correct options

Which of the following statements accurately describe common characteristics or goals of subword tokenization algorithms like BPE, WordPiece, or SentencePiece? (Select ALL that apply)

Select all that apply.

  1. A

    They aim to significantly reduce the vocabulary size compared to character- level tokenization.

  2. B

    They can handle out-of-vocabulary (OOV) words by breaking them into known subword units.

  3. C

    They primarily rely on merging the least frequent character or subword pairs to build the vocabulary.

  4. D

    They can represent common words as single tokens and rare words as sequences of subword tokens.

  5. E

    SentencePiece is designed to be language-agnostic, not requiring pre- segmentation based on spaces.

Show answer

Correct answers

  • B

    They can handle out-of-vocabulary (OOV) words by breaking them into known subword units.

  • D

    They can represent common words as single tokens and rare words as sequences of subword tokens.

  • E

    SentencePiece is designed to be language-agnostic, not requiring pre- segmentation based on spaces.

Question 6 of 16 in the IIT Madras BS Deep Learning Practice (Deep Learning Practice) Quiz 1 paper sat on 13 Jul 2025, in the May 2025 term (IIT M DEGREE AN EXAM QDB2 13 July 2025). It carries 4 marks.

More questions from this paper

  1. Q1A start-up is building a new language model for a low-resource language with many compound words and complex morphology…
  2. Q2When fully fine-tuning a large pre-trained Transformer model (e.g., >1 Billion parameters), which of the following cont…
  3. Q3A research team wants their pre-trained language model to generate more helpful and harmless responses without extensiv…
  4. Q4Consider the following Python code snippet using Hugging Face tokenizers: Which of the following attributes would be pr…
  5. Q5Consider the following Python code snippet: After executing the code above, what will dataset.column_names return?
  6. Q7A team has a powerful pre-trained language model (e.g., a GPT-3 class model). They want to adapt it for a new summariza…
  7. Q8Figure question
  8. Q9You start with an initial vocabulary consisting only of individual characters: {"a":10, "b":8, "c":5, "\</w>":15}. Your…
  9. Q10Consider the following Python code snippet: How many samples will filtered_dataset contain after executing the code?
  10. Q11Figure question
  11. Q12Based on the above data, answer the given subquestions.
  12. Q13Based on the provided configuration, calculate the total number of parameters in the model’s embedding layer (token emb…
  13. Q14Based on the provided configuration, what is a primary characteristic of this language model’s architecture and trainin…
  14. Q15Considering the Adam optimizer stores 2 floating-point values per model parameter and parameters are 32-bit floats (4 b…
  15. Q16The configuration states the model uses Byte Pair Encoding (BPE). What is a key implication of this choice for handling…