MauryaHub PYQ Practice

Deep Learning · End Term · Sep 2024 · AN

Deep Learning · End Term · Sep 2024 AN

← Course papers · Start practice / exam

This page contains the reliably extracted subset, not the complete original paper.

Questions and published explanations below are available without starting a test. Some questions may not have a published solution yet.

0 / 22 published solutions

Question 83 MCQ · 0.0 marks

**Note:** If the base of log is not mentioned, use log base e.
6406533529615.
Instructions has been mentioned above.
6406533529616.
This Instruction is just for a reference & not for an evaluation.

A published solution is not available for this question yet.

Report a correction for Q83

Question 84 MCQ · 2.0 marks

Source diagram or notation
6406533529617.
5
6406533529618.
3
6406533529619.
1
6406533529620.
0

A published solution is not available for this question yet.

Report a correction for Q84

Question 85 MCQ · 2.0 marks

Source diagram or notation
6406533529643.Source diagram or notation
6406533529644.Source diagram or notation
6406533529645.Source diagram or notation
6406533529646.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q85

Question 86 MCQ · 2.0 marks

In the context of RNNs, what structural feature of LSTMs helps reduce the impact of vanishing gradients?
6406533529656.
Skip connections
6406533529657.
Gated mechanisms like forget and input gates
6406533529658.
Weight sharing across layers
6406533529659.
Use of dropout

A published solution is not available for this question yet.

Report a correction for Q86

Question 87 MCQ · 3.0 marks

As per gradient descent, we should move towards 180 degrees with respect to gradient direction. What will happen if we move between 90 and 180 degrees? Consider the loss function to be convex.
6406533529621.
The loss function will increase.
6406533529622.
The loss function will decrease, although not to the maximum possible extent.
6406533529623.
The loss function will remain the same.
6406533529624.
Can’t say. It depends on other parameters of the convex function.

A published solution is not available for this question yet.

Report a correction for Q87

Question 88 MCQ · 3.0 marks

Which of the following statements about the parameter β in RMSProp is correct?
6406533529628.
A higher value of β means that past gradients retain more influence on the moving average.
6406533529629.
A lower value of β means past gradients have a lesser influence on the moving average.
6406533529630.
A higher value of β means the current gradient will have lesser influence than past gradients.
6406533529631.
A lower value of β means the current gradient will have higher influence than past gradients.
6406533529632.
All of these

A published solution is not available for this question yet.

Report a correction for Q88

Question 89 MCQ · 3.0 marks

Consider a feed-forward neural network containing three inputs and one output. It consists of 50 hidden layers, each with two neurons. The activation function used in all the hidden layers is ReLU, the output layer uses the Sigmoid activation function for binary classification. The network is trained with a binary cross-entropy loss function. The network architecture is as follows: - Input layer: 3 nodes - Hidden layer: 2 nodes each - Output layer: 1 node Assume all weights are initialized to 1 and all biases to 0. For an input of [-10, 5, -20], what will be the output of the neural network?
6406533529637.
0
6406533529638.
1
6406533529639.
0.5
6406533529640.
0.25
6406533529641.
-25
6406533529642.
Insufficient information

A published solution is not available for this question yet.

Report a correction for Q89

Question 90 MCQ · 3.0 marks

Source diagram or notation
6406533529660.
[0.7, 0.3, 0.6]
6406533529661.
[0.4, 0.2, 0.8]
6406533529662.
[0.7, 0.6, 0.3]
6406533529663.
[0.2, 0.4, 0.8]

A published solution is not available for this question yet.

Report a correction for Q90

Question 91 MCQ · 3.0 marks

In the transformer model, how are self-attention weights calculated for a given token?
6406533529665.
By passing the token’s embeddings to softmax function.
6406533529666.
Using a feedforward neural network applied to the token’s embeddings.
6406533529667.
Through a convolutional operation applied to the token’s neighborhood.
6406533529668.
As the dot product between the token’s embeddings and those of all other tokens, followed by a softmax operation.

A published solution is not available for this question yet.

Report a correction for Q91

Question 92 NAT · 1.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q92

Question 93 NAT · 1.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q93

Question 94 NAT · 2.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q94

Question 95 MCQ · 1.0 marks

Which of the following techniques does NOT help prevent a model from overfitting?
6406533529633.
Data augmentation
6406533529634.
Dropout
6406533529635.
Early stopping
6406533529636.
None of these

A published solution is not available for this question yet.

Report a correction for Q95

Question 96 NAT · 3.0 marks

Suppose you have a vocabulary of 5,000 unique words and you want to train a CBOW model with a window size of 3 (on each side) and with an embedding dimension of 100. How many parameters (weights) will the embedding layer have?

A published solution is not available for this question yet.

Report a correction for Q96

Question 97 NAT · 3.0 marks

Assume that your CBOW model outputs a probability distribution over a vocabulary of 20,000 words for a given context. If the correct target word is word number 150, and the model’s predicted probability for this word is 0.2, calculate the cross-entropy loss for this prediction. (use natural log)

A published solution is not available for this question yet.

Report a correction for Q97

Question 98 NAT · 3.0 marks

In a Skip-gram model with a window size of 2 (on each side), how many **unique** pairs of target and context words will be generated for the following sentence: ‘**Predicting the future is not magic, it is artificial intelligence**’ **Note:** Ignore the punctuations in your calculation

A published solution is not available for this question yet.

Report a correction for Q98

Question 99 NAT · 3.0 marks

Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q99

Question 100 NAT · 2.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
With a total of 7 time steps (T = 7), implying prediction for a word of length 6), what is the total count of parameters (including bias) within the network?

A published solution is not available for this question yet.

Report a correction for Q100

Question 101 MCQ · 3.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation
6406533529651.Source diagram or notation
6406533529652.Source diagram or notation
6406533529653.Source diagram or notation
6406533529654.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q101

Question 102 NAT · 2.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q102

Question 103 MSQ · 3.0 marks

In the context of the Transformer model’s encoder-decoder architecture, which of the following statements are accurate?
6406533529669.
The encoder in a Transformer model is responsible for converting the input sequence into a continuous representation that the decoder can then use to generate the output sequence.
6406533529670.
The decoder in a Transformer model only attends to the encoder’s output without any form of self-attention on its own inputs.
6406533529671.
Multi-head attention in the encoder allows the model to jointly attend to information from different representations at different positions.
6406533529672.
The decoder’s self-attention mechanism includes a masking component to prevent attending to future positions, ensuring the model generates outputs one step at a time.

A published solution is not available for this question yet.

Report a correction for Q103

Question 104 NAT · 2.0 marks

Consider a Transformer model with the following specifications for the decoder part: • Input dimension (embedding size): 16 • Number of heads in multi-head attention: 2 • Head output dimension: 8 • Dimension of the feed-forward network: 32 • Number of layers in the decoder: 2 Note: The final output from the attention heads is obtained by concatenating the outputs from the individual heads and hence does not cost any additional parameters. Assume that each decoder layer contains: • One multi-head attention mechanism for self-attention. • One multi-head attention mechanism for encoder-decoder attention. • One feed-forward network. • No bias terms are included. Calculate the total number of parameters in the decoder part.

A published solution is not available for this question yet.

Report a correction for Q104