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
| System | Port | Version |
|---|---|---|
| DragonFly | textproc/sentencepiece | 0.2.0_1 |
| FreeBSD | textproc/sentencepiece | 0.2.2 |
| NetBSD | textproc/sentencepiece | 0.2.1 |
| MidnightBSD | textproc/sentencepiece | 0.2.1 |
| HardenedBSD | textproc/sentencepiece | 0.2.2 |
| GhostBSD | textproc/sentencepiece | 0.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.