uiz Space

May 2026 term · Deep Learning Practice · BSDA5013

Deep Learning Practice Quiz 2: 16 August 2026 (May 2026 term)

The IIT Madras BS Deep Learning Practice (Deep Learning Practice) Quiz 2 paper sat on 16 Aug 2026, in the May 2026 term: 19 questions for 48 marks in 120 minutes. Every question is below with its answer. Take it as a timed mock test to be marked, or read it through first.

Questions
19
Marks
48
Duration
120 min
MSQ
5
Numerical
5
MCQ
9

Updated

Official paper: Deep Learning Practice 16 Aug 26 · No negative marking.

Question 1

+3 marksOne or more correct options

Which of the following factors can adversely impact the accuracy of speech language identification?

Select all that apply.

  1. A

    Background noise

  2. B

    Very short utterances

  3. C

    Code-switching

  4. D

    Large balanced training data

Show answer

Correct answers

  • A

    Background noise

  • B

    Very short utterances

  • C

    Code-switching

Question 2

+3 marksOne or more correct options

You are building an end-to-end speaker-attributed transcription pipeline using the Whisper model for speech recognition and timestamp generation, the ECAPA-TDNN model for speaker embedding extraction, and the SpeechBrain toolkit to integrate the diarization pipeline.
Which of the following subtasks are necessary to achieve this? (Select all that apply)

Select all that apply.

  1. A

    Voice Activity Detection (VAD) / Segmentation

  2. B

    Speech Recognition and Timestamp Generation

  3. C

    Speaker Embedding Extraction

  4. D

    Language Identification

  5. E

    Speaker Clustering

  6. F

    Text-to-Speech (TTS) Synthesis

  7. G

    Alignment and Segment Merging

Show answer

Correct answers

  • A

    Voice Activity Detection (VAD) / Segmentation

  • B

    Speech Recognition and Timestamp Generation

  • C

    Speaker Embedding Extraction

  • E

    Speaker Clustering

  • G

    Alignment and Segment Merging

Question 3

+3 marksOne or more correct options

When feeding audio into the pretrained speechbrain/spkrec-ecapa-voxceleb model, which of the following statements regarding the expected input is (are) true? (Select all that apply)

Select all that apply.

  1. A

    The system is trained on single-channel (mono) recordings.

  2. B

    The user must manually extract acoustic features (like MFCCs or Mel- filterbanks) before passing the data to the model.

  3. C

    The expected sampling rate for the input audio is 16kHz.

  4. D

    The model accepts variable-length audio inputs, dynamically generating fixed- size embeddings regardless of the utterance duration.

Show answer

Correct answers

  • A

    The system is trained on single-channel (mono) recordings.

  • C

    The expected sampling rate for the input audio is 16kHz.

  • D

    The model accepts variable-length audio inputs, dynamically generating fixed- size embeddings regardless of the utterance duration.

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 5

+2 marksNumerical answer

An audio recording is sampled at 16,000 Hz for 8 seconds. How many samples are contained in the recording?

Show answer

Correct answer: 128000

Question 6

+2 marksNumerical answer

A multilingual language identification model is trained to classify 40 languages. The training dataset contains 1000 audio clips per language, and each audio clip has been resampled to 16 kHz. The Transformer encoder produces a 1024 dimensional embedding for every audio clip.
During training, a mini-batch contains 64 audio clips. Before the classification layer, the embeddings are stacked into a tensor of shape (batch_size, embedding_dimension).
Question: Determine the total number of embedding values in this output tensor.

Show answer

Correct answer: 65536

Question 7

+2 marksNumerical answer

An Automatic Speech Recognition (ASR) system produces a hypothesis transcript for a spoken audio clip. Calculate the Word Error Rate (WER) of the system given the reference (ground truth) and hypothesis transcripts below: Reference (Ground Truth): "the quick brown fox jumps over the lazy black dog"• Hypothesis (ASR Output): "the fast brown fox jumped over lazy black dog today"• (Note: Provide your answer as a decimal rounded to two decimal places.)

Show answer

Correct answer: 0.4 (accepted within ±0.01)

Question 8

+2 marksOne correct option

In a spoken language identification task, a pretrained speech model is used to extract features from an input audio waveform. To obtain a single fixed-length embedding representing the entire audio clip for language classification, fill in the missing statement in the following code.

  1. A

    sum

  2. B

    max

  3. C

    mean

  4. D

    flatten

Show answer

Correct answer

  • C

    mean

Question 9

+2 marksOne correct option

What is the effect of setting compute_type="int8" in WhisperModel(whisper_model, compute_type="int8")?

  1. A

    It restricts the model to only transcribing 8-second audio chunks.

  2. B

    It forces the audio file to be read as an 8-bit WAV file.

  3. C

    It quantizes the model weights to 8-bit integers, significantly reducing GPU/CPU memory usage with minimal accuracy loss.

  4. D

    It limits the language detection capability to the 8 most common languages.

Show answer

Correct answer

  • C

    It quantizes the model weights to 8-bit integers, significantly reducing GPU/CPU memory usage with minimal accuracy loss.

Question 10

+2 marksOne correct option

Consider the following incomplete script intended for fine-tuning a Wav2Vec2 model:

Which of the following code blocks correctly fills in the blank to ensure the model's output layer matches the tokenizer's vocabulary size and recognizes its padding token?

  1. A

    pad_token_id=tokenizer.pad_token_id, vocab_size=len(tokenizer)

  2. B

    padding_id=tokenizer.pad_token, vocabulary=tokenizer.vocab

  3. C

    pad_token=tokenizer.pad_token_id, size=tokenizer.vocab_size

  4. D

    pad_token_id=tokenizer.pad_token, vocab_len=len(tokenizer)

Show answer

Correct answer

  • A

    pad_token_id=tokenizer.pad_token_id, vocab_size=len(tokenizer)

Question 11

+2 marksOne correct option

Which of the following describes the correct input for the Decoder during the training of a Seq2Seq ASR model like Whisper?

  1. A

    The raw audio waveform normalized to a zero mean.

  2. B

    A sequence of random noise to improve robustness.

  3. C

    The Log-Mel Spectrogram extracted from the audio signal.

  4. D

    The tokens predicted by the decoder up to the previous time step during inference

Show answer

Correct answer

  • D

    The tokens predicted by the decoder up to the previous time step during inference

Question 12

+2 marksOne correct option

When fine-tuning a pre-trained Transformer-based ASR model using Connectionist Temporal Classification (CTC), what is the primary function of the 'blank' token?

  1. A

    Indicating the end of a sentence.

  2. B

    Handling out-of-vocabulary words.

  3. C

    Aligning variable-length sequences.

  4. D

    Representing silent audio segments.

Show answer

Correct answer

  • C

    Aligning variable-length sequences.

Question 13

+3 marksNumerical answer

Based on the above data, answer the given subquestions.

The input tensor train_data has shape

Determine the correct value of in_features for the fc1 layer.

Show answer

Correct answer: 49152

Question 14

+3 marksOne correct option
  1. A
  2. B

    It will automatically mean-pool the left and right channels into a mono signal before processing.

  3. C

    It will treat the tensor's first dimension as a batch dimension, producing two separate embeddings — one per channel.

  4. D

    It will produce a single embedding, but with double the feature dimension to account for the extra channel.

Show answer

Correct answer

  • C

    It will treat the tensor's first dimension as a batch dimension, producing two separate embeddings — one per channel.

Question 15

+3 marksOne correct option

Why might you freeze the encoder layers of a pre-trained ASR model during the initial phases of fine-tuning on a very small dataset ?

  1. A

    Reducing the inference latency.

  2. B

    Eliminating the need for CTC.

  3. C

    Preventing catastrophic forgetting.

  4. D

    Increasing the model capacity.

Show answer

Correct answer

  • C

    Preventing catastrophic forgetting.

Question 16

+3 marksOne correct option

What is the primary disadvantage of using a character-level tokenizer compared to a Byte-Pair Encoding (BPE) subword tokenizer for ASR fine-tuning ?

  1. A

    Longer output sequence lengths.

  2. B

    Larger vocabulary size.

  3. C

    Inability to predict new words.

  4. D

    Higher memory usage for embedding.

Show answer

Correct answer

  • A

    Longer output sequence lengths.

Question 17

+3 marksOne correct option

In a standard TTS pipeline involving an acoustic model and a vocoder, which component is primarily responsible for converting Mel-spectrograms into time-domain waveforms during the fine-tuning process?

  1. A

    The Vocoder.

  2. B

    The Duration Predictor.

  3. C

    The Phonemizer.

  4. D

    The Attention Mechanism.

Show answer

Correct answer

  • A

    The Vocoder.

Question 18

+2 marksOne or more correct options

Which of the following linkages is possible in agglomerative clustering?

Select all that apply.

  1. A

    Ward Linkage

  2. B

    Web Linkage

  3. C

    Single Linkage

  4. D

    Hierarchical Linkage

Show answer

Correct answers

  • A

    Ward Linkage

  • C

    Single Linkage

Question 19

+3 marksNumerical answer

The "sentence-transformers/all-mpnet-base-v2" model generates 768-dimensional sentence embeddings. A data processing pipeline processes 400 unique documents, each containing 25 sentences. It stores the embedding vector for every sentence in a single contiguous NumPy array. How many floating-point values does the array contain?

Show answer

Correct answer: 7680000