"devtools/vscode:/vscode.git/clone" did not exist on "8ce5a685c2e000ced0b074ee6470cd430b0459ca"
Unverified Commit 4fca1a1b authored by Huamin Li's avatar Huamin Li Committed by GitHub
Browse files

[easy] fix pre commit error on trunk (#26665)


Signed-off-by: default avatarHuamin Li <3ericli@gmail.com>
parent a6049be7
......@@ -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,
):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment