py312-sentencepiece (python/py-sentencepiece) Updated: 8 months ago Add to my watchlist
Python wrapper for sentencepieceSentencePiece 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.
Version: 0.2.0 License: Apache-2 GitHubMaintainers | No Maintainer |
Categories | textproc python |
Homepage | https://github.com/google/sentencepiece |
Platforms | darwin |
Variants |
|
Subport(s) (6)
"py312-sentencepiece" depends on
lib (3)
build (6)
test (1)
Ports that depend on "py312-sentencepiece"
lib (1)run (1)
Port Health:
Loading Port Health