Natural Language Processing
Collection
12 items
•
Updated
•
1
This model is a fine-tuned version of facebook/bart-large-xsum on the samsum dataset. It achieves the following results on the evaluation set:
This model tends to generate less verbose summaries compared to AdamCodd/bart-large-cnn-samsum, yet I find its quality to be superior (which is reflected in the metrics).
Suitable for summarizing dialogue-style text, it may not perform as well with other types of text formats.
from transformers import pipeline
summarizer = pipeline("summarization", model="AdamCodd/bart-large-xsum-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 | 54.3073 |
eval_rouge2 | 29.0947 |
eval_rougeL | 44.4676 |
eval_rougeLsum | 49.895 |
If you want to support me, you can here.