Update README.md
Browse files
README.md
CHANGED
@@ -108,7 +108,10 @@ Running Pipeline
|
|
108 |
# Use a pipeline as a high-level helper
|
109 |
from transformers import pipeline
|
110 |
|
|
|
111 |
pipe = pipeline("summarization", model="Falconsai/arc_of_conversation")
|
|
|
|
|
112 |
|
113 |
```
|
114 |
|
|
|
108 |
# Use a pipeline as a high-level helper
|
109 |
from transformers import pipeline
|
110 |
|
111 |
+
convo1 = 'Your conversation text here.'
|
112 |
pipe = pipeline("summarization", model="Falconsai/arc_of_conversation")
|
113 |
+
res1 = pipe(convo1, max_length=2048, min_length=1024, do_sample=False)
|
114 |
+
print(res1)
|
115 |
|
116 |
```
|
117 |
|