Downloads · 30 days
24
0% of all-time downloads
knkarthick/bart-large-xsum-samsum
bart-large-xsum-samsum is a summarization model from knkarthick. 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 was obtained by fine-tuning facebook/bart-large-xsum on Samsum dataset.
Downloads · 30 days
24
0% of all-time downloads
All-time downloads
24.2K
Public
Repo size
3.3 GB
Likes
0
Public
Click a slice to open those files.
.bin1.6 GB · 100%
From the Hugging Face model README
bart-large-xsum-samsumThis model was obtained by fine-tuning facebook/bart-large-xsum on Samsum dataset.
from transformers import pipeline
summarizer = pipeline("summarization", model="knkarthick/bart-large-xsum-samsum")
conversation = '''Hannah: Hey, do you have Betty's number?
Amanda: Lemme check
Amanda: Sorry, can't find it.
Amanda: Ask Larry
Amanda: He called her last time we were at the park together
Hannah: I don't know him well
Amanda: Don't be shy, he's very nice
Hannah: If you say so..
Hannah: I'd rather you texted him
Amanda: Just text him 🙂
Hannah: Urgh.. Alright
Hannah: Bye
Amanda: Bye bye
'''
summarizer(conversation)