Ross ROSS = Recommend OSS · open-source software intelligence for agents

huggingface/tokenizers

💥 Fast State-of-the-Art Tokenizers optimized for Research and Production observed · 2026-08-28

github.com/huggingface/tokenizers · homepage · Rust · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

93/100

  • Activity 99
  • Release rhythm 81
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 25
  • age_days: 2497
  • days_rel: 128
  • days_push: 7
  • n_releases_24m: 12

Full methodology

Adoption not part of the score

10997 stars · 1177 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

Hugging Face Tokenizers is a fast, Rust-based library implementing state-of-the-art tokenization algorithms (BPE, WordPiece, Unigram) with bindings for Python, Rust, and Node.js. It handles the full tokenization pipeline including normalization, pre-tokenization, training new vocabularies, and pre-processing like padding, truncation, and special token handling.

Use cases

  • train a BPE tokenizer on my own corpus
  • tokenize text for a transformer model
  • convert text to token ids for BERT or GPT
  • build a custom vocabulary for a language model
  • fast tokenization of large text datasets
  • map tokens back to original text offsets
  • pad and truncate sequences for model input

When to choose

  • you need extremely fast tokenization or vocabulary training (GBs of text in seconds)
  • you are training or fine-tuning transformer models and need consistent tokenization
  • you need alignment tracking to map tokens back to original text
  • you want the standard tokenizer used by the Hugging Face Transformers ecosystem

When to avoid

  • you need a general-purpose text segmentation tool unrelated to ML models
  • you only need simple whitespace splitting or regex tokenization
  • you need subword tokenization for a language/model family with incompatible requirements

Facets

library · maturity stable

nlp parser machine-learning sdk machine-learning large-language-models developer-tools rust python cross-platform tokenizer bpe wordpiece unigram hugging-face transformers text-preprocessing natural-language-processing nodejs

10 sources

Member repositories

RepositoryRoleHealth v2
huggingface/tokenizersmain93

For agents

markdown · JSON · MCP: product_card(name="huggingface/tokenizers")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem