BSD Ports

textproc/py-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
386.8 KiB, 1886.1 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.

This package contains the Python module.

In the other systems

SystemPortVersion
NetBSDtextproc/py-sentencepiece0.2.1
FreeBSDtextproc/py-sentencepiece0.2.2
MidnightBSDtextproc/py-sentencepiece0.2.1_1
HardenedBSDtextproc/py-sentencepiece0.2.2
GhostBSDtextproc/py-sentencepiece0.2.2

Install

Binary package:

pkgin install py311-sentencepiece

From pkgsrc:

cd /usr/pkgsrc/textproc/py-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_64-
macOS 15 arm640.2.1

Dependencies

Run dependencies 2

No port depends on this one.

Configuration

No options to configure.

Service scripts
none
Flavors
py312-sentencepiece-0.2.1, py313-sentencepiece-0.2.1, py314-sentencepiece-0.2.1