What is an Embedding? Vectors Explained
About this lesson
Embeddings Explained: what they are, how they're trained, and why they power semantic search, RAG, and every large language model. Try it yourself — hands-on embedding & RAG labs in your browser: https://preporato.com/labs CHAPTERS 0:00 What is an embedding? 0:14 Why embeddings exist (king vs monarch) 0:32 A list of numbers (king → vector) 0:58 Same trick for images, code, audio (CLIP) 1:22 How they learn — the guessing game 1:52 Contrastive learning (modern embedding models) 2:23 Now the fun part 2:33 How many numbers? (Word2Vec 300 → text-embedding-3-large) 2:53 Cosine similarity (the angle = the meaning) 3:14 Vector arithmetic (king − man + woman = queen) 3:34 Embeddings inside every LLM 3:56 Where you use them — semantic search, recs, anomaly, RAG 5:02 Recap — turn anything into a vector, meaning becomes math
DeepCamp AI