Back to the lesson libraryMECHANISM · 14 MIN
M14.5 CONNECT THE MECHANISM

From token IDs to learned vectors

Is "coffee" closer to "tea" or to "coffin"? See how a model learns lists of numbers that put tea next door, and why king − man + woman ≈ queen needs fine print.

LESSON OVERVIEW14 min lesson

Lesson overview

Is "coffee" closer to "tea" or to "coffin"? See how a model learns lists of numbers that put tea next door, and why king − man + woman ≈ queen needs fine print.

What you’ll explore

  • Distinguish an integer token ID, a learned embedding, and a representation that changes with context.
Suggest a correction

A precise note can make an explanation better.

Choose the scene and describe what needs attention. Download a feedback file to share through a channel you already use. This page does not send feedback or connect you with a reviewer.

The file includes this note, the scene title, and lesson metadata. Your saved progress and quiz responses are excluded. Download before leaving or reloading to keep your note.