textproc/sentencepiece 0.2.1 NetBSD
Unsupervised text tokenizer for Neural Network-based text generation
- System
- NetBSD
- Repository
- pkgsrc
- License
- apache-2.0
- Categories
- textproc
- Package size
- 1032.5 KiB, 8275.9 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 |
|---|---|---|
| NetBSD | textproc/sentencepiece | 0.2.1 |
| FreeBSD | textproc/sentencepiece | 0.2.2 |
| DragonFly | textproc/sentencepiece | 0.2.0_1 |
| MidnightBSD | textproc/sentencepiece | 0.2.1 |
| HardenedBSD | textproc/sentencepiece | 0.2.2 |
| GhostBSD | textproc/sentencepiece | 0.2.2 |
Install
Binary package:
pkgin install sentencepiece
From pkgsrc:
cd /usr/pkgsrc/textproc/sentencepiece && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 0.2.1 |
| NetBSD 10.1 aarch64 | 0.2.1 |
| SmartOS / illumos x86_64 | 0.2.1 |
| macOS 15 arm64 | 0.2.1 |