Index

Attention & the Transformer

Attention and the Transformer
Attention and the Transformer · Open board

The keystone board of the How LLMs Work track. It tells the story of a translation machine that forgot the beginning of every long sentence, and of the fix that became modern AI.

Before you start. Tokens & Embeddings turned every word into a list of numbers, each looked up on its own, so the “bank” in river bank and the “bank” in bank loan get the identical list. You also want the one unit from What a Neural Network Is: each input is multiplied by its own dial and the results are added up. Nothing in the story half is harder than that multiply and add.

Continue reading with a plan

The first three lessons of every track are free. This lesson is included with a plan, which unlocks every lesson, board, video, lab and paper for one price.

View plans →Already a member? Sign in

Related paper

Review AI →

Saved in this browser, and to your account when you sign in.