nmslib / hnswlib

Header-only C++/python library for fast approximate nearest neighbors
https://github.com/nmslib/hnswlib
Apache License 2.0
4.3k stars 633 forks source link

How do I use hnswlib for ColBERT's set of vectors? #559

Open TTlaozu opened 5 months ago

TTlaozu commented 5 months ago

How do I use hnswlib for ColBERT's set of vectors? Thanks

yurymalkov commented 4 months ago

Yes, one can use hnswlib with set distances, but it requires a specialized distance calculation in C++.