BSD Ports

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

SystemPortVersion
NetBSDtextproc/sentencepiece0.2.1
FreeBSDtextproc/sentencepiece0.2.2
DragonFlytextproc/sentencepiece0.2.0_1
MidnightBSDtextproc/sentencepiece0.2.1
HardenedBSDtextproc/sentencepiece0.2.2
GhostBSDtextproc/sentencepiece0.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.

RepositoryVersion
NetBSD 10.1 x86_640.2.1
NetBSD 10.1 aarch640.2.1
SmartOS / illumos x86_640.2.1
macOS 15 arm640.2.1

Dependencies