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
-
Fix merge conflict v2
5b38050 -
Fix merge conflict
805caae -
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 the default config of xsum
Beep boop, I am a bot from Hugging Face's automatic model evaluator 👋!\ Your model has been evaluated on the default config of the [xsum](https://huggingface.co/datasets/xsum) dataset by @xarymast, using the predictions stored [here](https://huggingface.co/datasets/autoevaluate/autoeval-staging-eval-project-xsum-69daf1dd-12935738).\ Accept this pull request to see the results displayed on the [Hub leaderboard](https://huggingface.co/spaces/autoevaluate/leaderboards?dataset=xsum).\ Evaluate your model on more datasets [here](https://huggingface.co/spaces/autoevaluate/model-evaluator?dataset=xsum).7421ec4
-
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