You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently it seems like vector search applies cosine similarity search and may be good for other embedding types (binary or int8) support via other search algorithms like hamming_distance
Proposed Solution
We should implement SIMSIMD or this vanilla js function that is discussed here
It will be beneficial for local-first applications to use binary quantized embeddings to reduce the load on memory and support vector search that way. Will be interesting to see stress test on this.
The text was updated successfully, but these errors were encountered:
Problem Description
Currently it seems like vector search applies cosine similarity search and may be good for other embedding types (binary or int8) support via other search algorithms like hamming_distance
Proposed Solution
We should implement SIMSIMD or this vanilla js function that is discussed here
xenova/transformers.js#681
Alternatives
No response
Additional Context
It will be beneficial for local-first applications to use binary quantized embeddings to reduce the load on memory and support vector search that way. Will be interesting to see stress test on this.
The text was updated successfully, but these errors were encountered: