Summarization
Transformers
PyTorch
ONNX
Safetensors
bart
text2text-generation
Generated from Trainer
seq2seq
Eval Results (legacy)
Instructions to use AdamCodd/bart-large-cnn-samsum with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AdamCodd/bart-large-cnn-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="AdamCodd/bart-large-cnn-samsum")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("AdamCodd/bart-large-cnn-samsum") model = AutoModelForSeq2SeqLM.from_pretrained("AdamCodd/bart-large-cnn-samsum", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#2)
- Adding `safetensors` variant of this model (6d5bbf002d92984d4933f6c3d22640a505f09c35) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>b753ba6
-
Update README.md
aad80ce -
Update README.md
3548bcd -
Update README.md
412754b -
Adding ONNX file of this model (#1)
- Adding ONNX file of this model (2468eafb858c35508c13474fb59c639252a57f83)c4e82ec
-
Update README.md
255fb1b
-
Update README.md
046e8e0
-
Update README.md
330970c
-
Update README.md
189aa33 -
Update README.md
8955564 -
Update README.md
1bf3e8b -
Update README.md
b5c967a -
Update README.md
367e77e -
Update README.md
42dd1ff -
Upload pytorch_model.bin with huggingface_hub
e1a9b89 -
Upload 8 files
0863237
-
Update README.md
93ea5dc -
Create README.md
d3bf8b2 -
initial commit
Adamac6b40d