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:55 2025 |
md5 checksum | dd1ed61411ca9851ed20d44534475a3f |
arch | x86_64 |
build | py312h3e0de92_2 |
build_number | 2 |
depends | libgcc-ng >=11.2.0, libprotobuf >=4.25.3,<4.25.4.0a0, libsentencepiece 0.2.0 h70df78d_2, libstdcxx-ng >=11.2.0, python >=3.12,<3.13.0a0 |
license | Apache-2.0 |
license_family | Apache |
md5 | dd1ed61411ca9851ed20d44534475a3f |
name | sentencepiece-python |
platform | linux |
sha1 | 520affbdf90f3824cdbd0d44b867335d5ec177a1 |
sha256 | e491562bd4cca1d80ea9fe46c3aba05a07dc27dc4076010a63cddeac2c12c381 |
size | 3221720 |
subdir | linux-64 |
timestamp | 1722874604268 |
version | 0.2.0 |