Translation
Transformers
PyTorch
TensorFlow
JAX
Rust
t5
text-generation
summarization
text-generation-inference
Instructions to use baffo32/t5-base-ptmap with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use baffo32/t5-base-ptmap 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="baffo32/t5-base-ptmap")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelWithLMHead tokenizer = AutoTokenizer.from_pretrained("baffo32/t5-base-ptmap") model = AutoModelWithLMHead.from_pretrained("baffo32/t5-base-ptmap", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Add multilingual to the language tag
Hi! A PR to add multilingual to the language tag to improve the referencing.1a01e7b
-
ptmap
f55711d
-
upload flax model
7590d91 -
allow flax
8bc4e15 -
allow flax
42c3477 -
allow flax
d2707ad
-
update languages to include fr/ro/de
5a7ff2d
-
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-base-README.md5886394
-
For clarity, delete deprecated modelcard.json
We now use the README.md model card instead Approved-by: Julien Chaumond <julien@huggingface.co>3422843
-
addition of Rust model
c233b9a
-
Add tokenizer files
Julien Chaumond0610b4d
-
Update tokenizer.json
ddf8af2
-
Update config.json
c185239
-
Update config.json
f611a04
-
Update config.json
4007124
-
Update config.json
06e82b5
-
Update modelcard.json
57bfc7e
-
Update config.json
666f4ee -
Update pytorch_model.bin
b75b6a8 -
Update tf_model.h5
2c80e13 -
initial commit
991a9da