Update README.md
Browse files
README.md
CHANGED
@@ -9,18 +9,13 @@ datasets:
|
|
9 |
metrics:
|
10 |
- rouge
|
11 |
widget:
|
12 |
-
- text:
|
13 |
Emily: Hey Alex, have you heard about the new restaurant that opened
|
14 |
downtown?
|
15 |
-
|
16 |
Alex: No, I haven't. What's it called?
|
17 |
-
|
18 |
Emily: It's called "Savory Bites." They say it has the best pasta in town.
|
19 |
-
|
20 |
Alex: That sounds delicious. When are you thinking of checking it out?
|
21 |
-
|
22 |
Emily: How about this Saturday? We can make it a dinner date.
|
23 |
-
|
24 |
Alex: Sounds like a plan, Emily. I'm looking forward to it.
|
25 |
model-index:
|
26 |
- name: bart-large-xsum-samsum
|
@@ -63,7 +58,7 @@ More information needed
|
|
63 |
|
64 |
```python
|
65 |
from transformers import pipeline
|
66 |
-
summarizer = pipeline("summarization", model="AdamCodd/bart-large-
|
67 |
|
68 |
conversation = '''Emily: Hey Alex, have you heard about the new restaurant that opened downtown?
|
69 |
Alex: No, I haven't. What's it called?
|
|
|
9 |
metrics:
|
10 |
- rouge
|
11 |
widget:
|
12 |
+
- text: |
|
13 |
Emily: Hey Alex, have you heard about the new restaurant that opened
|
14 |
downtown?
|
|
|
15 |
Alex: No, I haven't. What's it called?
|
|
|
16 |
Emily: It's called "Savory Bites." They say it has the best pasta in town.
|
|
|
17 |
Alex: That sounds delicious. When are you thinking of checking it out?
|
|
|
18 |
Emily: How about this Saturday? We can make it a dinner date.
|
|
|
19 |
Alex: Sounds like a plan, Emily. I'm looking forward to it.
|
20 |
model-index:
|
21 |
- name: bart-large-xsum-samsum
|
|
|
58 |
|
59 |
```python
|
60 |
from transformers import pipeline
|
61 |
+
summarizer = pipeline("summarization", model="AdamCodd/bart-large-xsum-samsum")
|
62 |
|
63 |
conversation = '''Emily: Hey Alex, have you heard about the new restaurant that opened downtown?
|
64 |
Alex: No, I haven't. What's it called?
|