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

Add examples for HuggingFace models #85

Closed
adityabindal opened this issue Mar 9, 2020 · 5 comments
Closed

Add examples for HuggingFace models #85

adityabindal opened this issue Mar 9, 2020 · 5 comments
Assignees
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers

Comments

@adityabindal
Copy link
Collaborator

Create examples or tutorials to show how to deploy HuggingFace PyTorch models with TorchServe

@adityabindal adityabindal added documentation Improvements or additions to documentation good first issue Good for newcomers labels Mar 9, 2020
@MFreidank
Copy link
Collaborator

I put together a blog post to showcase how to write custom handler code for a simple huggingface BERT sentence classifier:
https://medium.com/@freidankm_39840/deploy-huggingface-s-bert-to-production-with-pytorch-serve-27b068026d18

Let me know if I can be of any help in putting together an example or some documentation around this topic.

@aaronmarkham aaronmarkham added this to Needs triage in Documentation Updates Apr 29, 2020
@chauhang chauhang moved this from Needs triage to P0 --> Master in Documentation Updates May 21, 2020
@chauhang chauhang moved this from P0 --> Master to v0.1.1 release in Documentation Updates May 21, 2020
@chauhang chauhang moved this from v0.1.1 release to In Review in Documentation Updates May 22, 2020
@chauhang
Copy link
Contributor

Added by PR #302

Documentation Updates automation moved this from In Review to Closed May 31, 2020
@ehutt
Copy link

ehutt commented Feb 2, 2022

Hi - I wrote a custom model handler for serving a Hugging Face transformers T5 model for text generation. I did not find any existing examples that worked due to some slight differences between T5 and other transformers in the library. Where would be the best place to contribute this model handler example? Thanks and apologies if this is not the right place for this question.

@ekaterinatretyak
Copy link

@ehutt

Hi - I wrote a custom model handler for serving a Hugging Face transformers T5 model for text generation. I did not find any existing examples that worked due to some slight differences between T5 and other transformers in the library. Where would be the best place to contribute this model handler example? Thanks and apologies if this is not the right place for this question.

Hi,
Could you kindly share you code for serving a hugging face T5 model?

@ndvbd
Copy link

ndvbd commented Jan 29, 2023

ehutt

Ehutt, Can you share the code here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers
Projects
Development

No branches or pull requests

7 participants