textproc/py-sentencepiece 0.2.2 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
- 447.0 KiB, 1671.6 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
The newest version among them is 0.2.3, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | textproc/py-sentencepiece | 0.2.2 behind since 2026-11-10 | none known | - | [email protected] | - |
| FreeBSD | textproc/py-sentencepiece | 0.2.3 newest | none known | - | [email protected] | 2026-11-10 |
| NetBSD | textproc/py-sentencepiece | 0.2.1 behind since 2026-07-13 | none known | - | - | - |
| MidnightBSD | textproc/py-sentencepiece | 0.2.1_1 behind since 2026-07-13 | no data | - | [email protected] | 2026-11-04 |
| HardenedBSD | textproc/py-sentencepiece | 0.2.2 behind since 2026-11-10 | no data | - | [email protected] | - |
| GhostBSD | textproc/py-sentencepiece | 0.2.2 behind since 2026-11-10 | no data | - | [email protected] | - |
Version history 1
- 0.2.2
Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.
Install
Binary package:
pkg install py312-sentencepiece
From DPorts:
cd /usr/dports/textproc/py-sentencepiece && make install clean
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.