sentencepiece

by google · Developer Tools

Unsupervised text tokenizer for Neural Network-based text generation.

New0 ratings12,061 starsActive
Developer ToolsDeveloper ToolC++Python
↓ Download v0.2.2GitHub⚑ Report
sentencepiece — image 1

About this project

SentencePiece SentencePiece is a fast, lightweight, and unsupervised text tokenizer and detokenizer designed for neural network-based text generation systems (such as Large Language Models) where the vocabulary size is fixed prior to training. It implements subword units—including Byte-Pair-Encoding (BPE) [Sennrich et al.] and the unigram language model [Kudo.]—with the ability to train directly from raw sentences. By treating input text as a raw sequence of Unicode characters, SentencePiece enables a purely end-to-end, language-independent pipeline that completely eliminates the need for language-specific pre- or post-processing. This is not an official Google…

Technologies

PythonC++StarlarkCCMakenatural-language-processingneural-machine-translationword-segmentation

Project health

Actively maintained
Last updateyesterday
Contributors113
Latest releasev0.2.2
Open issues & PRs7
LicenseApache-2.0
On GitHubsince 2017

GitHub

12,061
stars
1,379
forks
113
contributors
7
open issues & PRs
C++
language
yesterday
last commit
View on GitHub ↗All releases ↗

Reviews

out of 5 · 0 ratings
★★★★★
0%
★★★★
0%
★★★
0%
★★
0%
0%
Sign in to write a review
No reviews yet
Be the first to review sentencepiece.

Built by

google
Imported from GitHub · not yet claimed on GitPalace
View developer pageSign in with GitHub to claim

Maintain google/sentencepiece? Claiming verifies admin access through your GitHub account and gives you control of this listing.

You might also like