Instructions to use mrm8488/bert2bert_shared-spanish-finetuned-summarization with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mrm8488/bert2bert_shared-spanish-finetuned-summarization 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="mrm8488/bert2bert_shared-spanish-finetuned-summarization")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("mrm8488/bert2bert_shared-spanish-finetuned-summarization") model = AutoModelForSeq2SeqLM.from_pretrained("mrm8488/bert2bert_shared-spanish-finetuned-summarization", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (39b5395a41a16fc2210fbefe426947516d7ad489) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>0d0f875
-
Update README.md
db00cae
-
Update README.md
6f97df2 -
Update README.md
eb837b3 -
Update README.md
e75a059 -
Update README.md
99bcc85
-
Update tokenizer config
1ef0787 -
Create README.md
cfb8c75 -
Initial commit from mrm8488
f8b88e4 -
initial commit
b449e95