Sentence Transformers
Pre-trained models for semantic embeddings, retrieval and reranking.
ML and data science PyPI
Used in agent projects
83
0.7% of 12,697 public repos built with AI coding agents
Rank in ml and data science
#6 of 28
by use in those projects
Downloads
5.1M
PyPI, last 7 days, sentence-transformers
GitHub stars
19.2K
last push Oct 8, 2026
How Sentence Transformers is used
Sentence Transformers is a dependency in 83 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.7%), #6 of 28 in ml and data science. The most used alternative there is NumPy. Projects that use it most often also use python-dotenv (65.1%), NumPy (62.7%), Uvicorn (56.6%).
Often used with Sentence Transformers
| python-dotenv | 65.1% of Sentence Transformers projects · 10.0× more than average |
|---|---|
| NumPy | 62.7% of Sentence Transformers projects · 16.3× more than average |
| Uvicorn | 56.6% of Sentence Transformers projects · 13.2× more than average |
| FastAPI | 55.4% of Sentence Transformers projects · 13.1× more than average |
| Pydantic | 53.0% of Sentence Transformers projects · 10.4× more than average |
| PyYAML | 43.4% of Sentence Transformers projects · 14.3× more than average |
| Requests | 43.4% of Sentence Transformers projects · 8.2× more than average |
| pytest | 42.2% of Sentence Transformers projects · 16.2× more than average |
By coding agent
| GitHub Copilot | 1.4% of projects set up for it |
|---|---|
| Claude Code | 1.2% of projects set up for it |
| Cursor | 1.2% of projects set up for it |
| Gemini CLI | 1.4% of projects set up for it |
Share of public repos configured for each agent that list Sentence Transformers as a dependency.
Install
| Package | pip install sentence-transformers |
|---|---|
| Main stacks | Python (81), Next.js (2) |
| Example projects | sidetrip-ai/ici-core, timowhite88/Farnsworth, Beneficial-AI-Foundation/vericoding, jagoff/memo, Parad0x-Labs/vool |
Alternatives to Sentence Transformers
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| 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 | — |
| Hugging Face Transformers pypi State-of-the-art NLP and multimodal models for inference and training. |
80 (0.6%) | 24.8M | 167K | Apache 2.0 License |
| 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 | — |