PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Bpe Python Packages

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

Fast and customizable text tokenization library with BPE and SentencePiece support

43K 343 83
akretion
nfelib

nfelib - bindings Python para e ler e gerar XML de NF-e, NFS-e nacional, CT-e, MDF-e, BP-e

32K 210 70
rsennrich
subword-nmt

Unsupervised Word Segmentation for Neural Machine Translation and Text Generation

17K 2K 470
vkcom
youtokentome

Unsupervised text tokenizer focused on computational efficiency

11K 978 106
gweidart
rs-bpe

A ridiculously fast Python BPE (Byte Pair Encoder) implementation written in Rust

4K 43 4
sefineh-ai
amharic-tokenizer

Syllable-aware BPE tokenizer for the Amharic language (አማርኛ) – fast, accurate, trainable.

3K 100 15
VihangaFTW
bytetok

A fast, minimal BPE tokenizer for building LLMs.

2K 3 0
Amrendra-gupta
turbobpe

turboBPE is a fast, minimal Byte Pair Encoding (BPE) tokenizer built on minbpe. It features a C-accelerated backend and a batch-merging algorithm to drastically speed up training while maintaining a clean, hackable codebase. Perfect for training custom vocabularies from scratch.

1K 2 0
henryhale
grouptok

A translation-grouped tokenizer: subwords that translate each other share a group

1K 0 0
neluca
tinybpe

🐍This is a fast, lightweight, and clean CPython extension for the Byte Pair Encoding (BPE) algorithm, which is commonly used in LLM tokenization and NLP tasks.

1K 5 0
sourceblender
morpheme

Fast, pure-Rust subword tokenization (BPE, WordPiece, Unigram) compatible with Hugging Face tokenizers.

1K 0 0
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.

966 62 2
tuetoken-org
tuetoken

The fastest tokenizer for LLMs, up to 30x+ faster.

639 5 0
JpCurada
filipino-tokenizer

The first, morphologically-aware subword tokenizer for Philippine languages, combining a structured linguistic affix data with BPE for language model pretraining.

601 4 0
Ismantic
piece-tokenizer

Implementation of Piece Tokenizer

544 0 0
adam2go
puretiktoken

tiktoken in pure Python: byte-for-byte compatible BPE tokenizer for GPT-4/4o, no Rust extension, zero dependencies

522 0 0
soaxelbrooke
bpe

Byte Pair Encoding for Python!

477 234 39
Hk669
bpetokenizer

(py package) train your own tokenizer based on BPE algorithm for the LLMs (supports the regex pattern and special tokens)

377 4 1
thammegowda
nlcodec

Natural Language EnCoder-Decoder: word, char, bpe etc

349 5 4
zouharvi
tokenization-scorer

Simple-to-use scoring function for arbitrarily tokenized texts.

298 52 6
Thibault00
runtoken

A blazing-fast BPE tokenizer for LLMs. Drop-in tiktoken replacement, 20-80x faster.

266 3 0
crodriguez1a
bpe-summarizer

Auto summarization from BPE tokenization

252 3 1
Bibek-Dhakal
lexibyte

A production-grade, algorithmically optimized Byte-Pair Encoding (BPE) tokenizer. Features GPT-4 style regex pre-splitting, Sennrich frequency optimization, and O(1) inference caching.

223 0 0
DVDAGames
pgn-tokenizer

A byte pair encoding (BPE) tokenizer for chess portable game notation (PGN)

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