Comparison
curated-transformers vs flair vs spark-nlp vs transformers
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A PyTorch library of transformer models and components
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install curated-transformersA very simple framework for state-of-the-art NLP
Low maintenance activity. Last release 22 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install flairJohn Snow Labs Spark NLP is a natural language processing library built on top of Apache Spark ML. It provides simple, performant & accurate NLP annotations for machine learning pipelines, that scale easily in a distributed environment.
Actively maintained. Last release 3 weeks ago, commits in 4 of the last 26 weeks. A safe choice.
pip install spark-nlpTransformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.
Actively maintained. Last release 1 day ago, commits in 26 of the last 26 weeks. A safe choice.
pip install transformersIn short
- curated-transformers is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- transformers is the most used: 120.5M downloads a month, 115× more than curated-transformers.
- transformers also has the best Pythie’s Index (90).
- Safe default for a new project: transformers.
Side by side
| Metric | curated-transformers | flair | spark-nlp | transformers |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 25 | 17 |