Unverified Commit f86bd619 authored by Jerry's avatar Jerry Committed by GitHub
Browse files

Fix the typo in SamplingParams' docstring (#1886)

parent e5452ddf
...@@ -69,7 +69,7 @@ class SamplingParams: ...@@ -69,7 +69,7 @@ class SamplingParams:
The returned output will not contain the stop strings. The returned output will not contain the stop strings.
stop_token_ids: List of tokens that stop the generation when they are stop_token_ids: List of tokens that stop the generation when they are
generated. The returned output will contain the stop tokens unless generated. The returned output will contain the stop tokens unless
the stop tokens are sepcial tokens. the stop tokens are special tokens.
ignore_eos: Whether to ignore the EOS token and continue generating ignore_eos: Whether to ignore the EOS token and continue generating
tokens after the EOS token is generated. tokens after the EOS token is generated.
max_tokens: Maximum number of tokens to generate per output sequence. max_tokens: Maximum number of tokens to generate per output sequence.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment