SAVRN
Search Contact SAVRN

Open-weight model · Sentence similarity

nli-mpnet-base-v2

by Sentence Transformers sentence-transformers/nli-mpnet-base-v2

This is a sentence-transformers model: It maps sentences & paragraphs to a 768 dimensional dense vector space and can be used for tasks like clustering or semantic search.

Parameters109M
Context514
Weights4.3 GB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads657.3k

Runs On

What it takes to serve nli-mpnet-base-v2 (109M parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 0.2 GB 0.3 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 0.1 GB 0.1 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 0.1 GB 0.1 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Sep 18, 2026.

SAVRN's Notes on nli-mpnet-base-v2

Clustering and semantic search are the jobs here: each sentence or paragraph comes back as a 768-dimensional vector, and the 109 million parameters behind it need 0.3 GB of memory at 16-bit, 0.2 GB of that being weights. The cheapest setup, one MI300X with 192 GB at $1.85 per hour on-demand, would sit nearly idle on it. Do not buy a GPU for it; put it on a card already running something else, or use the ONNX or OpenVINO exports the publisher includes.

Apache 2.0 with its patent grant lets a deployment modify, redistribute and commercialize it, provided the notices stay attached. Check the 514-token context first, since longer documents must be chunked and that policy shapes what retrieval returns. Of the 4.26 GB repository, fetch only the format your stack loads. No evaluations or SAVRN Index host prices are on file, so plan your own comparison.

Model Card

By Sentence Transformers, published under apache-2.0, revision c2f4dd9a1dc4.

This is a sentence-transformers model: It maps sentences & paragraphs to a 768 dimensional dense vector space and can be used for tasks like clustering or semantic search.

Usage (Sentence-Transformers)

Using this model becomes easy when you have sentence-transformers installed:

pip install -U sentence-transformers

Then you can use the model like this:

from sentence_transformers import SentenceTransformer
sentences = ["This is an example sentence", "Each sentence is converted"]

model = SentenceTransformer('sentence-transformers/nli-mpnet-base-v2')
embeddings = model.encode(sentences)
print(embeddings)

Usage (HuggingFace Transformers)

Without sentence-transformers, you can use the model like this: First, you pass your input through the transformer model, then you have to apply the right pooling-operation on-top of the contextualized word embeddings.

Read the full model card (408 words)

Configuration

Architecture
MPNetModel
Context length (tokens)
514
Layers
12
Hidden size
768
Feed-forward size
3,072
Attention heads
12
Vocabulary size
30,527
Model type
mpnet

Identity and Version

Repository
sentence-transformers/nli-mpnet-base-v2
Publisher
Sentence Transformers
Task
Sentence similarity
Modality
Text
Library
sentence-transformers
Parameters
109M parameters
Languages
tf
Revision
c2f4dd9a1dc4337c28cfbd650433f761bb304c50
First published
2022-03-02
Last updated
2025-08-19

Files and Weights

27 files, 4.3 GB in total. The weights are 14 files totalling 4.3 GB in bin, h5, onnx, safetensors.

Weights14 files · 4.3 GB
Configuration6 files · 1.4 KB
Tokenizer3 files · 698.9 KB
Documentation1 file · 4.6 KB
Other2 files · 1.2 MB
Repository1 file · 744 B
Every file
FileTypeSizeSHA-256
model.safetensorsWeights438.0 MB cad5e88c1806
onnx/model.onnxWeights435.8 MB f4eaaef3227f
onnx/model_O1.onnxWeights435.7 MB 7859da8e0d75
onnx/model_O2.onnxWeights435.7 MB b26070b85e93
onnx/model_O3.onnxWeights435.7 MB 23feca3e58ff
onnx/model_O4.onnxWeights217.9 MB 01c9aabc5cab
onnx/model_qint8_arm64.onnxWeights110.1 MB 890c0088d7ce
onnx/model_qint8_avx512.onnxWeights110.1 MB 890c0088d7ce
onnx/model_qint8_avx512_vnni.onnxWeights110.1 MB 890c0088d7ce
onnx/model_quint8_avx2.onnxWeights110.2 MB f97501d0be95
openvino/openvino_model.binWeights435.6 MB 70c3dce97899
openvino/openvino_model_qint8_quantized.binWeights110.0 MB 7aadd947b05c
pytorch_model.binWeights438.0 MB c250de5d7533
tf_model.h5Weights438.2 MB 573d04bc90e9
1_Pooling/config.jsonConfiguration190 B
config.jsonConfiguration587 B
config_sentence_transformers.jsonConfiguration122 B
modules.jsonConfiguration229 B
sentence_bert_config.jsonConfiguration52 B
special_tokens_map.jsonConfiguration239 B
README.mdDocumentation4.6 KB
openvino/openvino_model.xmlOther432.8 KB
openvino/openvino_model_qint8_quantized.xmlOther742.1 KB
.gitattributesRepository744 B
tokenizer.jsonTokenizer466.2 KB
tokenizer_config.jsonTokenizer1.2 KB
vocab.txtTokenizer231.5 KB

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
4.3 GB
Download from Sentence Transformers

Released by Sentence Transformers through its official repository on Hugging Face. Read the license.

Built From

Memory Requirements

PrecisionWeights in memory
As published4.3 GB
16-bit0.2 GB
8-bit0.1 GB
4-bit0.1 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About nli-mpnet-base-v2

How much GPU memory does nli-mpnet-base-v2 need?

About 0.3 GB at 16-bit and 0.1 GB at 4-bit: the weights (109M parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run nli-mpnet-base-v2 on?

At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use nli-mpnet-base-v2 commercially?

Yes. nli-mpnet-base-v2 is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

What is nli-mpnet-base-v2's context length?

514 tokens, from the maximum position embeddings in its published configuration.

Similar Models

Model · Sentence similarity

all-mpnet-base-v2

Sentence Transformers

This is a sentence-transformers model: It maps sentences & paragraphs to a 768 dimensional dense vector space and can be used for tasks like clustering or semantic search. Using this model becomes easy when you have sentence-transformers installed: Then you can use the model like this: Without sentence-transformers, you can use the model like this: First, you pass your input through the transformer model, then you have to apply the right pooling-operation on-top of the contextualized word embeddings. Text Embeddings Inference (TEI) is a blazing fast inference solution for text embedding models. Send a request to /v1/embeddings to generate embeddings via the OpenAI Embeddings API: Or check…

Open weights apache-2.0 109M parameters 514 tokens sentence-transformers

Model · Sentence similarity

paraphrase-mpnet-base-v2

Sentence Transformers

This is a sentence-transformers model: It maps sentences & paragraphs to a 768 dimensional dense vector space and can be used for tasks like clustering or semantic search. Using this model becomes easy when you have sentence-transformers installed: Then you can use the model like this: Without sentence-transformers, you can use the model like this: First, you pass your input through the transformer model, then you have to apply the right pooling-operation on-top of the contextualized word embeddings. Text Embeddings Inference (TEI) is a blazing fast inference solution for text embedding models. Send a request to /v1/embeddings to generate embeddings via the OpenAI Embeddings API: Or check…

Open weights apache-2.0 109M parameters 514 tokens sentence-transformers

Model · Sentence similarity

multi-qa-mpnet-base-dot-v1

Sentence Transformers

This is a sentence-transformers model: It maps sentences & paragraphs to a 768 dimensional dense vector space and was designed for semantic search. It has been trained on 215M (question, answer) pairs from diverse sources. For an introduction to semantic search, have a look at: SBERT.net - Semantic Search Using this model becomes easy when you have sentence-transformers installed: Then you can use the model like this: Without sentence-transformers, you can use the model like this: First, you pass your input through the transformer model, then you have to apply the correct pooling-operation on-top of the contextualized word embeddings. Text Embeddings Inference (TEI) is a blazing fast…

Open weights 109M parameters 514 tokens sentence-transformers

Model · Sentence similarity

lt-wikidata-comp-en

Dell Research Harvard

This is a LinkTransformer model. At its core this model this is a sentence transformer model sentence-transformers model- it just wraps around the class. It is designed for quick and easy record linkage (entity-matching) through the LinkTransformer package. The tasks include clustering, deduplication, linking, aggregation and more. Notwithstanding that, it can be used for any sentence similarity task within the sentence-transformers framework as well. It maps sentences & paragraphs to a 768 dimensional dense vector space and can be used for tasks like clustering or semantic search. Take a look at the documentation of sentence-transformers if you want to use this model for more than what we…

Open weights 109M parameters 514 tokens sentence-transformers

Model · Sentence similarity

lt-un-data-fine-fine-en

Dell Research Harvard

This is a LinkTransformer model. At its core this model this is a sentence transformer model sentence-transformers model- it just wraps around the class. It is designed for quick and easy record linkage (entity-matching) through the LinkTransformer package. The tasks include clustering, deduplication, linking, aggregation and more. Notwithstanding that, it can be used for any sentence similarity task within the sentence-transformers framework as well. It maps sentences & paragraphs to a 768 dimensional dense vector space and can be used for tasks like clustering or semantic search. Take a look at the documentation of sentence-transformers if you want to use this model for more than what we…

Open weights 109M parameters 514 tokens sentence-transformers

Model · Sentence similarity

names-linking-model

Dell Research Harvard

This is a LinkTransformer model. At its core this model this is a sentence transformer model sentence-transformers model- it just wraps around the class. It is designed for quick and easy record linkage (entity-matching) through the LinkTransformer package. The tasks include clustering, deduplication, linking, aggregation and more. Notwithstanding that, it can be used for any sentence similarity task within the sentence-transformers framework as well. It maps sentences & paragraphs to a 768 dimensional dense vector space and can be used for tasks like clustering or semantic search. Take a look at the documentation of sentence-transformers if you want to use this model for more than what we…

Open weights 109M parameters 514 tokens sentence-transformers