Loading lesson…
Level 1 · Apprentice0 XP
How a transformer turns tokens into meaning and decides what to look at.
Step 1 / 5
Problem"She sat by the bank of the river" and "She opened a bank account". A model that reads one word at a time, alone, cannot tell which bank is meant.
← → step
Before this: Tokens, context and prediction
🛠️ Your turn
Reading is not the skill, doing is. Try for ten minutes before you open the hint. Getting stuck first is what makes the solution stick.
1.Embed 20 short sentences with an embedding model of your choice, compute pairwise cosine similarity, and check that sentences with the same meaning are closest. Include 'bank' in two senses.