Skip to content

Commit f2a2281

Browse files
author
Julien Salinas
committed
Fix text generation docs.
1 parent 996339c commit f2a2281

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ The above command returns a JSON object.
111111

112112
### Text Generation Endpoint
113113

114-
Call the `generation()` method and pass 3 arguments:
114+
Call the `generation()` method and pass the following arguments:
115115

116116
1. The block of text that starts the generated text, as a string. 1200 tokens maximum.
117117
1. (Optional) `min_length`: The minimum number of tokens that the generated text should contain, as an integer. The size of the generated text should not exceed 256 tokens on a CPU plan and 1024 tokens on GPU plan. If `length_no_input` is false, the size of the generated text is the difference between `min_length` and the length of your input text. If `length_no_input` is true, the size of the generated text simply is `min_length`. Defaults to 10.

0 commit comments

Comments
 (0)