Question 1 | MCQ
Solution
Solution
Assume that we have a large corpus of text. The vocabulary constructed from the text contains 10000 words. Of these, 100 words occurred only once in the entire corpus of text. The parameters of the embedding layer and the output layer of the model are shared. Suppose we create a batch of 256 samples (each sample is a sentence from the corpus). None of these samples contains any of the 100 rare words. Suppose we pre-train the model for one iteration using the batch of samples, then:
Solution
Suppose we use a pre-trained model for text generation with the given prompt “I am going to”. Which of the following decoding strategies can be used such that the pre-trained model generates same text completion each time it is executed
Solution
Assume that we have 12 sufficiently large supervised NLP datasets for different tasks like sentiment classification, textual entailment, language understanding and so on. Suppose we take all the samples (dropping labels) from these datasets to train the GPT model using the CLM objective.Then which of the following transfer learning approaches is (are) appropriate to transfer the knowledge to any of these 12 downstream tasks?
Solution
What is the order of the language modeling pipeline?
Solution
Consider following statment and mark if it is true or false:
Repeating examples in the pre-training datasets are completely harmless for downstream performance.
Repeating examples in the pre-training datasets are completely harmless for downstream performance.
Solution
What is the time complexity of the computing attention matrix A with strided local attention (parameterized by c) and batch size of one? The symbols have the usual meaning.
Solution
Solution
Solution
Comprehension Passage
How many tokens are there in the initial vocabulary?
Solution
Comprehension Passage
Which of the following pairs has the least score before any merge?
Solution
Comprehension Passage
Which pair will be merged in the very first merge? Say the pair is (‘a’,‘b’), then enter “ab” (without quotes and white spaces). If there is a tie between two or more candidates, pick the one that occurs first in the original vocabulary.
NOTE: Enter the exact answer without any space in the beginning or at the end.
NOTE: Enter the exact answer without any space in the beginning or at the end.
Solution
Comprehension Passage
What is the score of the pair merged in the very first merge?
Solution
Comprehension Passage
Solution
Consider the following statements about decreasing the size of the vocabulary
Solution
Choose the correct statements regarding an encoder-decoder transformer model:
Solution
Consider C4 pipeline. Which of the following will NOT pass through it as it is?
Solution
Which of the following are correct about GPT-1 model:
Solution
How many entries of unnormalized attention matrix QKT will be calculated with strided attention mechanism with c = 5. The sequence length is T = 32
Solution
Comprehension Passage
How many non zero entries will be there in the mask matrix M?
Solution
Shape
Thickness [ / ]
3
All colors