Module 3 of 5

Deep learning and transformers

  • Intermediate
  • 4 lessons
  • 4 h 55 min

What you will be able to do

  • Work backpropagation through two layers, check it with a gradient check, and explain how initialisation and activations keep gradients from vanishing or exploding.
  • Keep a deep network stable and well generalised with normalisation, regularisation, AdamW with a schedule and gradient clipping, and debug a NaN or flat loss.
  • Compute CNN output shapes, parameter counts and receptive fields, and explain why skip connections and LSTM or GRU gates keep a gradient path open.
  • Describe attention with tensor shapes, explain the KV cache and sampling, and choose between RAG and LoRA for a task.

Lessons