Introduction To Large Language Models (LLMS) - Unit 7 - Week 5
Introduction To Large Language Models (LLMS) - Unit 7 - Week 5
Assessment submitted.
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
X
(course)
Click to register for Certification exam
(https://examform.nptel.ac.in/2025_01/exam_form/dashboard)
Course outline
About NPTEL ()
Week 1 ()
Week 2 ()
Week 3 ()
Week 4 ()
Week 5 ()
https://onlinecourses.nptel.ac.in/noc25_cs45/unit?unit=43&assessment=50 1/4
2/18/25, 5:24 PM Introduction to Large Language Models (LLMs) - - Unit 7 - Week 5
Yearsubmitted.
Assessment 2025 Solutions ()
X
Week 5 : Assignment 5
Your last recorded submission was on 2025-02-18, 17:24 IST Due date: 2025-02-26, 23:59 IST.
4) In training an RNN, what technique is used to calculate gradients over multiple 1 point
timesteps?
https://onlinecourses.nptel.ac.in/noc25_cs45/unit?unit=43&assessment=50 2/4
2/18/25, 5:24 PM Introduction to Large Language Models (LLMs) - - Unit 7 - Week 5
210
190
90
42
6) What is the time complexity for processing a sequence of length 'N' by an RNN, if the 1 point
input embedding dimension, hidden state dimension, and output vector dimension are all 'd'?
O(N)
O(N²d)
O(Nd)
O(Nd²)
8) Given the following encoder and decoder hidden states, compute the attention 2 points
scores. (Use dot product as the scoring function)
0.00235,0.04731,0.9503
0.0737,0.287,0.6393
0.9503,0.0137,0.036
0.6393,0.0737,0.287
You may submit any number of times before the due date. The final submission will be considered
for grading.
Submit Answers
https://onlinecourses.nptel.ac.in/noc25_cs45/unit?unit=43&assessment=50 3/4
2/18/25, 5:24 PM Introduction to Large Language Models (LLMs) - - Unit 7 - Week 5
Assessment submitted.
X
https://onlinecourses.nptel.ac.in/noc25_cs45/unit?unit=43&assessment=50 4/4