[Bug fix] Fix the multi-input accuracy issue in the pooling model. (#5374)

* fix multi-inputs

* fix threshold

* fix threshold

* fix
This commit is contained in:
lizexu123
2025-12-05 20:18:17 +08:00
committed by GitHub
parent 96d2d4877b
commit d4979347ca
3 changed files with 107 additions and 6 deletions

View File

@@ -933,7 +933,7 @@ class EmbeddingChatRequest(BaseModel):
)
add_special_tokens: bool = Field(
default=False,
default=True,
description=(
"If true, special tokens (e.g. BOS) will be added to the prompt "
"on top of what is added by the chat template. "