Transformers
PyTorch
Safetensors
Portuguese
t5
text2text-generation
ul2
pt-br
text-generation-inference
Instructions to use tgsc/ult5-pt-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tgsc/ult5-pt-small with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("tgsc/ult5-pt-small") model = AutoModelForSeq2SeqLM.from_pretrained("tgsc/ult5-pt-small", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from tgsc/ult5-pt-small: direct link, hf CLI and curl.
- Browser
- Download file 2.19 MB
-
https://huggingface.co/tgsc/ult5-pt-small/resolve/main/tokenizer.json
- Command line
-
hf download hf://tgsc/ult5-pt-small/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/tgsc/ult5-pt-small/resolve/main/tokenizer.json
2.19 MB
File too large to display, you can check the raw version instead.