Summarization
Transformers
PyTorch
Safetensors
English
bart
text2text-generation
seq2seq
Eval Results (legacy)
Instructions to use lidiya/bart-large-xsum-samsum with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lidiya/bart-large-xsum-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="lidiya/bart-large-xsum-samsum")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("lidiya/bart-large-xsum-samsum") model = AutoModelForSeq2SeqLM.from_pretrained("lidiya/bart-large-xsum-samsum", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Fix typo in ROUGE metrics (#1)
Browse files- Fix typo in ROUGE metrics (6484e476c46b163449717e923f039b5e7dd33977)
Co-authored-by: Lewis Tunstall <lewtun@users.noreply.huggingface.co>
README.md
CHANGED
|
@@ -32,23 +32,23 @@ model-index:
|
|
| 32 |
name: "SAMSum Corpus: A Human-annotated Dialogue Dataset for Abstractive Summarization"
|
| 33 |
type: samsum
|
| 34 |
metrics:
|
| 35 |
-
- name: Validation
|
| 36 |
-
type:
|
| 37 |
value: 54.3921
|
| 38 |
-
- name: Validation
|
| 39 |
-
type:
|
| 40 |
value: 29.8078
|
| 41 |
-
- name: Validation
|
| 42 |
-
type:
|
| 43 |
value: 45.1543
|
| 44 |
-
- name: Test
|
| 45 |
-
type:
|
| 46 |
value: 53.3059
|
| 47 |
-
- name: Test
|
| 48 |
-
type:
|
| 49 |
value: 28.355
|
| 50 |
-
- name: Test
|
| 51 |
-
type:
|
| 52 |
value: 44.0953
|
| 53 |
---
|
| 54 |
## `bart-large-xsum-samsum`
|
|
|
|
| 32 |
name: "SAMSum Corpus: A Human-annotated Dialogue Dataset for Abstractive Summarization"
|
| 33 |
type: samsum
|
| 34 |
metrics:
|
| 35 |
+
- name: Validation ROUGE-1
|
| 36 |
+
type: rouge-1
|
| 37 |
value: 54.3921
|
| 38 |
+
- name: Validation ROUGE-2
|
| 39 |
+
type: rouge-2
|
| 40 |
value: 29.8078
|
| 41 |
+
- name: Validation ROUGE-L
|
| 42 |
+
type: rouge-l
|
| 43 |
value: 45.1543
|
| 44 |
+
- name: Test ROUGE-1
|
| 45 |
+
type: rouge-1
|
| 46 |
value: 53.3059
|
| 47 |
+
- name: Test ROUGE-2
|
| 48 |
+
type: rouge-2
|
| 49 |
value: 28.355
|
| 50 |
+
- name: Test ROUGE-L
|
| 51 |
+
type: rouge-l
|
| 52 |
value: 44.0953
|
| 53 |
---
|
| 54 |
## `bart-large-xsum-samsum`
|