From f86bd6190ad300051fce5f0a13ba03b29e5e199a Mon Sep 17 00:00:00 2001 From: Jerry <71265541+xukp20@users.noreply.github.com> Date: Fri, 1 Dec 2023 18:06:36 +0800 Subject: [PATCH] Fix the typo in SamplingParams' docstring (#1886) --- vllm/sampling_params.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vllm/sampling_params.py b/vllm/sampling_params.py index 5a08169c..f33a33d1 100644 --- a/vllm/sampling_params.py +++ b/vllm/sampling_params.py @@ -69,7 +69,7 @@ class SamplingParams: The returned output will not contain the stop strings. stop_token_ids: List of tokens that stop the generation when they are 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 tokens after the EOS token is generated. max_tokens: Maximum number of tokens to generate per output sequence.