Downloads · 30 days
19
6% of all-time downloads
neuronstarml/samsuntextsum
samsuntextsum is a summarization model from neuronstarml. Use it when you need a shorter version of a longer text. It is set up for transformers. The card lists the license as mit.
Model obtained by Fine Tuning 'google/pegasus-cnndailymail' using SAMSUM Dataset!
Downloads · 30 days
19
6% of all-time downloads
All-time downloads
304
Public
Parameters
571M
6.8 GB on disk
Likes
0
Public
Click a slice to open those files.
.pt4.6 GB · 66%
From the Hugging Face model README
Model obtained by Fine Tuning 'google/pegasus-cnn_dailymail' using SAMSUM Dataset!
from transformers import pipeline
summarizer = pipeline("summarization", model="neuronstarml/samsuntextsum")
text = '''
Hannah: Hey, do you have Betty's number?
Amanda: Lemme check
Hannah: <file_gif>
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
Hannah: <file_gif>
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(text)