pszemraj commited on
Commit
75958e7
1 Parent(s): 403a4a9

formatting

Browse files
Files changed (1) hide show
  1. README.md +2 -2
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(