Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Sentencepiece Python Packages

Python packages with the GitHub topic sentencepiece. Sorted by monthly downloads, with stars and forks.
OpenNMT
pyonmttok

Fast and customizable text tokenization library with BPE and SentencePiece support

42K 342 84
Systemcluster
kitoken

Fast tokenizer for language models, compatible with SentencePiece, Tokenizers, Tiktoken and more. Supports BPE, Unigram and WordPiece tokenization in JavaScript, Python and Rust.

3K 65 2
Ismantic
piece-tokenizer

Implementation of Piece Tokenizer

555 0 0
himkt
tiny-tokenizer

🌿 An easy-to-use Japanese Text Processing tool, which makes it possible to switch tokenizers with small changes of code.

506 265 27
alinawazcode
sindhi-tokenizer

production-grade SentencePiece Unigram subword tokenizer for Sindhi (Perso-Arabic script) with 100% character coverage, byte-fallback, and 0.0000% character loss. Rigorously benchmarked across 17 models and 4 registers.

495 1 0
sourceblender
morpheme

Fast Hugging Face-compatible tokenizers, in Rust

370 0 0
1322Guru
akshara-tokenizer

Akshara-aware tokenizer for six Brahmic scripts, with a trained SentencePiece model

337 1 0
ZJaume
escape-unk

Escape unknown symbols in SentecePiece vocabularies

289 0 0
Okramjimmy
meitei-senter

Neural sentence boundary detection for Meitei Mayek (Manipuri) using SentencePiece tokenization and a CNN-based spaCy pipeline.

225 0 0
stef41
toksight

Tokenizer analysis toolkit. Compare vocabulary coverage, compression ratios, and token boundaries across GPT-4o, Llama 3, Mistral, and any HuggingFace tokenizer.

102 1 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology