Translation
Transformers
PyTorch
TensorFlow
t5
text-generation
summarization
text-generation-inference
Instructions to use google-t5/t5-11b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google-t5/t5-11b with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("translation", model="google-t5/t5-11b")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelWithLMHead tokenizer = AutoTokenizer.from_pretrained("google-t5/t5-11b") model = AutoModelWithLMHead.from_pretrained("google-t5/t5-11b", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Add "multilingual" to the language tag (#2)
- Add "multilingual" to the language tag (b5e6a3a68e41e1bdfe64bee72bd915e684656d20) - Update README.md (1c39c34c57d881e3924878205874171c41e5fa7b) Co-authored-by: Loïck BOURDOIS <lbourdois@users.noreply.huggingface.co>90f3770
-
Update model card (#1)
- Update model card (a3bb583a6e7543f746c1c018972f0b4432ef4f3f) Co-authored-by: Marissa Gerchick <Marissa@users.noreply.huggingface.co>41f839d
-
Update README.md
952e4a1 -
Update README.md
a1ea5cf
-
update languages to include fr/ro/de
b8fabb3
-
add DeepSpeed as another solution for ths huge model.
fa3444f
-
Migrate model card from transformers-repo
Read announcement at https://discuss.huggingface.co/t/announcement-all-model-cards-will-be-migrated-to-hf-co-model-repos/2755 Original file history: https://github.com/huggingface/transformers/commits/master/model_cards/t5-11b-README.md424857d
-
For clarity, delete deprecated modelcard.json
We now use the README.md model card instead Approved-by: Julien Chaumond <julien@huggingface.co>8b62c79
-
Add tokenizer files
Julien Chaumond36ce142
-
Update tokenizer.json
1cbffb4
-
Update config.json
1e44e08
-
Update config.json
2aaf968
-
Update config.json
abf616c
-
Update config.json
a891b2c
-
Update modelcard.json
ed40050
-
Update tf_model.h5
0417f10 -
Update pytorch_model.bin
ddb3081 -
Update config.json
4657e9b -
initial commit
10f1f71