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

Support HuggingFaceHub embeddings endpoint #136

Closed
delip opened this issue Nov 14, 2022 · 2 comments
Closed

Support HuggingFaceHub embeddings endpoint #136

delip opened this issue Nov 14, 2022 · 2 comments

Comments

@delip
Copy link
Contributor

delip commented Nov 14, 2022

The current implementation of HuggingFaceEmbeddings local sentence-transformers to derive the encodings. This can be limiting as it requires a fairly capable machine to download the model, load it, and run inference.

An alternative is to support embeddings derived directly via the HuggingFaceHub. See this blog post for details. This implementation will set similar expectations as Cohere and OpenAI embeddings API.

@hwchase17
Copy link
Contributor

i think this is a duplicate of #86 (with pr #125 )?

@delip
Copy link
Contributor Author

delip commented Nov 14, 2022

My bad. Didn't see that. Closing the issue.

@delip delip closed this as completed Nov 14, 2022
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

No branches or pull requests

2 participants