Instructions to use ARTeLab/mbart-summarization-fanpage with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ARTeLab/mbart-summarization-fanpage 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-fanpage")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("ARTeLab/mbart-summarization-fanpage") model = AutoModelForSeq2SeqLM.from_pretrained("ARTeLab/mbart-summarization-fanpage", 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 (de67cfe0cf3bfc3bca235bf4da42b7b6c051958a) Co-authored-by: Librarian Bot (Bot) <librarian-bot@users.noreply.huggingface.co>dccbc66
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (b2a4a158197fe8e3877c4cafcfbe82d57144b007) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>1359435
-
Update README.md
7812dc1
-
Update README.md
120aeea
-
train
artelabsuper9e4b0d9 -
initial commit
dc7aa67