Quiz Space

Deep Learning Practice · Quiz 2 · 16 Aug 2026 · May 2026 term

Question 4: Which statements accurately describe the roles, constrain…

Question 4

+3 marksOne or more correct options

Which statements accurately describe the roles, constraints, and data-processing behaviors when preparing batches for speech models (e.g., Whisper, Wav2Vec2, and SpeechT5) using the Hugging Face Transformers library?

Select all that apply.

  1. A
  2. B

    Dynamic padding in speech data collators pads input features and target labels only to the maximum sequence length within each batch, reducing unnecessary memory usage compared to dataset-wide padding.

  3. C

    Speech data collators automatically resample raw audio (e.g., from 44.1 kHz to 16 kHz) during batch collation before creating model inputs.

  4. D
  5. E
Show answer

Correct answers

  • A
  • B

    Dynamic padding in speech data collators pads input features and target labels only to the maximum sequence length within each batch, reducing unnecessary memory usage compared to dataset-wide padding.

  • D

Question 4 of 19 in the IIT Madras BS Deep Learning Practice (Deep Learning Practice) Quiz 2 paper sat on 16 Aug 2026, in the May 2026 term (Deep Learning Practice 16 Aug 26). It carries 3 marks.

More questions from this paper

  1. Q1Which of the following factors can adversely impact the accuracy of speech language identification?
  2. Q2You are building an end-to-end speaker-attributed transcription pipeline using the Whisper model for speech recognition…
  3. Q3When feeding audio into the pretrained speechbrain/spkrec-ecapa-voxceleb model, which of the following statements regar…
  4. Q5An audio recording is sampled at 16,000 Hz for 8 seconds. How many samples are contained in the recording?
  5. Q6A multilingual language identification model is trained to classify 40 languages. The training dataset contains 1000 au…
  6. Q7An Automatic Speech Recognition (ASR) system produces a hypothesis transcript for a spoken audio clip. Calculate the Wo…
  7. Q8In a spoken language identification task, a pretrained speech model is used to extract features from an input audio wav…
  8. Q9What is the effect of setting compute_type="int8" in WhisperModel(whisper_model, compute_type="int8")?
  9. Q10Consider the following incomplete script intended for fine-tuning a Wav2Vec2 model: Which of the following code blocks …
  10. Q11Which of the following describes the correct input for the Decoder during the training of a Seq2Seq ASR model like Whis…
  11. Q12When fine-tuning a pre-trained Transformer-based ASR model using Connectionist Temporal Classification (CTC), what is t…
  12. Q13The input tensor train_data has shape Determine the correct value of in_features for the fc1 layer.
  13. Q14Figure question
  14. Q15Why might you freeze the encoder layers of a pre-trained ASR model during the initial phases of fine-tuning on a very s…
  15. Q16What is the primary disadvantage of using a character-level tokenizer compared to a Byte-Pair Encoding (BPE) subword to…
  16. Q17In a standard TTS pipeline involving an acoustic model and a vocoder, which component is primarily responsible for conv…
  17. Q18Which of the following linkages is possible in agglomerative clustering?
  18. Q19The "sentence-transformers/all-mpnet-base-v2" model generates 768-dimensional sentence embeddings. A data processing pi…