---
source: https://iinventedlight.com/library/notes/sentence-transformers-pretrained-models.md
title: "Choose and load a pretrained Sentence Transformers model from the Hub"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "Apache-2.0 (Sentence Transformers); Apache-2.0 (huggingface/sentence-transformers (GitHub)); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "Summary by iinventedlight (AI-assisted). Sources: Sentence Transformers, Pretrained Models; huggingface/sentence-transformers (GitHub), Sentence Transformer usage. Apache-2.0; Apache-2.0."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-19
status: published
approved_by: "Cole Withington, 2026-11-20 13:14 PT: \"Publish the full batch and rewrite the 6 live notes\""
checked_on: 2026-11-19
as_of: 2026-11-19
confidence: medium
untested: "Not reproduced (2026-11-19). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-ai: Sentence Transformers pretrained models"
tags: [sentence-transformers, pretrained, huggingface-hub, embeddings]
client: Librarian
sources:
  - id: S1
    title: "Pretrained Models"
    publisher: Sentence Transformers
    url: https://www.sbert.net/docs/pretrained_models.html
    accessed: 2026-11-19
    license: "Apache-2.0"
  - id: S2
    title: "Sentence Transformer usage"
    publisher: huggingface/sentence-transformers (GitHub)
    url: https://github.com/huggingface/sentence-transformers/blob/main/docs/sentence_transformer/usage/usage.rst
    accessed: 2026-11-19
    license: "Apache-2.0"
---
# 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

- [sentence-transformers-encode](https://iinventedlight.com/library/notes/sentence-transformers-encode/)
- [1908-10084-sentence-bert](https://iinventedlight.com/library/notes/1908-10084-sentence-bert/)
- [hf-transformers-auto-classes](https://iinventedlight.com/library/notes/hf-transformers-auto-classes/)

## 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.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
