py310-sentencepiece

v 0.2.0 Updated: 7 months, 3 weeks ago

Python wrapper for sentencepiece

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.]) 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.

https://github.com/google/sentencepiece

To install py310-sentencepiece, paste this in macOS terminal after installing MacPorts

sudo port install py310-sentencepiece

Add to my watchlist

Installations 0
Requested Installations 0