Question 1 | MCQ
THIS IS QUESTION PAPER FOR THE SUBJECT "DIPLOMA LEVEL : INTRODUCTION TO DEEP
LEARNING AND GENERATIVE AI (COMPUTER BASED EXAM)"
ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT?
CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN.
(IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)
LEARNING AND GENERATIVE AI (COMPUTER BASED EXAM)"
ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT?
CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN.
(IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)
Solution
Which of the following is the MOST correct way to run a trained model on test data?
Solution
Consider the sentence:
"Data science is fun"
In a bigram language model, which probability expression correctly represents the probability of the word "is"?
"Data science is fun"
In a bigram language model, which probability expression correctly represents the probability of the word "is"?
Solution
We are given the Q, K, V matrices to compute the scaled dot product attention matrix for a transformer.
Keeping everything else same we double every value in the V matrix.
How will this change the scaled dot product attention scores that are computed?
Keeping everything else same we double every value in the V matrix.
How will this change the scaled dot product attention scores that are computed?
Solution
Consider the following code representing a component of a traditional encoder decoder model which uses Bahdanau attention:

Which of the following completes the missing line?
Which of the following completes the missing line?
Solution
What is the output of the following code?

Solution
Consider an attention mechanism defined as:
Attention(Q, K, V) = softmax(QKT) V
Which of the following is the most likely consequence of removing the scaling factor in this attention computation?
Attention(Q, K, V) = softmax(QKT) V
Which of the following is the most likely consequence of removing the scaling factor in this attention computation?
Solution
You are training an RNN with batch_size=32 on a dataset of 1050 sequences. You notice an error occurs at the end of every epoch. Which DataLoader fix resolves this?

Solution
What is the primary capability that the Position-wise Feed-Forward Network (FFN) provides to the Transformer architecture?
Solution
In decoder cross-attention, which statement correctly describes where the inputs to
and
come from?
Solution
A transformer model has the following embedding layer:
- Vocabulary size = 50,000
- Embedding dimension = 768
The embeddings are currently stored in float32 format.
You decide to optimize memory as follows:
1. Quantize 70% of the embedding vectors to int8
2. Keep the remaining 30% in float32 (for high-frequency tokens)
What is the overall percentage reduction in memory for the embedding matrix?
(Round to the nearest integer)
- Vocabulary size = 50,000
- Embedding dimension = 768
The embeddings are currently stored in float32 format.
You decide to optimize memory as follows:
1. Quantize 70% of the embedding vectors to int8
2. Keep the remaining 30% in float32 (for high-frequency tokens)
What is the overall percentage reduction in memory for the embedding matrix?
(Round to the nearest integer)
Solution
Consider the following code:

Which of the following describes the output of decoded_texts?
Which of the following describes the output of decoded_texts?
Solution
We use the following LORA code to finetune BERT model:

But we notice that the code does not work as intended. Which of the following parameters of the lora need to be changed to make it work as intended?
But we notice that the code does not work as intended. Which of the following parameters of the lora need to be changed to make it work as intended?
Solution
Which of the following are data augmentation techniques?
Solution
Consider the following optimization algorithms used for training neural networks:
- SGD with Momentum
- RMSProp
- Adam
Which of the following statements is/are correct?
- SGD with Momentum
- RMSProp
- Adam
Which of the following statements is/are correct?
Solution
Select the correct statement(s) regarding a CNN:
Solution
Which of the following situations may lead to a mode collapse while training a GAN?
Solution
Consider the evaluation metrics commonly used for generative models: Fréchet Inception Distance (FID), Inception Score (IS), and CLIP Score.
Which of the following statements are correct?
Which of the following statements are correct?
Solution
A text-to-image generative model is evaluated on three metrics with the following results:
- FID = 8.5
- Inception Score (IS) = 2.1
- CLIP Score = 0.34
For comparison, a strong baseline model on the same dataset achieves:
- FID = 15.2
- IS = 6.8
- CLIP Score = 0.31
Which of the following interpretations are correct?
- FID = 8.5
- Inception Score (IS) = 2.1
- CLIP Score = 0.34
For comparison, a strong baseline model on the same dataset achieves:
- FID = 15.2
- IS = 6.8
- CLIP Score = 0.31
Which of the following interpretations are correct?
Solution
Consider an encoder-decoder architecture trained using maximum likelihood for sequence generation.
Which of the following statements are correct?
Which of the following statements are correct?
Solution
You want to reduce parameters in multi-head attention from 4,096 to 1,024. Which of the following changes achieve(s) this? (MSQ)
Solution
Consider the following single-layer RNN:

You are told that the total number of learnable parameters in this RNN layer is
. Assume the hidden size is H = 20.
What are the total number of learnable parameters in the below layers if the same configuration (same input size, same hidden size H = 20,
,
) is used?
1. A Bidirectional GRU
2. A Bidirectional LSTM
You are told that the total number of learnable parameters in this RNN layer is
What are the total number of learnable parameters in the below layers if the same configuration (same input size, same hidden size H = 20,
1. A Bidirectional GRU
2. A Bidirectional LSTM
Solution
Consider the following PyTorch model:

Note:
- Do not round intermediate values.
- Final answer can be rounded to 3 decimal places.
Note:
- Do not round intermediate values.
- Final answer can be rounded to 3 decimal places.
Solution
Inscript

Solution
Inscript
A model is fine-tuned with the following configuration:
- dataset_size = 2048
- batch_size = 16
- epochs = 2
Assuming the optimizer performs exactly one update after a fixed number of gradient accumulation steps and 64 updates are performed, how many gradient accumulation steps were used during training?
A model is fine-tuned with the following configuration:
- dataset_size = 2048
- batch_size = 16
- epochs = 2
Assuming the optimizer performs exactly one update after a fixed number of gradient accumulation steps and 64 updates are performed, how many gradient accumulation steps were used during training?
Solution
Shape
Thickness [ / ]
3
All colors