Unsupervised text tokenizer for Neural Network-based text generation
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)) and unigram language model 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.
$
pkg install py311-sentencepieceOrigin
textproc/py-sentencepiece
Size
489KiB
License
APACHE20
Maintainer
yuri@FreeBSD.org
Dependencies
2 packages
Required by
3 packages