Skip to content
all lessons
Prediction & Learning2.5Locked

Where the map comes from

Lesson 1.1 handed you a finished map of word meanings. But nobody drew it. So where did it come from?

The idea inside

Words that fill the same blanks get pulled together, so predicting the next word learns the map.

After this lesson

You can explain how a model learns word meanings: words used in similar contexts end up with similar vectors (the distributional hypothesis).

Where it leads

Now it can predict and represent meaning, but it still just autocompletes text. How does it become a helpful assistant?

Inside this lesson

That's the real lesson stage, paused. Claim your pass to operate it.

See how AI actually works, end to end.

This lesson is one stop on the full arc. Unlock all of it, and keep it for life.

What you get

  • The 34-lesson main path, a finishable route from a word to agents
  • Goal tracks for using AI at work and building AI features
  • Boss labs that make you apply a whole act, not just recognize it
  • Spaced recall that brings each idea back before you forget
  • Course memory: every term defined, with links to where it first appears
  • A shareable capability card when you finish the main path
  • Lifetime access on every device, every future lesson included

Not videos to watch. You predict, operate the machine, then prove it. That is why it stays.

99 interactive lessons and challenges. No videos, no code.

Free launch pass: lifetime access, no card needed

New here? The first lessons are free to try. Start with lesson 0.1

What this lesson shows

Words that fill the same blanks get pulled together, so predicting the next word learns the map.

The question it opens with

Lesson 1.1 handed you a finished map of word meanings. But nobody drew it. So where did it come from?

The walkthrough, in the lesson's own words

  • Tap two scattered words, then guess: will they end up in the same cluster, or split up?
  • Same blanks, different word. Which one fits all three?
  • Press play and watch the map build itself, one sentence at a time.
  • There it is: the Lesson 1.1 map, learned from scratch.
  • This map is scrambled. Nobody has placed the words yet. Make a call before the model does.
  • Here are three sentences the word dog fits. Which other word slips into all of them?
  • Each sentence pulls the words that share it closer together. Watch the scattered words sort themselves into two clusters.
  • Nobody placed these. Predicting the next word pulled words that keep the same company together. The map was learned, not given.
  • These two get pulled into the same cluster: they keep the same company in real sentences. Nobody placed them there.
  • These two end up in different clusters: they almost never share a sentence, so nothing pulls them together.
  • Exactly, cat slips into every sentence dog does; car and boat don't.
  • Not quite, the answer is cat. It slips into every blank dog does.
  • Words that keep the same company mean similar things, and the model can measure that with no dictionary, just by reading. Sharing the same blanks is the only clue it needs.
  • A sped-up cartoon: real training takes billions of reads, and nobody knows the final map in advance.
  • Each read is one downhill step from 2.4: the miss nudges the words' coordinates instead of a single weight.
  • Nobody placed these. Predicting the next word, over and over, pulled words that share contexts together, and the Lesson 1.1 map fell out. Learned, never given.
  • Search and recommendation tools surface results that match your meaning, not just your exact words, so a query for couch finds sofa. Where does that sense of similarity come from?
  • From embeddings: each word or item gets a position learned by predicting context, so things that keep the same company land near each other. Nobody hand-labels the synonyms, the closeness falls out of the prediction task.

Key takeaway

You watched the embedding map build itself from raw text.

What you can do after this lesson

You can explain how a model learns word meanings: words used in similar contexts end up with similar vectors (the distributional hypothesis).

Check yourself: Where does a model's word map (embeddings) come from?
  • Training pulls words that fill the same blanks together, so the map builds itself(correct)
  • A person places each word by hand
  • It's copied straight from a dictionary
  • The words are assigned at random and never move

No one places words by hand. Words that fill the same blanks get pulled together during training, so the map builds itself from raw text.

Where it leads: Now it can predict and represent meaning, but it still just autocompletes text. How does it become a helpful assistant?

This is the written summary. The lesson itself is interactive: you predict, drag and operate the mechanism above, and the reveal answers you.