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")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("facebook/bart-large-xsum") model = AutoModelForSeq2SeqLM.from_pretrained("facebook/bart-large-xsum") - Inference
- Notebooks
- Google Colab
- Kaggle
Add evaluation results on samsum dataset
Browse filesBeep 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).
README.md
CHANGED
|
@@ -1,11 +1,45 @@
|
|
| 1 |
---
|
| 2 |
tags:
|
| 3 |
- summarization
|
| 4 |
-
|
| 5 |
language:
|
| 6 |
- en
|
| 7 |
-
|
| 8 |
license: mit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
---
|
| 10 |
### Bart model finetuned on xsum
|
| 11 |
|
|
|
|
| 1 |
---
|
| 2 |
tags:
|
| 3 |
- summarization
|
|
|
|
| 4 |
language:
|
| 5 |
- en
|
|
|
|
| 6 |
license: mit
|
| 7 |
+
model-index:
|
| 8 |
+
- name: facebook/bart-large-xsum
|
| 9 |
+
results:
|
| 10 |
+
- task:
|
| 11 |
+
type: summarization
|
| 12 |
+
name: Summarization
|
| 13 |
+
dataset:
|
| 14 |
+
name: samsum
|
| 15 |
+
type: samsum
|
| 16 |
+
config: samsum
|
| 17 |
+
split: train
|
| 18 |
+
metrics:
|
| 19 |
+
- name: ROUGE-1
|
| 20 |
+
type: rouge
|
| 21 |
+
value: 24.7852
|
| 22 |
+
verified: true
|
| 23 |
+
- name: ROUGE-2
|
| 24 |
+
type: rouge
|
| 25 |
+
value: 5.2533
|
| 26 |
+
verified: true
|
| 27 |
+
- name: ROUGE-L
|
| 28 |
+
type: rouge
|
| 29 |
+
value: 18.6792
|
| 30 |
+
verified: true
|
| 31 |
+
- name: ROUGE-LSUM
|
| 32 |
+
type: rouge
|
| 33 |
+
value: 20.629
|
| 34 |
+
verified: true
|
| 35 |
+
- name: loss
|
| 36 |
+
type: loss
|
| 37 |
+
value: 3.746837854385376
|
| 38 |
+
verified: true
|
| 39 |
+
- name: gen_len
|
| 40 |
+
type: gen_len
|
| 41 |
+
value: 23.1206
|
| 42 |
+
verified: true
|
| 43 |
---
|
| 44 |
### Bart model finetuned on xsum
|
| 45 |
|