pszemraj commited on
Commit
3bb14b9
1 Parent(s): b46b892

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -74,6 +74,7 @@ inference:
74
  - all the parameters for generation on the API are the same as [the base model](https://huggingface.co/pszemraj/led-base-book-summary) for easy comparison between versions.
75
  - works well on lots of text, can hand 16384 tokens/batch.
76
 
 
77
 
78
  ---
79
 
@@ -82,7 +83,6 @@ inference:
82
  - it is recommended to use `encoder_no_repeat_ngram_size=3` when calling the pipeline object to improve summary quality.
83
  - this param forces the model to use new vocabulary and create an abstractive summary, otherwise it may compile the best _extractive_ summary from the input provided.
84
  - create the pipeline object:
85
- > Note: the API is set to generate a max of 64 tokens for runtime reasons, so the summaries may be truncated (depending on length of input text). For best results use python as below.
86
 
87
  ```
88
  from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
 
74
  - all the parameters for generation on the API are the same as [the base model](https://huggingface.co/pszemraj/led-base-book-summary) for easy comparison between versions.
75
  - works well on lots of text, can hand 16384 tokens/batch.
76
 
77
+ > Note: the API is set to generate a max of 64 tokens for runtime reasons, so the summaries may be truncated (depending on length of input text). For best results use python as below.
78
 
79
  ---
80
 
 
83
  - it is recommended to use `encoder_no_repeat_ngram_size=3` when calling the pipeline object to improve summary quality.
84
  - this param forces the model to use new vocabulary and create an abstractive summary, otherwise it may compile the best _extractive_ summary from the input provided.
85
  - create the pipeline object:
 
86
 
87
  ```
88
  from transformers import AutoModelForSeq2SeqLM, AutoTokenizer