~/talk

Building a Semantic Search Engine

Talkat PyData NYC 2022 · 2022-11-09..11-11· [machine-learning, databases]
links:none on file
slides:none on file

Shows a working pipeline: index 25,000 images with captions, ingest at ~3,000 docs/sec into BM25 baseline ElasticSearch with ~4 ms retrieval, compute sentence embeddings via sentence-transformers (takes ~3–4 minutes on CPU for the corpus), store vectors in a vector DB and run FAISS/ANN searches that cut recall/latency tradeoffs (flat ≈10s ms, ANN ≈10 ms on CPU faster on GPU). Embedding retrieval improves relevance over BM25 in examples.

AI-written summary · about

  1. 0:00Introduction
  2. 1:37Search systems evolution
  3. 10:13Token-based retrieval with Elasticsearch
  4. 23:46Limitations of token-based
  5. 24:48Embedding-based retrieval intro
  6. 30:08Training models for similarity
  7. 45:05Training embeddings and negatives
  8. 50:08Multimodal search with CLIP
  9. 58:57Vector indexing strategies
  10. 1:09:23Building vector indexes
  11. 1:21:23Multi-stage retrieval systems
  12. 1:26:05Production trade-offs
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.