Vector Database Notes: IVF, Quantization, Similarity, and SearchVector Database Notes: IVF, Quantization, Similarity, and Search
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
Part 2 of 2 · Finishing my vector database notes 🧠 🗜️ 4. IVF & quantization: search only the nearest clusters, and shrink vectors up to 64× smaller 📐 5. Similarity: cosine, dot product or L2 distance, with cosine the usual choice for text 🔍 6. Search: embed the question, then use the ANN index, filters and top-k, plus keywords for hybrid search The big trade-off: every index balances speed, accuracy and memory. Missed Part 1? It's on my profile. #VectorDatabase #RAG #AI #LearningInPublic #Embeddings #GenerativeAI
Post image
Post image
Post image
Post image
Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started