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:52 2025 |
md5 checksum | c02b5381dcb7a059b9c721fb54cd3173 |
arch | x86_64 |
build | py310h3e0de92_3 |
build_number | 3 |
depends | libgcc-ng >=11.2.0, libprotobuf >=4.25.3,<4.25.4.0a0, libsentencepiece 0.2.0 h70df78d_3, libstdcxx-ng >=11.2.0, python >=3.10,<3.11.0a0 |
license | Apache-2.0 |
license_family | Apache |
md5 | c02b5381dcb7a059b9c721fb54cd3173 |
name | sentencepiece-python |
platform | linux |
sha1 | f8dabf8e7a6ea963e87b7719583d1ded196ae6e0 |
sha256 | 72212964432eb23bb7ad86ed58cc9573ee28f3535894c6a73f25efb0eb3fa8bf |
size | 3207210 |
subdir | linux-64 |
timestamp | 1741377334020 |
version | 0.2.0 |