Model reference · open weights

merged-mpnet

NEW · this week Embeddings sentence-transformers Embeddings 1 build Licence not stated 0 dl/mo

merged-mpnet is an open-weight embedding model from sentence-transformers. merged-mpnet-base (FP32) weighs 219 MB; the smallest configuration that runs it is RTX 3060 12 GB.

For self-hosting, compare this build's requirements below with the GPU you plan to rent.

  • merged-mpnet is a Sentence Transformer model created by sentence-transformers that maps English text to 768-dimensional vectors for semantic search and similarity tasks.
  • It features 109M parameters and a maximum sequence length of 512 tokens.
  • The model is a 50/50 linear merge of all-mpnet-base-v2 and multi-qa-mpnet-base-cos-v1, and it uses the Apache-2.0 license.

Summary of the sentence-transformers/merged-mpnet-base model card, 2026-11-03

What it is

Released bysentence-transformers
Released2026-11-02
Parameters109M
VRAM219 MB for the weights

What it runs on

Memory and cards for merged-mpnet-base (FP32)

219 MBweights, file size
1.1 GBruntime overhead
CardRunsMemory
RTX 3060 12 GBfits11.6 GB
RTX 4060 Ti 16 GBfits15.4 GB
RTX 3090 24 GBfits23.4 GB
RTX 4090 24 GBfits23.4 GB
RTX 5090 32 GBfits31.0 GB
L40S 48 GBfits44.0 GB
A100 80 GBfits78.2 GB
H100 80 GBfits78.1 GB
RTX PRO 6000 Blackwell 96 GBfits93.8 GB
DGX Spark (GB10) 128 GB unifiedfits107 GB
H200 141 GBfits138 GB
B200 180 GBfits176 GB

From the model card

What sentence-transformers says about merged-mpnet

Read the model card

This is a Sentence Transformer model created by a 50/50 linear merge of all-mpnet-base-v2 and multi-qa-mpnet-base-cos-v1, using the SentenceTransformer.merge method from the sentence-transformers library. It maps sentences and paragraphs to 768-dimensional dense vectors for semantic search, clustering, and semantic similarity.

The merged model scores above the average of its two parents on 10 of the 13 NanoBEIR datasets, including 5 where it beats both. It achieves a mean nDCG@10 of 0.5823, compared with 0.5749 for all-mpnet-base-v2 and 0.5712 for multi-qa-mpnet-base-cos-v1, using the same inference settings for all three models.

On the nine datasets evaluated after candidate selection, the merge scores 0.5517, compared with 0.5422 and 0.5384 for its parents.

See Model Creation for the full generation script.

Model Details

Model Description

  • Model Type: Sentence Transformer
  • Base models: all-mpnet-base-v2 and multi-qa-mpnet-base-cos-v1
  • Maximum Sequence Length: 512 tokens
  • Output Dimensionality: 768 dimensions
  • Similarity Function: Cosine Similarity
  • Supported Modality: Text
  • Language: English
  • License: The all-mpnet-base-v2 model card specifies Apache-2.0. The multi-qa-mpnet-base-cos-v1 repository does not declare a license.

Model Sources

Full Model Architecture

SentenceTransformer(
  (0): Transformer({'transformer_task': 'feature-extraction', 'modality_config': {'text': {'method': 'forward', 'method_output_name': 'last_hidden_state'}}, 'module_output_name': 'token_embeddings', 'architecture': 'MPNetModel'})
  (1): Pooling({'embedding_dimension': 768, 'pooling_mode': 'mean', 'include_prompt': True})
  (2): Normalize({'module_input_name': 'sentence_embedding', 'module_output_name': 'sentence_embedding'})
)

Usage

Direct Usage (Sentence Transformers)

First install the Sentence Transformers library:

pip install -U sentence-transformers

Then you can load this model and run inference.

from sentence_transformers import SentenceTransformer

model = SentenceTransformer("sentence-transformers/merged-mpnet-base")
queries = ['Which planet is known as the Red Planet?']
documents = [
    "Venus is often called Earth's twin because of its similar size and proximity.",
    'Mars, known for its reddish appearance, is often referred to as the Red Planet.',
    'Saturn, famous for its rings, is sometimes mistaken for the Red Planet.',
]
query_embeddings = model.encode_query(queries)
document_embeddings = model.encode_document(documents)
print(query_embeddings.shape, document_embeddings.shape)
# (1, 768) (3, 768)

similarities = model.similarity(query_embeddings, document_embeddings)
print(similarities)
# tensor([[0.4703, 0.7748, 0.6875]])

Evaluation

Metrics

NanoBEIR
  • Dataset: NanoBEIR-en
  • Evaluated with NanoBEIREvaluator on all 13 datasets.
  • Maximum input length: 512 tokens. Query and document prompts: empty.
  • Similarity: cosine. FP32 inference with eager attention.
  • Metric: nDCG@10. The mean is unweighted across datasets.

The parent models were evaluated with the same prompts and length limits.

Datasetmerged-mpnet-baseall-mpnet-base-v2multi-qa-mpnet-base-cos-v1
msmarco0.6098630.6344650.654148
nq0.6654880.6717720.662020
fiqa20180.5881470.5839970.582674
nfcorpus0.3337690.3156110.313411
scidocs0.4045000.4545870.338733
arguana0.5727050.5297030.557431
dbpedia0.5379600.5384130.555685
quoraretrieval0.9193920.9214020.908255
touche20200.4830610.4870390.450271
climatefever0.3109980.2432240.333320
fever0.7643250.7631310.745699
hotpotqa0.6389210.6265160.642700
scifact0.7413680.7033110.680758
mean0.5823460.5748590.571162

Model Creation

The complete MPNet backbone was merged in fp32 with equal weights. Mean pooling and L2 normalization are shared by both parents. The maximum input length is 512 tokens, without any additional training.

This is all it took:

# pip install "sentence-transformers[merge]"
from sentence_transformers import SentenceTransformer

models = [
    SentenceTransformer("sentence-transformers/all-mpnet-base-v2"),
    SentenceTransformer("sentence-transformers/multi-qa-mpnet-base-cos-v1"),
]
for model in models:
    model.max_seq_length = 512
model = SentenceTransformer.merge(models, method="linear", parameters={"weight": [0.5, 0.5]}, dtype="float32")
model.similarity_fn_name = "cosine"
model.save_pretrained("merged-mpnet-base")

Framework Versions

  • Python: 3.12.3
  • Sentence Transformers: 6.2.0
  • Transformers: 5.4.0
  • PyTorch: 2.11.0+cu128
  • Mer

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms