CMD + K

sentencepiece

Community

Unsupervised text tokenizer for Neural Network-based text generation.

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::sentencepiece

Usage Tracking

0.2.1
0.2.0
0.1.99
0.1.97
0.1.96
5 / 8 versions selected
Downloads (Last 6 months): 0

Description

SentencePiece is an unsupervised text tokenizer and detokenizer mainly for Neural Network-based text generation systems where the vocabulary size is predetermined prior to the neural model training.

SentencePiece implements subword units (e.g., byte-pair-encoding (BPE) [Sennrich et al.]) and unigram language model [Kudo]) with the extension of direct training from raw sentences. SentencePiece allows us to make a purely end-to-end system that does not depend on language-specific pre/postprocessing.

About

Summary

Unsupervised text tokenizer for Neural Network-based text generation.

Last Updated

Sep 22, 2025 at 10:41

License

Apache-2.0

Total Downloads

1.8M

Supported Platforms

macOS-64
linux-ppc64le
macOS-arm64
win-64
linux-aarch64
linux-64