Summarization
Transformers
PyTorch
TensorBoard
bart
text2text-generation
Generated from Trainer
Eval Results (legacy)
Instructions to use sunsvrv/bart-base-facebook with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sunsvrv/bart-base-facebook 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="sunsvrv/bart-base-facebook")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("sunsvrv/bart-base-facebook") model = AutoModelForSeq2SeqLM.from_pretrained("sunsvrv/bart-base-facebook") - Notebooks
- Google Colab
- Kaggle
Librarian Bot: Add base_model information to model
#2
by librarian-bot - opened
README.md
CHANGED
|
@@ -7,12 +7,13 @@ datasets:
|
|
| 7 |
- xsum
|
| 8 |
metrics:
|
| 9 |
- rouge
|
|
|
|
| 10 |
model-index:
|
| 11 |
- name: bart-base-facebook
|
| 12 |
results:
|
| 13 |
- task:
|
| 14 |
-
name: Sequence-to-sequence Language Modeling
|
| 15 |
type: text2text-generation
|
|
|
|
| 16 |
dataset:
|
| 17 |
name: xsum
|
| 18 |
type: xsum
|
|
@@ -20,9 +21,9 @@ model-index:
|
|
| 20 |
split: train
|
| 21 |
args: default
|
| 22 |
metrics:
|
| 23 |
-
-
|
| 24 |
-
type: rouge
|
| 25 |
value: 0.7146
|
|
|
|
| 26 |
---
|
| 27 |
|
| 28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 7 |
- xsum
|
| 8 |
metrics:
|
| 9 |
- rouge
|
| 10 |
+
base_model: facebook/bart-base
|
| 11 |
model-index:
|
| 12 |
- name: bart-base-facebook
|
| 13 |
results:
|
| 14 |
- task:
|
|
|
|
| 15 |
type: text2text-generation
|
| 16 |
+
name: Sequence-to-sequence Language Modeling
|
| 17 |
dataset:
|
| 18 |
name: xsum
|
| 19 |
type: xsum
|
|
|
|
| 21 |
split: train
|
| 22 |
args: default
|
| 23 |
metrics:
|
| 24 |
+
- type: rouge
|
|
|
|
| 25 |
value: 0.7146
|
| 26 |
+
name: Rouge1
|
| 27 |
---
|
| 28 |
|
| 29 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|