Advanced Biomedical AIWeeksSyllabusReading listPaper sessionsTerm projectRepository ↗

Week 2: Transformer review, Part 1: attention and the encoder

Slides 2-1

Code Notebook · Open in Colab

Papers for Thursday

Animation clips

Each clip comes in two versions. The narrated version has an AI-generated voice and captions; turn them on with the CC button. The silent version is the same animation with its on-screen captions only.

From tokens to vectors

1 min 27 s

Attention for one token

1 min 10 s

Giving tokens a position

1 min 42 s

Relative positions: RoPE and ALiBi

2 min 42 s

Inside the encoder block

1 min 14 s

Everything for this week

The Week 2 folder in the repository ↗, with the animation sources, the slides and the session guide.