Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
norm
vllm
Commits
f86bd619
Unverified
Commit
f86bd619
authored
Dec 01, 2023
by
Jerry
Committed by
GitHub
Dec 01, 2023
Browse files
Fix the typo in SamplingParams' docstring (#1886)
parent
e5452ddf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/sampling_params.py
vllm/sampling_params.py
+1
-1
No files found.
vllm/sampling_params.py
View file @
f86bd619
...
@@ -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 s
e
pcial tokens.
the stop tokens are sp
e
cial 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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment