Embeddings

Section progress0%

Video lesson

This video comes with the full course

Timestamps (9) · Corrections (1)
  1. 0:00Intro
  2. 0:29Sparse vs. dense representations
  3. 1:48Word2Vec embeddings and cosine similarity
  4. 3:27BERT contextual embeddings
  5. 6:29GPT-2 and masked self-attention
  6. 9:44Real-world applications (Spotify, Netflix, search)
  7. 10:33Cosine similarity and distance metrics
  8. 14:16Approximate nearest neighbor search and FAISS
  9. 18:06Multimodal embeddings with CLIP

Corrections to this recording

  • FAISS supports exact and approximate search

    At 16:49

    FAISS is not limited to approximate indexes. The article’s IndexFlatL2 example performs exact exhaustive search and provides a baseline for comparing approximate methods.