Downloads · 30 days
30
4% of all-time downloads
AdamCodd/bart-large-cnn-samsum
bart-large-cnn-samsum is a summarization model from AdamCodd. Use it when you need a shorter version of a longer text. It is set up for transformers. The card lists the license as apache-2.0.
This model is a fine-tuned version of facebook/bart-large-cnn on the samsum dataset. It achieves the following results on the evaluation set: - Loss: 0.755 - Rouge1: 43.6283 - Rouge2: 19.3096 - Rougel: 41.2140 - Rouge…
Downloads · 30 days
30
4% of all-time downloads
All-time downloads
678
Public
Parameters
406M
7.6 GB on disk
Likes
2
Public
Click a slice to open those files.
.onnx4.4 GB · 57%
From the Hugging Face model README
This model is a fine-tuned version of facebook/bart-large-cnn on the samsum dataset. It achieves the following results on the evaluation set:
More information needed
from transformers import pipeline
summarizer = pipeline("summarization", model="AdamCodd/bart-large-cnn-samsum")
conversation = '''Emily: Hey Alex, have you heard about the new restaurant that opened downtown?
Alex: No, I haven't. What's it called?
Emily: It's called "Savory Bites." They say it has the best pasta in town.
Alex: That sounds delicious. When are you thinking of checking it out?
Emily: How about this Saturday? We can make it a dinner date.
Alex: Sounds like a plan, Emily. I'm looking forward to it.
'''
result = summarizer(conversation)
print(result)
More information needed
The following hyperparameters were used during training:
| key | value |
|---|---|
| eval_rouge1 | 43.6283 |
| eval_rouge2 | 19.3096 |
| eval_rougeL | 41.2140 |
| eval_rougeLsum | 37.2590 |
If you want to support me, you can here.