Instructions to use ARTeLab/mbart-summarization-mlsum with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ARTeLab/mbart-summarization-mlsum 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="ARTeLab/mbart-summarization-mlsum")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("ARTeLab/mbart-summarization-mlsum") model = AutoModelForSeq2SeqLM.from_pretrained("ARTeLab/mbart-summarization-mlsum", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Librarian Bot: Add base_model information to model (#2)
- Librarian Bot: Add base_model information to model (d940631e84fb6d4f0a05abef6f7051c6a489ba64) Co-authored-by: Librarian Bot (Bot) <librarian-bot@users.noreply.huggingface.co>81dc940
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (46c2b79b9d2fbb6c51ccadf04aa9fe21eb3f26ca) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>136b301
-
Update README.md
37d5072
-
Update README.md
d1f2aa8
-
trained model
artelabsuper6424b22 -
initial commit
1ac048e