sentencepiece · PyPI
pypi.org › project › sentencepieceJun 18, 2021 · SentencePiece Python Wrapper. Python wrapper for SentencePiece. This API will offer the encoding, decoding and training of Sentencepiece. Build and Install SentencePiece. For Linux (x64/i686), macOS, and Windows(win32/x64) environment, you can simply use pip command to install SentencePiece python module. % pip install sentencepiece