Summarization
Transformers
PyTorch
TensorBoard
Safetensors
English
bart
text2text-generation
Generated from Trainer
Eval Results (legacy)
Instructions to use Ssarion/bart-base-multi-news with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Ssarion/bart-base-multi-news 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="Ssarion/bart-base-multi-news")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Ssarion/bart-base-multi-news") model = AutoModelForSeq2SeqLM.from_pretrained("Ssarion/bart-base-multi-news") - Notebooks
- Google Colab
- Kaggle
Commit ·
e65bb90
1
Parent(s): 6d92a50
Adding `safetensors` variant of this model (#2)
Browse files- Adding `safetensors` variant of this model (9c1a1b701432120eb505d58b8a4d9487ec922a31)
Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>