mirror of
https://github.com/vllm-project/vllm.git
synced 2025-10-20 14:53:52 +08:00
[easy] fix pre commit error on trunk (#26665)
Signed-off-by: Huamin Li <3ericli@gmail.com>
This commit is contained in:
@ -609,8 +609,8 @@ class SPLADESparsePooler(Pooler):
|
||||
def __init__(
|
||||
self,
|
||||
mlm_head: nn.Module,
|
||||
cls_token_id: Optional[int] = 101,
|
||||
sep_token_id: Optional[int] = 102,
|
||||
cls_token_id: int | None = 101,
|
||||
sep_token_id: int | None = 102,
|
||||
pooling: str = "max",
|
||||
remove_cls_sep: bool = True,
|
||||
):
|
||||
|
Reference in New Issue
Block a user