Summarization
Transformers
PyTorch
Safetensors
Portuguese
t5
text2text-generation
pt-br
abstractive summarization
text-generation-inference
Instructions to use recogna-nlp/ptt5-base-summ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use recogna-nlp/ptt5-base-summ with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "summarization" 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("summarization", model="recogna-nlp/ptt5-base-summ")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("recogna-nlp/ptt5-base-summ") model = AutoModelForSeq2SeqLM.from_pretrained("recogna-nlp/ptt5-base-summ", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
Verified signature- Adding `safetensors` variant of this model (20e8d740e673cb076f1caf90dcb235412c6f3fcb) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>84509bf
-
Update README.md
Verified signature1410e16
-
Update README.md
46a78fc
-
Update README.md
49bb2a3 -
Update README.md
d2d7dd7 -
Update README.md
339ecb6
-
Update README.md
ad4cca5 -
Update README.md
6e1d0ea -
Update README.md
5e4bc33 -
Update config.json
5f073bc -
Update config.json
6c567e6 -
Update README.md
dc4e179 -
upload model
fe2eec3 -
initial commit
1f335a0