Question 1 | MCQ
THIS IS QUESTION PAPER FOR THE SUBJECT "DEGREE LEVEL : INTRODUCTION TO NATURAL LANGUAGE PROCESSING (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)
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
Consider the given Assertion and Reason. Choose the correct option.
Assertion (A): FastText produces word embeddings of variable size, depending on the number of subword n-grams a word contains.
Reason (R): FastText computes the final embedding for a word by summing or averaging the embeddings of its subword n-grams.
Assertion (A): FastText produces word embeddings of variable size, depending on the number of subword n-grams a word contains.
Reason (R): FastText computes the final embedding for a word by summing or averaging the embeddings of its subword n-grams.
Solution
Suppose TF-IDF is applied to a corpus of medical research papers. In a document discussing COVID-19 vaccines, which of the following terms is likely to have the highest TF-IDF score?
Solution
Which of the following statements is/are INCORRECT?
Solution
In an LSTM network, each gate has a specific function. Which of the following statements about the functions of LSTM gates is INCORRECT?
Solution
Given the following corpus with word frequencies:

If we apply BPE, What will be the merged token after the second merge operation?
If we apply BPE, What will be the merged token after the second merge operation?
Solution
Which of the following statements best explains why RLHF improves over instruction fine-tuning alone?
Solution
Match the application to the correct RNN type:

Which of the following mappings is correct?
Which of the following mappings is correct?
Solution
In an attention-based RNN, what does the context vector represent?
Solution
You are using QLoRA to fine-tune a neural network. The weight matrix W has dimensions 1024 x 2048, and LoRA uses rank 8 matrices. Quantization is applied, reducing precision to 4bits. What is the memory required for storing the parameters introduced by QLoRA?
Solution
Which of the following use cases can benefit from using TF-IDF?
Solution
You are comparing rule-based machine translation (RBMT), statistical machine translation(SMT), and example-based machine translation (EBMT) for translating a set of sentences between English and Spanish. Based on the characteristics of these techniques, which of the following statements are correct?
Solution
Which of the following are key components of the BERT architecture?
Solution
In positional encoding for a transformer model, why are sine and cosine functions used for encoding positions?
Solution
What happens if you increase the number of attention heads in a transformer model while keeping the embedding size constant?
Solution
Which of the following is/are INCORRECT?:
Solution
You are analyzing a collection of movie reviews using the Bag of Words (BoW) model. Here are three sample reviews:

The reviews were preprocessed using techniques such as lowercasing and lemmatization, resulting in 19 unique tokens in the vocabulary. Using the BoW model, you generate BoW vectors of length 19 for each review. Each BoW vector represents word frequencies without considering word order or context. Each BoW vector represents word frequencies without considering word order or context. Calculate the total number of non-zero entries across all three review vectors.Assume that each unique word from the vocabulary appears in at least one review. A word that appears in a review contributes one non-zero entry to that review's BoW vector.
The reviews were preprocessed using techniques such as lowercasing and lemmatization, resulting in 19 unique tokens in the vocabulary. Using the BoW model, you generate BoW vectors of length 19 for each review. Each BoW vector represents word frequencies without considering word order or context. Each BoW vector represents word frequencies without considering word order or context. Calculate the total number of non-zero entries across all three review vectors.Assume that each unique word from the vocabulary appears in at least one review. A word that appears in a review contributes one non-zero entry to that review's BoW vector.
Solution
A simple RNN has 10 hidden units, and the input feature size is 5. If the output size is 8, what is the total number of trainable parameters in the RNN (excluding biases)?
Solution
A model has 1,000,000 parameters. LoRA is applied to a 100 x 100 parameter matrix in the model and results in 400 new LoRA parameters. What will be the rank (r) of the LoRA matrices?
Solution
Shape
Thickness [ / ]
3
All colors