sentencepiece python library

sentencepiece

Subscription: Developer
Last updated a month ago
Active
Subscription: Developer

Unsupervised text tokenizer and detokenizer that supports encoding, decoding, and training of SentencePiece models. Provides a Python wrapper with features comparable to Hugging Face Tokenizers and OpenAI's tiktoken.

pip install sentencepiece==0.2.1
  • 0.2.1
    Linux
    Last updated a month ago