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

Updated Hugging Face embeddings to use all-MiniLM-L6-v2 #881

Merged
merged 1 commit into from
Oct 4, 2024

Conversation

KoradaCharan
Copy link
Contributor

This pull request updates the Hugging Face embeddings in the project to use the all-MiniLM-L6-v2 model from the sentence-transformers library. The previous implementation did not specify any specific model (since no specific model is passed, it might load a default model), so this change ensures that we use all-MiniLM-L6-v2, which is more efficient in terms of performance and accuracy.

Why all-MiniLM-L6-v2 ?

  • The all-MiniLM-L6-v2 model provides faster performance , making it quicker to handle large corpus.
  • This model is known for generating high-quality embeddings, improving the overall accuracy of similarity and other tasks.
  • all-MiniLM-L6-v2 is known for improved performance, this model provides a good balance between speed and effectiveness.

@assafelovic assafelovic merged commit 06a58d8 into assafelovic:master Oct 4, 2024
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.

2 participants