#4545th of 75 in ML frameworks and libraries

tokenizers

Rust tokenizer library with Python and Node.js bindings

Stars
11.2k
License
Apache-2.0
Last commit
Oct 2026
Last release
Oct 2026
Language
Rust
Stars, last 29 weeks+689
31 Mar 2026: 10,499 stars7 Apr 2026: 10,525 stars14 Apr 2026: 10,556 stars21 Apr 2026: 10,583 stars28 Apr 2026: 10,611 stars5 May 2026: 10,627 stars12 May 2026: 10,648 stars19 May 2026: 10,685 stars26 May 2026: 10,705 stars2 Jun 2026: 10,730 stars9 Jun 2026: 10,751 stars16 Jun 2026: 10,775 stars23 Jun 2026: 10,790 stars30 Jun 2026: 10,811 stars7 Jul 2026: 10,832 stars14 Jul 2026: 10,855 stars21 Jul 2026: 10,868 stars28 Jul 2026: 10,902 stars4 Aug 2026: 10,917 stars11 Aug 2026: 10,928 stars18 Aug 2026: 10,948 stars25 Aug 2026: 10,966 stars1 Sept 2026: 10,981 stars8 Sept 2026: 11,002 stars15 Sept 2026: 11,019 stars22 Sept 2026: 11,077 stars29 Sept 2026: 11,130 stars6 Oct 2026: 11,147 stars13 Oct 2026: 11,167 stars20 Oct 2026: 11,188 stars

10,499 on 31 Mar 202611,188 on 20 Oct 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Rust tokenization engine that loads tokenizer.json files or Hub tokenizers and encodes and decodes text with BPE, Unigram, WordPiece and WordLevel models. It ships Python and Node.js bindings and is split into sub-crates so serving builds can leave out training and legacy converters. The v1.0.0 release candidate does not yet include all of the 0.23 Python API.

Who it is for: Engineers embedding fast tokenization in serving or training pipelines

Strengths

  • Every kernel has a portable scalar path; SIMD (NEON, AVX-512, SSE, wasm SIMD128) is optional
  • Sub-crates let serving builds omit training and legacy conversion code
  • Bindings for Rust, Python and Node.js; loads from file or Hugging Face Hub
  • Byte-exact pre-tokenizer grammars for gpt2, cl100k, o200k, tekken, deepseek and kimi-k2

Weaknesses

  • v1.0.0 is a release candidate; Python install needs pip --pre
  • Python training, save, offsets, pair input and decode_stream are not back yet
  • C, C++, Java and Go bindings are only planned
  • Known load failure for ModernBERT and OLMo tokenizers (64-bit hash collision)

What it needs

  • no GPU
  • Models: BPE, Unigram, WordPiece, WordLevel, tokenizer.json

Also in ML frameworks and libraries

See all 75
Also in ML frameworks and libraries
RankProjectScore
1transformersPython library defining open models for text, vision, audio and multimodal tasks167.9k starsApache-2.094 out of 100
2pytorchPython tensor library with GPU support and tape-based autograd for deep learning104.9k starscustom license94 out of 100
3ultralyticsPython library and CLI for training and running YOLO vision models62.7k starsAGPL-3.092 out of 100
#4pytorch-image-modelsPyTorch library of image models, pretrained weights and reference training scripts37.2k starsApache-2.091 out of 100
#5supervisionPython toolkit for loading, annotating and counting computer vision detections Live demo ↗ (opens in a new tab)51.3k starsMIT90 out of 100