#3131st of 433 in ML frameworks and libraries

sentence-transformers

Python library for text embeddings, rerankers, and sparse and ColBERT-style models

Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Stars
19.3k
License
Apache-2.0
Last commit
Nov 2026
Last release
Nov 2026
Language
Python
Stars, last 35 weeks+983
25 Mar 2026: 18,330 stars1 Apr 2026: 18,369 stars8 Apr 2026: 18,405 stars15 Apr 2026: 18,442 stars22 Apr 2026: 18,467 stars29 Apr 2026: 18,499 stars6 May 2026: 18,531 stars13 May 2026: 18,554 stars20 May 2026: 18,592 stars27 May 2026: 18,637 stars3 Jun 2026: 18,669 stars10 Jun 2026: 18,700 stars17 Jun 2026: 18,730 stars24 Jun 2026: 18,756 stars1 Jul 2026: 18,782 stars8 Jul 2026: 18,813 stars15 Jul 2026: 18,836 stars22 Jul 2026: 18,861 stars29 Jul 2026: 18,884 stars5 Aug 2026: 18,908 stars12 Aug 2026: 18,933 stars19 Aug 2026: 18,964 stars26 Aug 2026: 18,984 stars2 Sept 2026: 19,014 stars9 Sept 2026: 19,036 stars16 Sept 2026: 19,059 stars23 Sept 2026: 19,083 stars30 Sept 2026: 19,109 stars7 Oct 2026: 19,133 stars14 Oct 2026: 19,156 stars21 Oct 2026: 19,192 stars28 Oct 2026: 19,224 stars4 Nov 2026: 19,251 stars11 Nov 2026: 19,276 stars18 Nov 2026: 19,292 stars25 Nov 2026: 19,313 stars

18,330 on 25 Mar 202619,313 on 25 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Sentence Transformers is a Python library that computes dense embeddings, cross-encoder rerank scores, sparse (SPLADE-style) embeddings and multi-vector late-interaction embeddings. It loads any of the 15,000+ compatible models from the Hugging Face Hub and trains or fine-tunes all four model types. Install is via pip, with extras for image, audio, video, ONNX and OpenVINO.

Who it is for: Python developers building semantic search, reranking or embedding pipelines

Strengths

  • Four model types behind one API: dense, cross-encoder, sparse and multi-vector
  • Loads 15,000+ pretrained models from the Hugging Face Hub, including MTEB leaderboard entries
  • Built-in training with 20+ embedding loss functions and evaluation during training
  • Extras for ONNX, OpenVINO, image, audio and video inputs

Weaknesses

  • Library only: no server, vector store or retrieval pipeline included
  • Requires Python 3.10+, PyTorch 2.2+ and transformers v5.0+
  • README calls the repo experimental software tied to the original publication
  • Gated or private models need a Hugging Face login

What it needs

  • GPU optional
  • Needs PyTorch 2.2+, transformers 5.0+, Hugging Face Hub
  • Models: Sentence Transformer, Cross-Encoder, Sparse Encoder, Multi-Vector Encoder, BERT

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in ML frameworks and libraries

See all 433
Also in ML frameworks and libraries
RankProjectScore
#29xgboostGradient boosted decision tree library for tabular machine learning29k starsApache-2.083 out of 100
#30shapPython library that explains ML model predictions with Shapley values Live demo ↗ (opens in a new tab)25.9k starsMIT83 out of 100
#32pysyftPython library for running data-owner-approved jobs on private data10.1k starsApache-2.083 out of 100
#33accelerateThin PyTorch wrapper that runs your training loop on CPU, GPU, TPU or multi-node10k starsApache-2.083 out of 100
#34smileJVM machine learning library with classic ML, deep learning and LLM inference6.4k starscustom license83 out of 100