Skip to content
Agents tracked: 378 Downloads (7d): 244M down 5.7% GitHub stars: 8.4M VS Code installs: 151M Releases (7d): 407 Agent status: 1 with issues Updated Oct 10, 2026

Hugging Face Transformers

State-of-the-art NLP and multimodal models for inference and training.

ML and data science PyPI Apache 2.0 License

Used in agent projects
80
0.6% of 12,697 public repos built with AI coding agents
Rank in ml and data science
#7 of 28
by use in those projects
Downloads
24.8M
PyPI, last 7 days, transformers
GitHub stars
167K
last push Oct 10, 2026

How Hugging Face Transformers is used

Hugging Face Transformers is a dependency in 80 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.6%), #7 of 28 in ml and data science. The most used alternative there is NumPy. Projects that use it most often also use PyTorch (80.0%), NumPy (78.8%), pandas (62.5%).

Often used with Hugging Face Transformers

PyTorch80.0% of Hugging Face Transformers projects · 93.2× more than average
NumPy78.8% of Hugging Face Transformers projects · 20.5× more than average
pandas62.5% of Hugging Face Transformers projects · 20.7× more than average
python-dotenv58.8% of Hugging Face Transformers projects · 9.0× more than average
scikit-learn57.5% of Hugging Face Transformers projects · 45.6× more than average
Pydantic56.2% of Hugging Face Transformers projects · 11.0× more than average
Requests52.5% of Hugging Face Transformers projects · 9.9× more than average
PyYAML50.0% of Hugging Face Transformers projects · 16.5× more than average

By coding agent

Claude Code1.1% of projects set up for it
GitHub Copilot1.2% of projects set up for it
Cursor1.2% of projects set up for it
OpenAI Codex1.1% of projects set up for it

Share of public repos configured for each agent that list Hugging Face Transformers as a dependency.

Install

Packagepip install transformers
Main stacksPython (78), Next.js (2)
Example projectsKaggle/kaggle-environments, daydreamlive/DEMON, timowhite88/Farnsworth, Llaminar/llaminar, loblawbob873-svg/posterchanai

Alternatives to Hugging Face Transformers

All ml and data science

Tool Used in agent projectsDownloads / wk GitHub starsLicense
NumPy pypi
Fundamental Python library for numerical computing with arrays and matrices.
487 (3.8%) 21M 33K —
pandas pypi
Data manipulation and analysis library with DataFrames for structured data.
383 (3.0%) 143M 50K —
scikit-learn pypi
Python machine learning library with classification, regression and clustering algorithms.
160 (1.3%) 44.3M 67.5K —
SciPy pypi
Fundamental algorithms for scientific computing with optimized numerical routines.
141 (1.1%) 72.2M 15.1K —
PyTorch pypi
Deep learning framework with tensors and dynamic neural networks with GPU support.
109 (0.9%) 13.2M 104K —
Sentence Transformers pypi
Pre-trained models for semantic embeddings, retrieval and reranking.
83 (0.7%) 5.1M 19.2K —
NetworkX pypi
Python package for creating, analyzing and manipulating complex networks and graphs.
73 (0.6%) 50.2M 17.3K —
joblib pypi
Lightweight pipelining and parallel computing for Python functions with caching support.
65 (0.5%) 38.7M 4,403 —
Is Hugging Face Transformers right for your project? Ask AgentGid →