huggingface/tokenizers
💥 Fast State-of-the-Art Tokenizers optimized for Research and Production
About the project
Hugging Face tokenization library written in Rust with Python and Node.js bindings: fast BPE, Unigram, WordPiece and WordLevel implementations for training and inference of NLP models.
Useful for
- Load the Llama-3.1-8B tokenizer via from_pretrained and encode text into ids
- Train a custom BPE tokenizer on a text corpus for a domain-specific model
- Embed fast tokenization inference into a Rust service without Python dependencies
README summarized by DeepSeek V4.1 Flash. Details may be inaccurate.
Why it’s trending
- 4 stars so far today, about 10 expected by the end of the day.
- Before this, the repository barely got any stars — about 3 per day.
- The spike has held for 2 days in a row — not a one-off blip.
- GitHub Trending Rust today: #13, +18 stars.
- Recent forks include notable developers: @albertvillanova (631 followers), @johnmai-dev (209 followers).
Stars per day
Bars are daily stars, the line is the usual pace. Red marks spike days.
Numbers
- Total stars
- 11,071
- Today
- 4 · ≈ 10 by evening
- Forks
- 1,206
- Issues and pull requests
- 2,412
- Watchers
- 122
- Language
- Rust
- License
- Apache-2.0
- Latest release
- v1.0.0-rc.2 · September 21, 2026
- Created
- November 1, 2019
- Last push
- September 21, 2026
Star trust
Growth looks organic: forks and discussion are in line with active projects, and stars arrive unevenly, the way people give them.
These are heuristics, not a verdict: we judge by the repository’s behavior, not by a list of stargazers.
Spotted in
- September 22, 2026GitHub Trending Rust today: #13, +18 stars
Similar by description
-
1.2
deepseek-ai/deepseek-recipe
A collection of Rust libraries and Python bindings that convert API requests in different formats (Messages, Chat Completions, Responses) into the Conversation format, encode them into prompts for DeepSeek V4/V4.1…
-
1.2
marin-community/marin
Open platform and community for research and development of foundation models: data curation, tokenization, pretraining, posttraining and evaluation of LLMs. Aimed at researchers and engineers training language and…
-
2.6
huggingface/transformers
Model-definition framework for state-of-the-art pretrained ML models (text, vision, audio, multimodal) for inference and training, compatible with most training and inference engines.
-
3.3
ggml-org/llama.cpp
LLM and VLM inference implemented in C/C++ with no dependencies, running on CPUs and GPUs across many hardware backends. Enables local model execution with minimal setup and quantization.