Skip to main content
New Self-paced AI courses — learn ML, deep learning, and agents on your schedule. Enroll free

Natural Language Processing (NLP)

Module 19 · The Transformer

why self-attention replaced recurrence, self-attention by hand, multi-head attention, positional encoding, and the encoder, decoder, BERT and GPT shapes.

5 lessons Follow in order
Use the button below to sign in and unlock lessons.
Your path

Lessons in sequence

Work through these in order—each lesson builds on the previous one.

  1. Lesson 1 of 5

    19.1 Why self-attention replaced recurrence

    Enroll to open · 16 min read

  2. Lesson 2 of 5

    19.2 Self-attention by hand

    Enroll to open · 18 min read

  3. Lesson 3 of 5

    19.3 Multi-head attention

    Enroll to open · 16 min read

  4. Lesson 4 of 5

    19.4 Positional encoding and the block

    Enroll to open · 17 min read

  5. Lesson 5 of 5

    19.5 Encoder, decoder, BERT and GPT

    Enroll to open · 17 min read

← Back to course