readme updated
Browse files
README.md
CHANGED
|
@@ -18,12 +18,21 @@ Model obtained by Fine Tuning 'google/pegasus-cnn_dailymail' using SAMSUM Datas
|
|
| 18 |
from transformers import pipeline
|
| 19 |
summarizer = pipeline("summarization", model="neuronstarml/samsuntextsum")
|
| 20 |
text = '''
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
'''
|
| 28 |
summarizer(text)
|
| 29 |
```
|
|
|
|
| 18 |
from transformers import pipeline
|
| 19 |
summarizer = pipeline("summarization", model="neuronstarml/samsuntextsum")
|
| 20 |
text = '''
|
| 21 |
+
Hannah: Hey, do you have Betty's number?
|
| 22 |
+
Amanda: Lemme check
|
| 23 |
+
Hannah: <file_gif>
|
| 24 |
+
Amanda: Sorry, can't find it.
|
| 25 |
+
Amanda: Ask Larry
|
| 26 |
+
Amanda: He called her last time we were at the park together
|
| 27 |
+
Hannah: I don't know him well
|
| 28 |
+
Hannah: <file_gif>
|
| 29 |
+
Amanda: Don't be shy, he's very nice
|
| 30 |
+
Hannah: If you say so..
|
| 31 |
+
Hannah: I'd rather you texted him
|
| 32 |
+
Amanda: Just text him 🙂
|
| 33 |
+
Hannah: Urgh.. Alright
|
| 34 |
+
Hannah: Bye
|
| 35 |
+
Amanda: Bye bye
|
| 36 |
'''
|
| 37 |
summarizer(text)
|
| 38 |
```
|