Translation
Transformers
PyTorch
TensorFlow
JAX
Safetensors
t5
text2text-generation
summarization
text-generation-inference
Instructions to use google-t5/t5-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google-t5/t5-large 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-large")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("google-t5/t5-large") model = AutoModelForSeq2SeqLM.from_pretrained("google-t5/t5-large", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#10)
- Adding `safetensors` variant of this model (e3ff4846345771a5a7f9355bba0c2948cf2f9e9e) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>150ebc2
-
Adding generation config file(s)
6ed159b
-
Add "multilingual" to the language tag (#9)
- Add "multilingual" to the language tag (3a1542603649ea30cf28ab8d5c983b65e5bb9ec6) - Update README.md (36bb90f805302271cd4141dd0453d246c25e84ab) Co-authored-by: Loïck BOURDOIS <lbourdois@users.noreply.huggingface.co>9be7e43
-
Use T5ForConditionalGeneration (#7)
- Use T5ForConditionalGeneration (66b9b43093d92186386c748274eb921ed78acaa3) Co-authored-by: Félix Marty <fxmarty@users.noreply.huggingface.co>3b572c1 -
Use T5ForConditionalGeneration (#7)
- Use T5ForConditionalGeneration (66b9b43093d92186386c748274eb921ed78acaa3) Co-authored-by: Félix Marty <fxmarty@users.noreply.huggingface.co>26629ba
-
Update model card (#3)
- Update model card (37f7eebf644bc5c033a31e4b9aa9f25debc1d3e4) Co-authored-by: Marissa Gerchick <Marissa@users.noreply.huggingface.co>cb7a967
-
Update README.md
0c716e1
-
add flax
ecee8a9
-
allow flax
16dbd4a
-
update languages to include fr/ro/de
1284e25
-
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-large-README.mde373802
-
For clarity, delete deprecated modelcard.json
We now use the README.md model card instead Approved-by: Julien Chaumond <julien@huggingface.co>f3f29d5
-
Add tokenizer files
Julien Chaumond37886d8
-
Update tokenizer.json
aa1ba2a
-
Update config.json
590af1c
-
Update config.json
9ad4eca
-
Update config.json
a6d99a2
-
Update config.json
a1547ac
-
Update modelcard.json
9311dac
-
Update config.json
7bc8d13 -
Update pytorch_model.bin
0be5488 -
Update tf_model.h5
be3f0f8 -
initial commit
991a9da