LESSON 7.04 · 6 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW
Recurrent neural networks
Watch an RNN carry the animal past the foods, then send a gradient back.
Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 3 controls and 3 checks, in this lesson and every other.
Go Pro · $8.25/moEXPLAINER · 7.04 · SEQUENCE BAY5 WORDS · 3 NUMBERS EACH
01
Stage 1 of 6 · Words in order
A sequence model reads words in order, one word per step. Each word enters as 3 numbers.
Explain it simply
The sentence is the black cat eats bread. The model reads it from left to right, one word per step. Each word enters as 3 numbers, the teal bars, which training learns. After the last word, the model must say the animal, word 3, again.
The 5 words of "the black cat eats bread" sit in order on a time axis. Word 3 is the animal.
words x, memory hweights Wguessesloss, gradient
Toy: 4 sentences of 5 or 9 words; seeded weights
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
The input is a list of word vectors in order.
PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
- 5 more stages and 3 live controls
- 2 mix-up cards and 3 predict-then-reveal checks
- Watch it as a narrated video, in three voices
- Every Pro lesson and capstone · 656 in total
$99 a year, or $15 a month. Cancel any time.