Translation
Transformers
PyTorch
TensorFlow
Safetensors
t5
text-generation
summarization
text-generation-inference
Instructions to use google-t5/t5-3b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google-t5/t5-3b 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-3b")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelWithLMHead tokenizer = AutoTokenizer.from_pretrained("google-t5/t5-3b") model = AutoModelWithLMHead.from_pretrained("google-t5/t5-3b", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#6)
Verified signature- Adding `safetensors` variant of this model (438d15719487b1dd9f9762aa45ed1fc0edbfc7d0) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>bed96aa
-
Add "multilingual" to the language tag (#3)
- Add "multilingual" to the language tag (07a7aee953765d9ec81f05899abe85e2478e65eb) - Update README.md (62006fc8e0fa9e1dd7a82c92b042f2a32a101516) Co-authored-by: Loïck BOURDOIS <lbourdois@users.noreply.huggingface.co>343bb43
-
Update Model Card (#2)
- Update Model Card (04fc18ef44ca5bc21dc7999319c2b218b72343d3) Co-authored-by: Marissa Gerchick <Marissa@users.noreply.huggingface.co>7a91dcd
-
Update README.md
89a53f1
-
update languages to include fr/ro/de
d8c52c7
-
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-3b-README.mdc34f531
-
For clarity, delete deprecated modelcard.json
We now use the README.md model card instead Approved-by: Julien Chaumond <julien@huggingface.co>5962744
-
Add tokenizer files
Julien Chaumond21aca70
-
Update tokenizer.json
ff68578
-
Update config.json
e2f38d9
-
Update config.json
77a5988
-
Update config.json
b2864cc
-
Update config.json
fa66af9
-
Update modelcard.json
97cb92d
-
Update config.json
ca691a4 -
Update pytorch_model.bin
8490690
-
Update tf_model.h5
e375af6 -
initial commit
5e0a32d