Question 1
Which of the following is the MOST correct way to run a trained model on test data?
y = model(X_test)
model.eval() y = model(X_test)
with torch.no_grad(): y = model(X_test)
model.eval() with torch.no_grad(): y = model(X_test)
Which of the following is the MOST correct way to run a trained model on test data?
y = model(X_test)
model.eval() y = model(X_test)
with torch.no_grad(): y = model(X_test)
model.eval() with torch.no_grad(): y = model(X_test)
Consider the sentence:
"Data science is fun"
In a bigram language model, which probability expression correctly represents the probability of the word "is"?
P(is | Data, science)
P(is | science)
P(is | fun)
P(is | science, fun)
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?
There won't be any change to the attention scores.
Attention scores will double.
Attention scores will get halved.
Attention scores will change but we can't determine how much they will change without checking the actual values of the V matrix.
Sign in with Google — it is free — to see every question with its answer and explanation, practise it in learning mode, or take it as a timed mock test.
The IIT Madras BS Introduction to Deep Learning and Generative AI (Deep Learning and GenAI) End Term paper sat on 10 May 2026, in the January 2026 term, set 1: 24 questions for 100 marks in 180 minutes. The first 3 questions are below. Sign in with Google — it is free — to see the whole paper with its answers and explanations, in learning mode or as a timed mock test.
| Feature | Deep Learning and GenAI End Term 10 May 2026 Set 1 at a glance |
|---|---|
| Term | January 2026 term |
| Subject | Introduction to Deep Learning and Generative AI |
| Course code | BSDA2001 |
| Questions | 24 |
| Marks | 100 |
| Duration | 180 min |
| MCQ | 14 |
| MSQ | 8 |
| Numerical | 2 |
| Official paper | Introduction To Deep Learning And Generative Ai 06 May 26 (Session 2) |
| Negative marking | No negative marking. |
| Updated |