-
Notifications
You must be signed in to change notification settings - Fork 31.8k
Add CPU vs GPU performance comparison example #43102
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
base: main
Are you sure you want to change the base?
Conversation
Updated the example to use a generator for batch processing of prompts.
…indi) Added an example for multilingual text generation using the text-generation pipeline and the accelerate library.
…indi) Added multilingual text-generation example (English, Hindi, Telugu)
Added a section comparing inference speed on CPU vs GPU using Hugging Face pipeline and Accelerator.
Add CPU vs GPU performance comparison example
docs: added multi-input,device-aware text-generation example
Add multilingual text generation example to tutorial(English,Telugu,Hindi)
This example demonstrates batch inference with custom post-processing for text generation using the transformers library.
Add advanced text-generation example with post-processing
Rename advanced_examples to advanced_examples.md
Added a detailed explanation of Named Entity Recognition (NER) and provided a code example using the Hugging Face transformers pipeline.
Enhance NER example in pipeline tutorial
|
Hi |
stevhliu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hey, thanks but i don't think its necessary to show multilingual text generation and ner as the goal is to keep this doc more general. likewise, not necessary to compare cpu/gpu performance
Added a section comparing inference speed on CPU vs GPU using Hugging Face pipeline and Accelerator.