Skip to content
ml-recall

#long-range-dependencies

3 questions from Recurrent Neural Networks, Attention & Transformers, Language Modeling

Timed test

3 questions · 3 min · score and explanations at the end

Take a test
Q 1 / 3Score 0 / 0

Question 1: Short answer

mediumAI-checkedRecurrent Neural Networks

A linear RNN with a scalar state, ht=whht−1+wxxth_t = w_h h_{t-1} + w_x x_t, starts from h0=0h_0 = 0, with wh=0.9w_h = 0.9 and wx=1w_x = 1. After T=50T = 50 steps the state is a weighted sum h50=∑t=150ctxth_{50} = \sum_{t=1}^{50} c_t x_t. What is the weight c1c_1 of the first input?

a number, 3 significant digits (e.g. 0.0123)