Question 1 | MCQ
THIS IS QUESTION PAPER FOR THE SUBJECT "DEGREE LEVEL : DEEP LEARNING PRACTICE
(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)
(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
A startup is building an LLM for a low resource agglutinative language where a single word can contain information equivalent to an entire English sentence.
After training a Word Level tokenizer with a vocabulary of 30,000, they observe that nearly 18% of tokens become [UNK].
Which action is most likely to improve the situation while keeping vocabulary growth manageable?
After training a Word Level tokenizer with a vocabulary of 30,000, they observe that nearly 18% of tokens become [UNK].
Which action is most likely to improve the situation while keeping vocabulary growth manageable?
Solution
Consider the following code:

Assume that the variable
contains a piece of text. When tokenized without applying truncation or padding, it produces 220 tokens.
Which of the following correctly describes the
returned in
?
Assume that the variable
Which of the following correctly describes the
Solution
A team fine tunes a 13B parameter model using LoRA.
After training they discover that only 0.15% of parameters have been updated.
Which statement best explains this observation?
After training they discover that only 0.15% of parameters have been updated.
Which statement best explains this observation?
Solution
A company wants to build a medical chatbot.
They possess:
- 8 million unlabeled medical documents
- 300 doctor reviewed question answer pairs
Which adaptation strategy would most likely provide the largest performance gain?
They possess:
- 8 million unlabeled medical documents
- 300 doctor reviewed question answer pairs
Which adaptation strategy would most likely provide the largest performance gain?
Solution
A 7 billion parameter model is loaded in FP32 precision.
Ignoring activations and optimizer states, approximately how much GPU memory is required for storing model weights?
Ignoring activations and optimizer states, approximately how much GPU memory is required for storing model weights?
Solution
A tokenizer vocabulary is increased from 16K to 128K while keeping the training corpus unchanged.
What tradeoff is most likely?
What tradeoff is most likely?
Solution
Consider the following code:

Which method fills the blank to return only the token IDs as a plain Python list?
Which method fills the blank to return only the token IDs as a plain Python list?
Solution
The following code is intended to implement causal masking for self attention, where each token can attend only to itself and previous tokens.

What is the effect of running this code as written?
(Note: Assume necessary imports are already done and
is a valid tensor of attention scores with shape
.)
What is the effect of running this code as written?
(Note: Assume necessary imports are already done and
Solution
Consider the following training configuration:

Which statements are correct?
Which statements are correct?
Solution
A student trains GPT 2 using Hugging Face
with:

The training dataset contains sequences of different lengths, but the student forgets to execute:

Which of the following are true?
The training dataset contains sequences of different lengths, but the student forgets to execute:
Which of the following are true?
Solution
A team experiences GPU out of memory errors while fine tuning a language model.
Which actions may help?
Which actions may help?
Solution
A model is trained for sentiment classification using the following prompt format:

Compared with traditional classification heads, which statements are true?
Compared with traditional classification heads, which statements are true?
Solution
Which outputs can typically be produced by a Hugging Face tokenizer?
Solution
Inscript
A GPT style model has the following configuration:
- Vocabulary size = 65,000
- Context length = 4096
- Embedding dimension = 1536
The model uses learned positional embeddings.
Calculate the total number of embedding parameters (token embeddings + positional embeddings) in millions.
Round your answer to one decimal place.
A GPT style model has the following configuration:
- Vocabulary size = 65,000
- Context length = 4096
- Embedding dimension = 1536
The model uses learned positional embeddings.
Calculate the total number of embedding parameters (token embeddings + positional embeddings) in millions.
Round your answer to one decimal place.
Solution
Inscript
A transformer block has:
- d_model = 1536
Assume standard self attention consisting of:
- Query projection
- Key projection
- Value projection
- Output projection
Ignore biases.
Calculate the total number of parameters in millions.
Round your answer to one decimal place.
A transformer block has:
- d_model = 1536
Assume standard self attention consisting of:
- Query projection
- Key projection
- Value projection
- Output projection
Ignore biases.
Calculate the total number of parameters in millions.
Round your answer to one decimal place.
Solution
Inscript
A model contains 5 billion parameters.
Training uses AdamW in FP32 precision.
Assume:
- Parameters = 4 bytes
- Gradients = 4 bytes
- Momentum = 4 bytes
- Variance = 4 bytes
Ignoring activations and buffers, calculate the total memory requirement in GB.
Use:
1 GB = 109 bytes
Round your answer to one decimal place.
A model contains 5 billion parameters.
Training uses AdamW in FP32 precision.
Assume:
- Parameters = 4 bytes
- Gradients = 4 bytes
- Momentum = 4 bytes
- Variance = 4 bytes
Ignoring activations and buffers, calculate the total memory requirement in GB.
Use:
1 GB = 109 bytes
Round your answer to one decimal place.
Solution
Inscript
A batch of sentences is tokenized using a pretrained BERT tokenizer:

What is the value printed by the code?
(Assume default tokenizer behavior is used.)
A batch of sentences is tokenized using a pretrained BERT tokenizer:
What is the value printed by the code?
(Assume default tokenizer behavior is used.)
Solution
Inscript
A training job uses:
- Batch size = 8
- Context length = 4096
- Gradient accumulation = 4
- Training steps = 10,000 optimizer updates
Calculate the total number of tokens processed after 10,000 optimizer updates.
Express your answer in millions.
Round to one decimal place.
A training job uses:
- Batch size = 8
- Context length = 4096
- Gradient accumulation = 4
- Training steps = 10,000 optimizer updates
Calculate the total number of tokens processed after 10,000 optimizer updates.
Express your answer in millions.
Round to one decimal place.
Solution
Shape
Thickness [ / ]
3
All colors