revise type specification (#1289)

This commit is contained in:
Hiroshi Matsuda
2023-07-06 23:36:48 +09:00
committed by GitHub
parent 864135bef1
commit 26659de473

View File

@ -16,7 +16,7 @@ class SentencePieceUnigramTokenizer(BaseTokenizer):
def __init__(
self,
vocab: Optional[str] = None,
vocab: Optional[List[Tuple[str, float]]] = None,
replacement: str = "",
add_prefix_space: bool = True,
):