mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-05-02 16:04:28 +08:00
[easy] fix pre commit error on trunk (#26665)
Signed-off-by: Huamin Li <3ericli@gmail.com>
This commit is contained in:
parent
a6049be73c
commit
4fca1a1bd2
@ -609,8 +609,8 @@ class SPLADESparsePooler(Pooler):
|
|||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
mlm_head: nn.Module,
|
mlm_head: nn.Module,
|
||||||
cls_token_id: Optional[int] = 101,
|
cls_token_id: int | None = 101,
|
||||||
sep_token_id: Optional[int] = 102,
|
sep_token_id: int | None = 102,
|
||||||
pooling: str = "max",
|
pooling: str = "max",
|
||||||
remove_cls_sep: bool = True,
|
remove_cls_sep: bool = True,
|
||||||
):
|
):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user