BSD Ports

textproc/sentencepiece 0.2.0_1 DragonFly

Unsupervised text tokenizer for Neural Network-based text generation

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
APACHE20
Categories
textproc
Package size
961.8 KiB, 7321.5 KiB installed

Description

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.

In the other systems

SystemPortVersion
DragonFlytextproc/sentencepiece0.2.0_1
FreeBSDtextproc/sentencepiece0.2.2
NetBSDtextproc/sentencepiece0.2.1
MidnightBSDtextproc/sentencepiece0.2.1
HardenedBSDtextproc/sentencepiece0.2.2
GhostBSDtextproc/sentencepiece0.2.2

Install

Binary package:

pkg install sentencepiece

From DPorts:

cd /usr/dports/textproc/sentencepiece && make install clean

Dependencies

No port depends on this one.