首页 / AI 课程 / Inside the AI Brain: How LLMs Actually Think and Learn! / [Lesson 1/5] Word Legos & The Secret Number Map: How AI Sees Words!
🤖 Young AI Explorers Series · Part 1

Word Legos & The Secret Number Map: How AI Sees Words!

Computers cannot read books or hear whispers. Inside a robot's brain, everything is made of numbers! Let's slice human words into colorful Word Legos and explore the magical 2D Treasure Map!

🧩 1. The Token Slicer: Words Are Just Like Legos!

When you ask ChatGPT: "Tell me a story about a flying panda!", the computer doesn't read the whole sentence at once. Instead, it uses a super-fast digital knife to chop the sentence into tiny building blocks called Tokens.

💡 Did You Know? Common words like "cat" or "robot" stay as a single Lego brick. But super long or rare words get sliced into smaller syllables (like "un" + "predict" + "able")!
✂️ Toy 1: The Word Lego Slicer Machine

🗺️ 2. The Secret Treasure Map (Word Embeddings)

Now each Lego brick has a number ID. But numbers like #1042 and #1043 don't tell the robot what words actually mean! To understand meanings, the AI places every word on a giant Secret Meaning Treasure Map (scientists call this an Embedding Space):

  • Words with similar meanings live right next to each other on the same island: "Puppy" and "Dog" live on Pet Island!
  • Words that have nothing to do with each other are miles apart across the ocean: "Banana" is far away from "Spaceship"!
🧭 Toy 2: Secret Word Island Explorer

Click an island pair to see how close words live on the treasure map:

👑 The Magic Word Math:
Because words are locations on a map, you can do math with them!
Location("King") - Location("Man") + Location("Woman") = Location("Queen")!
The AI actually learned what gender and royalty mean just by studying word positions!
📚 Course Overview Next Lesson: 2. Attention Magic →