Summarization
Transformers
PyTorch
TensorFlow
JAX
Rust
Safetensors
English
bart
text2text-generation
Eval Results (legacy)
Instructions to use facebook/bart-large-cnn with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/bart-large-cnn 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-cnn")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("facebook/bart-large-cnn") model = AutoModelForSeq2SeqLM.from_pretrained("facebook/bart-large-cnn") - Inference
- Notebooks
- Google Colab
- Kaggle
Fix broken link
#66
by mrfakename - opened
README.md
CHANGED
|
@@ -46,7 +46,7 @@ model-index:
|
|
| 46 |
---
|
| 47 |
# BART (large-sized model), fine-tuned on CNN Daily Mail
|
| 48 |
|
| 49 |
-
BART model pre-trained on English language, and fine-tuned on [CNN Daily Mail](https://huggingface.co/datasets/cnn_dailymail). It was introduced in the paper [BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehension](https://arxiv.org/abs/1910.13461) by Lewis et al. and first released in [this repository
|
| 50 |
|
| 51 |
Disclaimer: The team releasing BART did not write a model card for this model so this model card has been written by the Hugging Face team.
|
| 52 |
|
|
|
|
| 46 |
---
|
| 47 |
# BART (large-sized model), fine-tuned on CNN Daily Mail
|
| 48 |
|
| 49 |
+
BART model pre-trained on English language, and fine-tuned on [CNN Daily Mail](https://huggingface.co/datasets/cnn_dailymail). It was introduced in the paper [BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehension](https://arxiv.org/abs/1910.13461) by Lewis et al. and first released in [this repository](https://github.com/pytorch/fairseq/tree/master/examples/bart).
|
| 50 |
|
| 51 |
Disclaimer: The team releasing BART did not write a model card for this model so this model card has been written by the Hugging Face team.
|
| 52 |
|