Summarization
Transformers
PyTorch
Safetensors
bart
text2text-generation
Generated from Trainer
Eval Results (legacy)
Instructions to use morenolq/bart-base-xsum with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use morenolq/bart-base-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="morenolq/bart-base-xsum")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("morenolq/bart-base-xsum") model = AutoModelForSeq2SeqLM.from_pretrained("morenolq/bart-base-xsum") - Notebooks
- Google Colab
- Kaggle
Librarian Bot: Add base_model information to model
#5
by librarian-bot - opened
README.md
CHANGED
|
@@ -3,6 +3,7 @@ license: apache-2.0
|
|
| 3 |
tags:
|
| 4 |
- generated_from_trainer
|
| 5 |
- summarization
|
|
|
|
| 6 |
model-index:
|
| 7 |
- name: bart-base-xsum
|
| 8 |
results:
|
|
|
|
| 3 |
tags:
|
| 4 |
- generated_from_trainer
|
| 5 |
- summarization
|
| 6 |
+
base_model: facebook/bart-base
|
| 7 |
model-index:
|
| 8 |
- name: bart-base-xsum
|
| 9 |
results:
|