Instructions to use microsoft/bloom-deepspeed-inference-int8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/bloom-deepspeed-inference-int8 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="microsoft/bloom-deepspeed-inference-int8")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("microsoft/bloom-deepspeed-inference-int8") model = AutoModel.from_pretrained("microsoft/bloom-deepspeed-inference-int8") - Notebooks
- Google Colab
- Kaggle
Code of Transforming Original Bloom checkpoints to the fast PT files.
#1
by yihaocs - opened