formatting
Browse files
README.md
CHANGED
@@ -336,7 +336,7 @@ model-index:
|
|
336 |
- this param forces the model to use new vocabulary and create an abstractive summary otherwise it may l compile the best _extractive_ summary from the input provided.
|
337 |
- create the pipeline object:
|
338 |
|
339 |
-
```
|
340 |
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
|
341 |
from transformers import pipeline
|
342 |
|
@@ -361,7 +361,7 @@ summarizer = pipeline(
|
|
361 |
|
362 |
- put words into the pipeline object:
|
363 |
|
364 |
-
```
|
365 |
wall_of_text = "your words here"
|
366 |
|
367 |
result = summarizer(
|
|
|
336 |
- this param forces the model to use new vocabulary and create an abstractive summary otherwise it may l compile the best _extractive_ summary from the input provided.
|
337 |
- create the pipeline object:
|
338 |
|
339 |
+
```python
|
340 |
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
|
341 |
from transformers import pipeline
|
342 |
|
|
|
361 |
|
362 |
- put words into the pipeline object:
|
363 |
|
364 |
+
```python
|
365 |
wall_of_text = "your words here"
|
366 |
|
367 |
result = summarizer(
|