Summarization
Transformers
PyTorch
English
bart
text2text-generation
sagemaker
Eval Results (legacy)
Instructions to use philschmid/bart-base-samsum with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use philschmid/bart-base-samsum 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="philschmid/bart-base-samsum")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("philschmid/bart-base-samsum") model = AutoModelForSeq2SeqLM.from_pretrained("philschmid/bart-base-samsum") - Notebooks
- Google Colab
- Kaggle
Commit History
Add evaluation results on samsum dataset (#1) 807745b
Update README.md 38a5b89
Update README.md 5918ef4
Update README.md 618c352
Update README.md 65f8cc1
commit files to HF hub 3456945
philschmid commited on