alt.freeweights.embed / paraphrase-MiniLM-L3-v2
From: sentence-transformers <huggingface.co/sentence-transformers>Newsgroups: alt.freeweights.embedSubject:

paraphrase-MiniLM-L3-v2

Date: 2026-11-14Commit: 4ca7077Signed: 2DC28CC7B26A283B ✓

Sentence similarity model with 17M parameters. Onnx and openvino and safetensors weights, 677 MB in all. Published by sentence-transformers under Apache-2.0.

17M params677MBparaphrase-MiniLM-L3-v2onnx openvino safetensorspermissive
FactsParams17MSize677 MBFormatsonnx, openvino, safetensorsTasksentence similarityLicenseApache-2.0From sourcepermissive
$ fw get sentence-transformers/paraphrase-MiniLM-L3-v2
# manifest sha256 97368af5ab24… · 677 MB · 27 files
$ fw verify ./paraphrase-MiniLM-L3-v2 sentence-transformers/paraphrase-MiniLM-L3-v2
From sourceHosted (signed)sentence-transformers/paraphrase-MiniLM-L3-v2Last check: 2026-11-14 21:10 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Evaluate with

Overview

Size
677 MB
Weights
69.6 MB (safetensors)
Parameters
17M
Formats
onnx, openvino, safetensors
Task
sentence similarity
License
Apache-2.0 (permissive)
Files
27, each with a sha256
Publisher
sentence-transformers
Added
2026-11-14
Section
alt.freeweights.embed
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-14 21:10 UTCpassed

Model card

From the publisher at commit 4ca7077. Shown as plain text with links; images open at the publisher.

sentence-transformers/paraphrase-MiniLM-L3-v2#

This is a sentence-transformers model: It maps sentences & paragraphs to a 384 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/paraphrase-MiniLM-L3-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.

from transformers import AutoTokenizer, AutoModel
import torch


#Mean Pooling - Take attention mask into account for correct averaging
def mean_pooling(model_output, attention_mask):
    token_embeddings = model_output[0] #First element of model_output contains all token embeddings
    input_mask_expanded = attention_mask.unsqueeze(-1).expand(token_embeddings.size()).float()
    return torch.sum(token_embeddings * input_mask_expanded, 1) / torch.clamp(input_mask_expanded.sum(1), min=1e-9)


# Sentences we want sentence embeddings for
sentences = ['This is an example sentence', 'Each sentence is converted']

# Load model from HuggingFace Hub
tokenizer = AutoTokenizer.from_pretrained('sentence-transformers/paraphrase-MiniLM-L3-v2')
model = AutoModel.from_pretrained('sentence-transformers/paraphrase-MiniLM-L3-v2')

# Tokenize sentences
encoded_input = tokenizer(sentences, padding=True, truncation=True, return_tensors='pt')

# Compute token embeddings
with torch.no_grad():
    model_output = model(**encoded_input)

# Perform pooling. In this case, max pooling.
sentence_embeddings = mean_pooling(model_output, encoded_input['attention_mask'])

print("Sentence embeddings:")
print(sentence_embeddings)

Full Model Architecture#

SentenceTransformer(
  (0): Transformer({'max_seq_length': 128, 'do_lower_case': False}) with Transformer model: BertModel 
  (1): Pooling({'word_embedding_dimension': 384, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False})
)

Citing & Authors#

This model was trained by sentence-transformers.

If you find this model helpful, feel free to cite our publication Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks:

@inproceedings{reimers-2019-sentence-bert,
    title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
    author = "Reimers, Nils and Gurevych, Iryna",
    booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
    month = "11",
    year = "2019",
    publisher = "Association for Computational Linguistics",
    url = "http://arxiv.org/abs/1908.10084",
}

Files

27 files · 677 MBWeights 69.6 MB (safetensors). Sizes and sha256 from the signed manifest.
Show all 27 files with their sha256
FileSizesha256
.gitattributes744 Bf888dc7c230287cd68af7034aa9fc2e2d6663fb7b3e70faa153caf93877914c3
1_Pooling/config.json190 B4be450dde3b0273bb9787637cfbd28fe04a7ba6ab9d36ac48e92b11e350ffc23
README.md3.83 KB367a3b024bae0609cd4c9c355d4ef968a974c03d9bde297550508472e5dc0db9
config.json629 Bfc00f0ca1c3380f17937a4050908dd2cf743c36bebe437cf448b8aa4e7ddfe4d
config_sentence_transformers.json122 Bb8c64b5cece00d8424b4896ea75b512b6008576088497609dfeb6bd63e6d36b8
model.safetensors69.6 MBcf1e4e2d420c664973037c3c73125d7a8fc69952495093ef8f50596f8943a433
modules.json229 B8f4b264b80206c830bebbdcae377e137925650a433b689343a63bdc9b3145460
onnx/model.onnx69.0 MB84007b609c7a626b0adf825b1e36b839e705cd5995b4865b6e6696541d0a6350
onnx/model_O1.onnx69.0 MB9af6e4395562b730105a3ffcb43a02fcc597a2cffad615e61e90f4a0b8535276
onnx/model_O2.onnx69.0 MB2312521d80b6996cbf2fad7dc1984b1384036a6e772e2ba9ef1f9d231fa6c0c9
onnx/model_O3.onnx69.0 MBb0cd24e08220602df882c4ef73f8aa18c61941f815943859f437753f1b965a92
onnx/model_O4.onnx34.5 MB48881b7e13a866819e4c086fd315fa81c5c86aba0174fba5d4fd5693722f916d
onnx/model_qint8_arm64.onnx17.5 MB44a2d6852c28e7a4cff4d77a8bc8d5ca2a8b38884c1fa746e6652d830109e0c2
onnx/model_qint8_avx512.onnx17.5 MB44a2d6852c28e7a4cff4d77a8bc8d5ca2a8b38884c1fa746e6652d830109e0c2
onnx/model_qint8_avx512_vnni.onnx17.5 MB44a2d6852c28e7a4cff4d77a8bc8d5ca2a8b38884c1fa746e6652d830109e0c2
onnx/model_quint8_avx2.onnx17.5 MB7b411e18f5974428b388be5667cf76d57c2a52968e1d6b0153a30a8ccfb34204
openvino/openvino_model.bin69.0 MB75e687f460e455400b70da4f63ebff1c9adc428053c870719d773aeaca268dfd
openvino/openvino_model.xml118 KB67cd9c44467575dd2c50971c8f33bdc0e2779c6359fb5a2fc220ec0d7195ada6
openvino/openvino_model_qint8_quantized.bin17.5 MBfb8f0df8d31765edefe2f8ed6176839519e74ba3674aeea3e79b127269af4b68
openvino/openvino_model_qint8_quantized.xml199 KB8df50cea797bf2a2c61931dabb36b5502cc7b5d0c2b125b6d07fec50c79ad905
pytorch_model.bin69.6 MB6b0a1c48c2490f85381505b1d7c7327d0c4dc31c285880f37715a71514f5dd6c
sentence_bert_config.json53 B70f4448f31320443fe3557cacea5abf2dcc4915dda8c80646bec9f3bb0aa5a1f
special_tokens_map.json112 B303df45a03609e4ead04bc3dc1536d0ab19b5358db685b6f3da123d05ec200e3
tf_model.h569.6 MBe5ecd112cca815661ecaa576b1c1d5b3594d491f3e6e379363b09070277f7617
tokenizer.json466 KBa9576e4dadfe7f78f071a1c00ba6902cc83ec6ed7e9b590ee974950bd4d54393
tokenizer_config.json314 Bbebb08142e831e77fd87b6fac54626c2ca527ad27203e9de5e787f1e8063608b
vocab.txt232 KB07eced375cec144d27c900241f3e339478dec958f92fddbc551f295c992038a3
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
4ca7077103 pinned now manifest updated, same commit2026-11-14 21:10 UTC27 files · 677 MB
4ca70771032026-11-14 21:10 UTC27 files · 677 MB

Use it

$ fw get sentence-transformers/paraphrase-MiniLM-L3-v2
# manifest sha256 97368af5ab24… · 677 MB · 27 files
$ fw verify ./paraphrase-MiniLM-L3-v2 sentence-transformers/paraphrase-MiniLM-L3-v2
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/sentence-transformers/paraphrase-MiniLM-L3-v2.json --dir ./paraphrase-MiniLM-L3-v2 $ python3 fw.py verify ./paraphrase-MiniLM-L3-v2 ./sentence-transformers__paraphrase-MiniLM-L3-v2.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download sentence-transformers/paraphrase-MiniLM-L3-v2 --revision 4ca70771034acceecb2e72475f72050fcdde4ddc --local-dir ./paraphrase-MiniLM-L3-v2
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModel, AutoTokenizer tok = AutoTokenizer.from_pretrained("sentence-transformers/paraphrase-MiniLM-L3-v2", revision="4ca70771034acceecb2e72475f72050fcdde4ddc") model = AutoModel.from_pretrained("sentence-transformers/paraphrase-MiniLM-L3-v2", revision="4ca70771034acceecb2e72475f72050fcdde4ddc", device_map="auto")
sentence-transformersEmbed text with sentence-transformers.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from sentence_transformers import SentenceTransformer model = SentenceTransformer("sentence-transformers/paraphrase-MiniLM-L3-v2", revision="4ca70771034acceecb2e72475f72050fcdde4ddc") vectors = model.encode(["Hello"])

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-14
Text in
README.md
Text sha256
367a3b024bae0609cd4c9c355d4ef968a974c03d9bde297550508472e5dc0db9
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: sentence-transformers <huggingface.co/sentence-transformers>Newsgroups: alt.freeweights.embedSubject: paraphrase-MiniLM-L3-v2Date: 2026-11-14Commit: 4ca7077Signed: 2DC28CC7B26A283B ✓
Upstream
sentence-transformers/paraphrase-MiniLM-L3-v2
Pinned commit
4ca70771034acceecb2e72475f72050fcdde4ddc
Manifest
paraphrase-MiniLM-L3-v2.json · .minisig
Manifest sha256
97368af5ab24dec696b948468344bc5525e6f576b1cb56bf82070c5a2718e7a1
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-14 21:10 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/sentence-transformers/paraphrase-MiniLM-L3-v2.json $ curl -O https://freeweights.allternit.com/manifests/sentence-transformers/paraphrase-MiniLM-L3-v2.json.minisig $ minisign -Vm paraphrase-MiniLM-L3-v2.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

No related models in this catalog.Nothing here lists this model as its parent, and it names no parent.
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download sentence-transformers/paraphrase-MiniLM-L3-v2
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. paraphrase-MiniLM-L3-v2.json. Provenance. Takedown history: none.
From: sentence-transformers <huggingface.co/sentence-transformers>Subject: all-MiniLM-L6-v1
From: unsloth <huggingface.co/unsloth>Subject: all-MiniLM-L6-v2
From: mlx-community <huggingface.co/mlx-community>Subject: all-MiniLM-L6-v2-4bit
From: sentence-transformers <huggingface.co/sentence-transformers>Subject: all-mpnet-base-v1
From: sentence-transformers <huggingface.co/sentence-transformers>Subject: allenai-specter
From: sentence-transformers <huggingface.co/sentence-transformers>Subject: bert-base-nli-max-tokens