Summarization
Transformers
PyTorch
TensorFlow
JAX
Rust
English
bart
text2text-generation
Eval Results (legacy)
Instructions to use facebook/bart-large-xsum with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/bart-large-xsum 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="facebook/bart-large-xsum")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("facebook/bart-large-xsum") model = AutoModelForSeq2SeqLM.from_pretrained("facebook/bart-large-xsum", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Merge branch 'main' into pr/1
5f7b7e8 -
Add evaluation results on the default config of xsum (#5)
- Add evaluation results on the default config of xsum (7421ec403505a71a1cea8b9097e15e384cbb7440) - Fix merge conflict (805caaedbc72d1f85b3bdbe6e5d52336e0fe2923) - Fix merge conflict v2 (5b380508a47d418ed40e453fcc4d99e9d4ee82cb) Co-authored-by: Evaluation Bot <autoevaluator@users.noreply.huggingface.co>d2e47ef -
Add evaluation results on the 3.0.0 config of cnn_dailymail (#6)
- Add evaluation results on the 3.0.0 config of cnn_dailymail (ca8b6fb3b6aaf040e41887ebb2601de9e3afbd3b) Co-authored-by: Evaluation Bot <autoevaluator@users.noreply.huggingface.co>4691813
-
Add evaluation results on samsum dataset
Beep boop, I am a bot from Hugging Face's automatic model evaluator 👋!\ Your model has been evaluated on the [samsum](https://huggingface.co/datasets/samsum) dataset by @ikadebi, using the predictions stored [here](https://huggingface.co/datasets/autoevaluate/autoeval-staging-eval-project-samsum-0c672345-10275365).\ Accept this pull request to see the results displayed on the [Hub leaderboard](https://huggingface.co/spaces/autoevaluate/leaderboards?dataset=samsum).\ Evaluate your model on more datasets [here](https://huggingface.co/spaces/autoevaluate/model-evaluator?dataset=samsum).4c77055
-
add flax model
e5a0499
-
Move tokenizer.json
from roberta-large96ea79a
-
Update tf_model.h5
99b7261
-
Update tokenizer_config.json
64185ae -
Update vocab.json
6e58a98 -
Update merges.txt
7d18bd4
-
Update README.md
6353a59 -
Update README.md
a88ca6a -
Update README.md
78c9ce3 -
Update README.md
b9743ab -
Update README.md
a840f0c -
Update README.md
41e192d
-
Update config.json
8c83c40
-
Update rust_model.ot
c6d24c6
-
Update config.json
a4568fc
-
Update config.json
ebe714a
-
Update config.json
c6922af
-
Update config.json
6af54f2 -
Update pytorch_model.bin
6c178f3
-
Update config.json
ed6f987 -
Update config.json
c61364a
-
Update config.json
ad16136 -
initial commit
b551244