henryu-lin
commited on
Commit
•
7feb6eb
1
Parent(s):
3aa9b57
Update README.md
Browse files
README.md
CHANGED
@@ -20,9 +20,9 @@ model-index:
|
|
20 |
widget:
|
21 |
- text: |
|
22 |
Henry: Hey, is Nate coming over to watch the movie tonight?
|
23 |
-
Kevin: Yea, he said he'll be arriving a bit later at around 7 since he gets off of work at 6. Have you taken out the garbage yet?
|
24 |
Henry: Oh I forgot. I'll do that once I'm finished with my assignment for my math class.
|
25 |
-
Kevin: Yea, you should take it out as soon as possible. And also, Nate is bringing his girlfriend.
|
26 |
Henry: Nice, I'm really looking forward to seeing them again.
|
27 |
---
|
28 |
|
@@ -96,9 +96,9 @@ from transformers import pipeline
|
|
96 |
summarizer = pipeline("summarization", model="henryu-lin/t5-3b-samsum-deepspeed")
|
97 |
|
98 |
conversation = '''Henry: Hey, is Nate coming over to watch the movie tonight?
|
99 |
-
Kevin: Yea, he said he'll be arriving a bit later at around 7 since he gets off of work at 6. Have you taken out the garbage yet?
|
100 |
Henry: Oh I forgot. I'll do that once I'm finished with my assignment for my math class.
|
101 |
-
Kevin: Yea, you should take it out as soon as possible. And also, Nate is bringing his girlfriend.
|
102 |
Henry: Nice, I'm really looking forward to seeing them again.
|
103 |
'''
|
104 |
summarizer(conversation)
|
20 |
widget:
|
21 |
- text: |
|
22 |
Henry: Hey, is Nate coming over to watch the movie tonight?
|
23 |
+
Kevin: Yea, he said he'll be arriving a bit later at around 7 since he gets off of work at 6. Have you taken out the garbage yet? It's starting to make the kitchen really smell.
|
24 |
Henry: Oh I forgot. I'll do that once I'm finished with my assignment for my math class.
|
25 |
+
Kevin: Yea, you should take it out as soon as possible. And also, Nate is bringing his girlfriend too.
|
26 |
Henry: Nice, I'm really looking forward to seeing them again.
|
27 |
---
|
28 |
|
96 |
summarizer = pipeline("summarization", model="henryu-lin/t5-3b-samsum-deepspeed")
|
97 |
|
98 |
conversation = '''Henry: Hey, is Nate coming over to watch the movie tonight?
|
99 |
+
Kevin: Yea, he said he'll be arriving a bit later at around 7 since he gets off of work at 6. Have you taken out the garbage yet? It's starting to make the kitchen really smell.
|
100 |
Henry: Oh I forgot. I'll do that once I'm finished with my assignment for my math class.
|
101 |
+
Kevin: Yea, you should take it out as soon as possible. And also, Nate is bringing his girlfriend too.
|
102 |
Henry: Nice, I'm really looking forward to seeing them again.
|
103 |
'''
|
104 |
summarizer(conversation)
|