Lex AIMeridianby Lex AI

Deep Sequence Modelling: RNN

This track introduces recurrent neural networks and practical sequence modelling: when order matters, how real data forms sequences, and which input→output patterns show up in NLP, speech, video, and time series.

Prerequisites

  • Deep Neural Networks, especially backprop and the chain rule (BPTT is the chain rule across time)
  • Comfort with vector/matrix notation
  • Python and PyTorch for the code lessons (lessons 5–6); earlier lessons are equation-driven
Course mapHover any lesson to see why it matters

Prerequisites

Deep Neural Networks

Layers, backpropagation, activation functions, overfitting

Linear Algebra & Calculus

Matrix multiplication, chain rule, partial derivatives

Lessons

01Beginner

Foundations of deep sequence modeling

History and context matter — ignore them at your peril

02Beginner

From static networks to time-aware models

Recurrence lets a network carry memory across time steps

03Intermediate

RNN internal mechanics & formal structure

Shared weights across time; tanh squashes hidden state

04Intermediate

Bringing sequence modeling to the real world

Words → tokens → embeddings → flow through the RNN

05Advanced

Training RNNs: BPTT & gradient pathologies

Unroll the RNN through time; gradients vanish or explode

06Intermediate

Training an RNN in PyTorch

nn.RNN, hidden states, autograd BPTT, training loop

Unlocks

Attention Is All You Need

Replace recurrence with parallelisable self-attention

LSTMs & GRUs

Gated mechanisms that solve the vanishing gradient problem

Finished this lesson?

Read through the lesson first (0/20s · scrolled 0% of 70%).