filmov
tv
Choosing Indexes for Similarity Search (Faiss in Python)
Показать описание
Facebook AI Similarity Search (Faiss) is a game-changer in the world of search. It allows us to efficiently search a huge range of media, from GIFs to articles - with incredible accuracy in sub-second timescales for billion+ size datasets.
The success in Faiss is due to many reasons. One of those, in particular, is its flexibility. Faiss recognizes that there is no 'one-size-fits-all' in similarity search.
Instead, Faiss comes with a wide range of search indexes - which we can mix and match to our choosing.
However, this great flexibility produces a question - how do we know which size fits our use case?
Which index do we choose? Should we use multiple indexes, or is one enough?
This video will explore the pros and cons of some of the most important indexes - Flat, LSH, HNSW, and IVF. We will learn how we decide which to use and the impact of parameters in each index to build some of the best indexes for semantic search.
🌲 Pinecone Article:
🎉 Sign-up For New Articles Every Week on Medium!
Download script for Sift1M dataset:
Similarity Search Series:
🤖 70% Discount on the NLP With Transformers in Python course:
👾 Discord
Mining Massive Datasets Book (Similarity Search):
🕹️ Free AI-Powered Code Refactoring with Sourcery:
The success in Faiss is due to many reasons. One of those, in particular, is its flexibility. Faiss recognizes that there is no 'one-size-fits-all' in similarity search.
Instead, Faiss comes with a wide range of search indexes - which we can mix and match to our choosing.
However, this great flexibility produces a question - how do we know which size fits our use case?
Which index do we choose? Should we use multiple indexes, or is one enough?
This video will explore the pros and cons of some of the most important indexes - Flat, LSH, HNSW, and IVF. We will learn how we decide which to use and the impact of parameters in each index to build some of the best indexes for semantic search.
🌲 Pinecone Article:
🎉 Sign-up For New Articles Every Week on Medium!
Download script for Sift1M dataset:
Similarity Search Series:
🤖 70% Discount on the NLP With Transformers in Python course:
👾 Discord
Mining Massive Datasets Book (Similarity Search):
🕹️ Free AI-Powered Code Refactoring with Sourcery:
Комментарии