Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Approximate nearest neighbors suggestion #4

Open
saskiabosma opened this issue Mar 16, 2023 · 2 comments
Open

Approximate nearest neighbors suggestion #4

saskiabosma opened this issue Mar 16, 2023 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@saskiabosma
Copy link

Hello and thanks a lot for making this open-source !

I was wondering if you had considered the NMSLIB-HNSW approximate nearest neighbor algorithm for use with these embeddings, as according to (here) it is faster than Annoy ?

@vinid
Copy link
Collaborator

vinid commented Mar 17, 2023

Hello! thanks so much for the suggestion, I'll take a look at the lib!

@saskiabosma
Copy link
Author

There is also Scann that looks even faster, but I haven't tried it. I used NMSLIB-HNSW in the context of searching for neighbours in embeddings space from contrastive learning using the tensorflow-similarity lib, which is similar to this repo's use-case. Tensorflow-similarity doesn't use Scann so maybe there's a subtle blocker !

@vinid vinid added enhancement New feature or request good first issue Good for newcomers labels Mar 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants