MauryaHub PYQ Practice

Introduction to Natural Language Processing (i-NLP) · End Term · Sep 2024 · FN

Introduction to Natural Language Processing (i-NLP) · End Term · Sep 2024 FN

← Course papers · Start practice / exam

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

0 / 28 published solutions

Question 211 MSQ · 4.0 marks

What are the examples of a free morpheme?
6406533516401.
“sleep” in “sleeping”
6406533516402.
“un-” in “undo”
6406533516403.
“book” in “booked”
6406533516404.
“-s” in “books”

A published solution is not available for this question yet.

Report a correction for Q211

Question 212 MSQ · 4.0 marks

Which of the following are challenges in applying Shapley values for model explainability?
6406533516484.
Computing Shapley values requires evaluating an exponential number of feature coalitions.
6406533516485.
Shapley values assume independence between features, which may not hold in real-world data.
6406533516486.
Shapley values are computationally efficient for deep neural networks.
6406533516487.
Shapley values provide additive explanations, ensuring the contributions of all features sum up to the model's output.

A published solution is not available for this question yet.

Report a correction for Q212

Question 213 NAT · 4.0 marks

Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q213

Question 214 NAT · 4.0 marks

Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q214

Question 215 NAT · 4.0 marks

Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q215

Question 216 NAT · 4.0 marks

Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q216

Question 217 NAT · 4.0 marks

Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q217

Question 218 MSQ · 6.0 marks

FastText is a word embedding model that extends Word2Vec by considering subword information through character n-grams (e.g., bi-grams, tri-grams). Which of the following statements about FastText's behavior and capabilities are true?
6406533516406.
FastText can generate embeddings for unseen words by summing the embeddings of their subword n-grams.
6406533516407.
FastText considers only complete words and does not split them into subword n-grams.
6406533516408.
FastText embeddings for morphologically similar words (e.g., "run" and "running") will be highly similar because they share many n-grams.
6406533516409.
FastText cannot distinguish between semantically unrelated words like "mouse" and "house" because they share common n-grams(e.g., "ouse").

A published solution is not available for this question yet.

Report a correction for Q218

Question 219 MSQ · 6.0 marks

Source diagram or notation
6406533516444.Source diagram or notation
6406533516445.Source diagram or notation
6406533516446.Source diagram or notation
6406533516447.Source diagram or notation
6406533516448.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q219

Question 220 MCQ · 3.0 marks

Which of the following are suitable choices for an autoregressive language model with the primary objective of using it to generate text based on a given prompt? (1) Vanilla RNN (2) Bidirectional RNN
6406533516411.
Only (1)
6406533516412.
Only (2)
6406533516413.
Both (1) and (2)

A published solution is not available for this question yet.

Report a correction for Q220

Question 221 MCQ · 3.0 marks

Source diagram or notation
6406533516435.
The model will completely ignore the future tokens during training.
6406533516436.
The model will stop attending to any tokens in the sequence.
6406533516437.
The model will incorrectly attend to future tokens, leading to information leakage and breaking the causality constraint.
6406533516438.
The softmax function will fail to compute attention scores for any position.

A published solution is not available for this question yet.

Report a correction for Q221

Question 222 MCQ · 3.0 marks

What will be the 0th element in the positional encoding for a word at position 10000 in models with dimensions 512 and 1024, respectively?
6406533516439.Source diagram or notation
6406533516440.Source diagram or notation
6406533516441.Source diagram or notation
6406533516442.Source diagram or notation
6406533516443.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q222

Question 223 MCQ · 3.0 marks

Which of the following approaches would be the best fit for these specific use cases? 1. A system that retrieves the latest financial data to provide investment advice. 2. Optimizing a general-purpose model for sentiment analysis on product reviews. 3. Generating concise summaries from a pre-trained model with a carefully worded input. 4. Using a general-purpose language model without any modifications.
6406533516460.
RAG, Fine-tuning, Prompt engineering, Pre-trained model
6406533516461.
Prompt engineering, RAG, Fine-tuning, Pre-trained model
6406533516462.
RAG, Prompt engineering, Fine-tuning, Pre-trained model
6406533516463.
Fine-tuning, RAG, Prompt engineering, Pre-trained model

A published solution is not available for this question yet.

Report a correction for Q223

Question 224 MCQ · 3.0 marks

What are the inputs and outputs of the query encoder and passage encoder in the Dense Passage Retriever (DPR)?
6406533516464.Source diagram or notation
6406533516465.Source diagram or notation
6406533516466.Source diagram or notation
6406533516467.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q224

Question 225 MCQ · 3.0 marks

Source diagram or notation
6406533516468.
Few-shot prompting
6406533516469.
Chain-of-thought prompting
6406533516470.
Zero-shot prompting
6406533516471.
Instruction prompting

A published solution is not available for this question yet.

Report a correction for Q225

Question 226 MCQ · 3.0 marks

Source diagram or notation
6406533516472.
A-4, B-3, C-1, D-2
6406533516473.
A-2, B-3, C-1, D-4
6406533516474.
A-2, B-4, C-3, D-1
6406533516475.
A-1, B-3, C-2, D-4

A published solution is not available for this question yet.

Report a correction for Q226

Question 227 MCQ · 5.0 marks

Source diagram or notation
6406533516414.Source diagram or notation
6406533516415.Source diagram or notation
6406533516416.Source diagram or notation
6406533516417.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q227

Question 228 MCQ · 2.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Which of the following is the embedding matrix?
6406533516418.Source diagram or notation
6406533516419.Source diagram or notation
6406533516420.Source diagram or notation
6406533516421.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q228

Question 229 MCQ · 2.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Which of the following is the matrix corresponding to the feedforward connections between the embedding layer and the hidden layer?
6406533516422.Source diagram or notation
6406533516423.Source diagram or notation
6406533516424.Source diagram or notation
6406533516425.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q229

Question 230 MSQ · 2.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Which of the following are true?
6406533516426.Source diagram or notation
6406533516427.Source diagram or notation
6406533516428.Source diagram or notation
6406533516429.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q230

Question 231 NAT · 3.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 Q231

Question 232 MCQ · 4.0 marks

Source diagram or notation
6406533516431.
Part of speech tagging
6406533516432.
Named entity recognition
6406533516433.
Machine translation
6406533516434.
Sentiment analysis

A published solution is not available for this question yet.

Report a correction for Q232

Question 233 MCQ · 4.0 marks

Consider an encoder-decoder transformer used for story generation. If we use exhaustive search to generate tokens for 20 time steps for a story generation task given a vocabulary of size 5,000 , what is the size of the search space?
6406533516450.Source diagram or notation
6406533516451.Source diagram or notation
6406533516452.Source diagram or notation
6406533516453.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q233

Question 234 MCQ · 4.0 marks

A decoder-only transformer-based language model is used to generate text based on some prompt. The language model is prompted ten times with the same prompt. It produces the same response all ten times. Each run is to be treated independently without any memory of the previous runs. Which of the following could be the most likely decoding strategy used?
6406533516455.
Beam search with beam width of 4
6406533516456.
Top-k sampling
6406533516457.
Nucleus sampling
6406533516458.
Greedy sampling

A published solution is not available for this question yet.

Report a correction for Q234

Question 235 MCQ · 4.0 marks

In the context of bias mitigation techniques, loss function modification would fall under which of the following categories?
6406533516489.
Pre-processing mitigation
6406533516490.
In-training mitigation
6406533516491.
Intra-processing mitigation
6406533516492.
Post-processing mitigation

A published solution is not available for this question yet.

Report a correction for Q235

Question 236 NAT · 5.0 marks

Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q236

Question 237 MSQ · 2.0 marks

Which of the following techniques can be used to explain the predictions of a deep learning model by attributing the importance of each feature?
6406533516476.
Shapley Values
6406533516477.
Integrated Gradients
6406533516478.
Principal Component Analysis
6406533516479.
Attention Mechanisms

A published solution is not available for this question yet.

Report a correction for Q237

Question 238 MCQ · 2.0 marks

Why is calculating Shapley values computationally expensive for models with a large number of features?
6406533516480.
It requires retraining the model for every subset of features.
6406533516481.
It depends on the dataset size, which scales quadratically.
6406533516482.
It evaluates the contribution of all possible feature subsets, which grows exponentially.
6406533516483.
It computes gradients for every input sample.       **SPG** **Section Id :** 64065375426 **Section Number :** 10 **Section type :** Online **Mandatory or Optional :** Mandatory **Number of Questions :** 19 **Number of Questions to be attempted :** 19 **Section Marks :** 35 **Display Number Panel :** Yes **Section Negative Marks :** 0 **Group All Questions :** No **Enable Mark as Answered Mark for Review and** No **Clear Response :** **Section Maximum Duration :** 0 **Section Minimum Duration :** 0 **Section Time In :** Minutes

A published solution is not available for this question yet.

Report a correction for Q238