Comparison
blingfire vs curated-tokenizers vs sentencepiece vs tokenizers
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Python wrapper of lightning fast Finite State Machine based NLP library.
Likely abandoned. No release or commit for years (last release over 5 years ago).
pip install blingfireLightweight piece tokenization library
Maintained. Last release 3 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install curated-tokenizersUnsupervised text tokenizer and detokenizer.
Actively maintained. Last release 4 weeks ago, commits in 25 of the last 26 weeks. A safe choice.
pip install sentencepieceActively maintained. Last release 12 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install tokenizersIn short
- blingfire looks abandoned: avoid it for new projects.
- tokenizers is the most used: 229.6M downloads a month, 7.7× more than sentencepiece.
- Maintenance is comparable: tokenizers 85, sentencepiece 78, curated-tokenizers 45 on Pythie’s Index.
- curated-tokenizers is growing fastest: downloads +29% over the last month.
- Safe default for a new project: tokenizers.
Side by side
| Metric | blingfire | curated-tokenizers | sentencepiece | tokenizers |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 21 | 45 |