5 ms·
Thanks for sharing! I have a question: is there any option for sparse vectors (like tf-idf outputs)?
by bguberfain 5y ago
Thanks for sharing! I have a question: is there any option for sparse vectors (like tf-idf outputs)?
- jamesbriggs 5y agoWelcome! Unfortunately faiss doesn't support sparse vectors. If you're using sparse vectors I would either not use faiss (there are better options like Elasticsearch) - or convert them into dense for use with faiss
- mumblemumble 5y agonmslib (https://github.com/nmslib/nmslib https://github.com/nmslib/nmslib) supports sparse vectors for some of its spaces. It has fewer indexing methods than faiss, though. https://github.com/nmslib/nmslib/blob/master/manual/spaces.md https://github.com/nmslib/nmslib/blob/master/manual/spaces.m...