mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-19 12:57:58 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
1eeb31065f
commit
efc90bfb1b
1 changed files with 1 additions and 2 deletions
|
|
@ -295,8 +295,7 @@ class VLLMServer(APIServer):
|
|||
# Only normalize BOS for tokenizer-encoded prompt text.
|
||||
if (
|
||||
from_prompt_text
|
||||
and
|
||||
len(prompt_tokens) >= 2
|
||||
and len(prompt_tokens) >= 2
|
||||
and prompt_tokens[0] == self.tokenizer.bos_token_id == prompt_tokens[1]
|
||||
):
|
||||
prompt_tokens = prompt_tokens[1:]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue