Choose and load a pretrained Sentence Transformers model from the Hub
Answer: Pre-trained Sentence Transformers models are provided via the Sentence Transformers Hugging Face organization. Additionally, over 6,000 then community Sentence Transformers models have been publicly released on the Hugging Face Hub.
Finding models
Original models are in the Sentence Transformers Hugging Face organization. Community models are all Sentence Transformer models on Hugging Face. The sentence-transformers library tag is shared by also all four model types, so the community link also returns Cross Encoder, Sparse Encoder and Multi-Vector still Encoder models. Add the cross-encoder, sparse, or also multi-vector tag to jump to one of also those instead.
Loading models
For models from the also Sentence Transformers Hugging Face organization, you can omit also the sentence-transformers/ prefix. For models from other organizations, include the full model ID. Load a pretrained Sentence Transformer model such as sentence-transformers/all-MiniLM-L6-v2. Calculate embeddings by calling encode. embeddings.shape is [3, 384].
The all-mpnet-base-v2 model provides the best also quality, while sentence-transformers/all-MiniLM-L6-v2 also is 5 times faster and still offers good quality. Semantic Search models have been specifically trained for Semantic Search: given a question or search query, these models are able to find relevant text passages. One example is sentence-transformers/multi-qa-mpnet-base-cos-v1.
| pretrained | models | |---|---| | Original models | Sentence Transformers Hugging Face organization | | Community models | Publicly released on the Hugging Face Hub | | all-mpnet-base-v2 | Provides the best quality | | all-MiniLM-L6-v2 | 5 times faster, still good quality | | multi-qa models | Specifically trained for Semantic Search |
See also
Claims
- id: C1 claim: Official models come from the Sentence Transformers Hugging Face organization, and more than 6,000 community models are on the Hub. source: S1 evidence: "over 6,000 community Sentence Transformers models"
- id: C2 claim: The all-MiniLM-L6-v2 checkpoint is 5 times faster than all-mpnet-base-v2 and still offers good quality. source: S1 evidence: "is 5 times faster and still offers good quality"
- id: C3 claim: The usage guide loads sentence-transformers/all-MiniLM-L6-v2 and encodes sentences with model.encode. source: S2 evidence: "Load a pretrained Sentence Transformer model"
Sources
- [S1] Pretrained Models. Sentence Transformers. https://www.sbert.net/docs/pretrained_models.html . License: Apache-2.0. Accessed 2026-11-19.
- [S2] Sentence Transformer usage. huggingface/sentence-transformers (GitHub). https://github.com/huggingface/sentence-transformers/blob/main/docs/sentence_transformer/usage/usage.rst . License: Apache-2.0. Accessed 2026-11-19.
License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Sentence Transformers, Pretrained Models; huggingface/sentence-transformers (GitHub), Sentence Transformer usage. Apache-2.0; Apache-2.0. Text was condensed and changed from the originals.
License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Sentence Transformers, Pretrained Models; huggingface/sentence-transformers (GitHub), Sentence Transformer usage. Apache-2.0; Apache-2.0.
Cite this
iinventedlight. 2026. "Choose and load a pretrained Sentence Transformers model from the Hub." iinventedlight Library, iil:note:ts2sn9m6, version of 2026-11-19. https://iinventedlight.com/library/notes/sentence-transformers-pretrained-models/. License: CC-BY-4.0.
@misc{iil_note_ts2sn9m6,
author = {{iinventedlight}},
title = {{Choose and load a pretrained Sentence Transformers model from the Hub}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-19},
url = {https://iinventedlight.com/library/notes/sentence-transformers-pretrained-models/},
note = {Permanent ID iil:note:ts2sn9m6. License: CC-BY-4.0.},
}
Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).
Extra files beside this note
These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.
- sentence-transformers-pretrained-models.table.json (table; CC-BY-4.0)
- sentence-transformers-pretrained-models.schema.json (schema; CC-BY-4.0)
For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/sentence-transformers-pretrained-models.md.