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.](http://www.aclweb.org/anthology/P16-1162)]) and unigram language model [[Kudo](https://arxiv.org/abs/1804.109590)]) 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.
Uploaded | Mon Mar 31 02:25:53 2025 |
md5 checksum | 772768466009890a561bd939d1c28fc3 |
arch | x86_64 |
build | py310hdb19cb5_4 |
build_number | 4 |
depends | libgcc-ng >=11.2.0, libprotobuf >=5.29.3,<5.29.4.0a0, libsentencepiece 0.2.0 h647b5c1_4, libstdcxx-ng >=11.2.0, python >=3.10,<3.11.0a0 |
license | Apache-2.0 |
license_family | Apache |
md5 | 772768466009890a561bd939d1c28fc3 |
name | sentencepiece-python |
platform | linux |
sha1 | ee54636fcde1443e2cebf78c287396477815f0a4 |
sha256 | aa21a76875ce1aa8b3ac434274971462dc2671b4db9a3f5d6a39e5675e6b4ee8 |
size | 3207137 |
subdir | linux-64 |
timestamp | 1742566882584 |
version | 0.2.0 |