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

huggingface text-generation-inference support? #89

Closed
sioan opened this issue Jul 6, 2023 · 5 comments
Closed

huggingface text-generation-inference support? #89

sioan opened this issue Jul 6, 2023 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@sioan
Copy link

sioan commented Jul 6, 2023

We're standing up a local hf text gen service ( it's pretty good )
https://github.com/huggingface/text-generation-inference

Griptape already has HuggingFaceHubPromptDriver, HuggingFacePipelinePromptDriver, could you add one that can interface with locally hosted huggingface text-generation-inference?

Here's the alternative
https://python.langchain.com/docs/modules/model_io/models/llms/integrations/huggingface_textgen_inference

Thank you for developing griptape! It looks like it's gonna be awesome!

@sioan sioan added the enhancement New feature or request label Jul 6, 2023
@collindutter collindutter self-assigned this Sep 14, 2023
@collindutter collindutter removed their assignment Oct 12, 2023
@maziyarpanahi
Copy link

@collindutter this would be very useful as most productions have their own TGI/vLLM deployments and I guess they are pretty similar in principal (same as OpenAI and other endpoints).

@collindutter
Copy link
Member

@maziyarpanahi roger that! I will take a look at implementing this today!

@collindutter collindutter self-assigned this Dec 18, 2023
@collindutter
Copy link
Member

@maziyarpanahi it looks like you can use TGI through the Inference Client which is already a part of HuggingFaceHubPromptDriver. Do you have an existing TGI endpoint you could help us test with?

@maziyarpanahi
Copy link

HuggingFaceHubPromptDriver

This is great! I have TGI endpoints up and running. I can test any example you provide and share the results.
Thanks again.

@collindutter
Copy link
Member

Fantastic, thank you for reporting back! I will add a note to the the docs indicating that HuggingFaceHubPromptDriver can be used with TGI!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants