Skip to content

Conversation

@FelipeAdachi
Copy link
Contributor

@FelipeAdachi FelipeAdachi commented Feb 1, 2024

faiss-cpu is not oficially supported in pypi (see #222)

This PR changes the injections implementation to use parquet as serialization for the embeddings file, and numpy for cosine similarity search.

It also changes the embeddings file to version "v2, " which has a slightly different list of embeddings from the previous version. As a result, the scores given by the module can be different from those of previous versions.

closes #222

Copy link
Collaborator

@jamie256 jamie256 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jamie256 jamie256 merged commit c3f7749 into main Feb 6, 2024
@jamie256 jamie256 deleted the dev/felipe/injections-np branch February 6, 2024 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

faiss-cpu - installation through pip not supported

3 participants