Update README.md
Browse files
README.md
CHANGED
@@ -49,10 +49,12 @@ More information needed
|
|
49 |
from transformers import pipeline
|
50 |
summarizer = pipeline("text2text-generation", model="AdamCodd/bart-large-cnn-samsum")
|
51 |
|
52 |
-
conversation = '''
|
53 |
-
|
54 |
-
|
55 |
-
|
|
|
|
|
56 |
'''
|
57 |
summarizer(conversation)
|
58 |
```
|
|
|
49 |
from transformers import pipeline
|
50 |
summarizer = pipeline("text2text-generation", model="AdamCodd/bart-large-cnn-samsum")
|
51 |
|
52 |
+
conversation = '''Emily: Hey Alex, have you heard about the new restaurant that opened downtown?
|
53 |
+
Alex: No, I haven't. What's it called?
|
54 |
+
Emily: It's called "Savory Bites." They say it has the best pasta in town.
|
55 |
+
Alex: That sounds delicious. When are you thinking of checking it out?
|
56 |
+
Emily: How about this Saturday? We can make it a dinner date.
|
57 |
+
Alex: Sounds like a plan, Emily. I'm looking forward to it.
|
58 |
'''
|
59 |
summarizer(conversation)
|
60 |
```
|