Read the transcript
"Car" and "automobile"… to a machine, they're almost the same numbers. AI glossary, entry eight: embedding. It's a list of numbers that captures the meaning of a text or image, so it can be compared. First, the map of meaning. Those numbers work like coordinates: two texts about the same thing end up close together, even with different words. In practice, each list holds hundreds, even thousands of numbers. Then, an example. You search your notes for "automobile". A plain keyword search finds nothing. With embeddings, your note about your "car" comes up first: its meaning is right next door. Why does it matter? Search by meaning finds what you want, even without the exact word. And comparing these numbers is also how you get suggestions close to things you liked. Remember: an embedding is a list of numbers, not text; similar meanings give similar numbers; and it's the basis of search by meaning, and of RAG. An embedding is a word's address… on the map of meaning. Next entry: fine-tuning.
How it works
An embedding turns a word, a sentence or an image into a list of numbers. Those numbers work like coordinates on a map of meaning: two texts about the same thing end up close together, even if they use different words. That's how a machine can find “car” when you search for “automobile”.
Why it matters to you
Smarter search
Search by meaning finds relevant results even when you didn't use the exact word.
Similar suggestions
Comparing embeddings is also a way to suggest content similar to things you liked.
Common myth
False: “Embeddings are only for words.”
No. They can also be computed for whole sentences, documents, images or sounds, which makes it possible to compare them.
In the news
- Hugging Face showcases an Indic voice agent using CUGAHugging Face
- New Training Method for Multi-Vector EmbeddingsHugging Face
- Hugging Face Releases OlmoEarth v1.3Hugging Face
- Google DeepMind Releases EmbeddingGemma 2Google DeepMind
- Sentence Transformers Enhances Multi-Vector Embedding CapabilitiesHugging Face