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

feature: Huggingface hub embedder #245

Closed
zivkovicn opened this issue Aug 10, 2023 · 6 comments
Closed

feature: Huggingface hub embedder #245

zivkovicn opened this issue Aug 10, 2023 · 6 comments

Comments

@zivkovicn
Copy link
Contributor

zivkovicn commented Aug 10, 2023

Description

  • we should have Huggingface hub embedder, like we currently have for openai/veretexai.

I will work on this.

@zivkovicn zivkovicn changed the title feature: Huggingface embedder feature: Huggingface hub embedder Aug 10, 2023
@nidzola
Copy link
Contributor

nidzola commented Aug 10, 2023

created: #246

@KarimNMG
Copy link

@nidzola I am trying to use the huggingface embedder, but it's not stable sometimes it works fine, sometimes I am getting this error "API returned unexpected status code: 503: unable to create embeddings", Could you please explain why this happen?

@zivkovicn
Copy link
Contributor Author

@KarimNMG that is the Huggingface API issue - has nothing to do with the embedder it self. That usually means the instance is spinning up for you and should resolve after a while and this.

@KarimNMG
Copy link

@zivkovicn Thanks for your fast response !. Is there a way to load the model once and use it like python?

@zivkovicn
Copy link
Contributor Author

@KarimNMG probably, but that would require some package like SentenceTransformer that python has.

@KarimNMG
Copy link

Ok, Thank you

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

3 participants