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

paraphrase-multilingual-MiniLM-L12-v2

Date: 2026-11-14Commit: e8f8c21Signed: 2DC28CC7B26A283B ✓

Sentence similarity model with 118M parameters. Onnx and openvino and safetensors weights, 4.62 GB in all. Published by sentence-transformers under Apache-2.0.

118M params4.62GBparaphrase-multilingual-MiniLM-L12-v2onnx openvino safetensorspermissive
FactsParams118MSize4.62 GBFormatsonnx, openvino, safetensorsTasksentence similarityLicenseApache-2.0From sourcepermissive
$ fw get sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2
# manifest sha256 0de4707debb7… · 4.62 GB · 28 files
$ fw verify ./paraphrase-multilingual-MiniLM-L12-v2 sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2
From sourceHosted (signed)sentence-transformers/paraphrase-multilingual-MiniLM-L12-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
4.62 GB
Weights
471 MB (safetensors)
Parameters
118M
Formats
onnx, openvino, safetensors
Task
sentence similarity
License
Apache-2.0 (permissive)
Files
28, 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 e8f8c21. Shown as plain text with links; images open at the publisher.

sentence-transformers/paraphrase-multilingual-MiniLM-L12-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-multilingual-MiniLM-L12-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-multilingual-MiniLM-L12-v2')
model = AutoModel.from_pretrained('sentence-transformers/paraphrase-multilingual-MiniLM-L12-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

28 files · 4.62 GBWeights 471 MB (safetensors). Sizes and sha256 from the signed manifest.
Show all 28 files with their sha256
FileSizesha256
.gitattributes1.02 KBfd3e5d862331ec272410eb6312742550c3149899ee61827169b78fd0d5889f2e
1_Pooling/config.json190 B4be450dde3b0273bb9787637cfbd28fe04a7ba6ab9d36ac48e92b11e350ffc23
README.md3.89 KB1e98ea05b0de579fcaad3d625b62ea55647142ed674d5f5ebf1440e4bbbb6f23
config.json645 B6300193cb75e01cf80c96decef7187dfb33094d97cc1490b7ead6ff134476e4e
config_sentence_transformers.json122 Bb8c64b5cece00d8424b4896ea75b512b6008576088497609dfeb6bd63e6d36b8
model.safetensors471 MBeaa086f0ffee582aeb45b36e34cdd1fe2d6de2bef61f8a559a1bbc9bd955917b
modules.json229 B8f4b264b80206c830bebbdcae377e137925650a433b689343a63bdc9b3145460
onnx/model.onnx470 MB10f7a088420252b26caf819236ca2c9d2987afd0fc06fec7553b542a5655a05a
onnx/model_O1.onnx470 MB9ae4b831e992807334f18a91557661e94715f502a5c7248fb81675b08391e30f
onnx/model_O2.onnx470 MB338ef03c2838d5a659d36e1ce5b7a1dc2d2a66a430a9e6f499de6dc39f663850
onnx/model_O3.onnx470 MB2426785672da5afa2ca3ac1efae652499c72a3198e8e203d06f6d6e6c569d419
onnx/model_O4.onnx235 MB307bba13f9f5708461169c9f2d633c76c5572919bcc998606b6e5aea46f05db4
onnx/model_qint8_arm64.onnx118 MB783fea82d71a58179b830a4dbd2d58447e640609e98eedf9ffa12622d375a672
onnx/model_qint8_avx512.onnx118 MB783fea82d71a58179b830a4dbd2d58447e640609e98eedf9ffa12622d375a672
onnx/model_qint8_avx512_vnni.onnx118 MB783fea82d71a58179b830a4dbd2d58447e640609e98eedf9ffa12622d375a672
onnx/model_quint8_avx2.onnx118 MB98a01d88b7de996cdea58c32ca71208c09968d143798814b2ea09d3439dc334f
openvino/openvino_model.bin470 MB04e8cc4ceedb65316f374f798b9428b491281e064b4cb6076e6abf0221256ac1
openvino/openvino_model.xml399 KB4be6bbe73e4b562ac249cbc4f8d21b15d7925032f18f9f1a044407ef25ed6b14
openvino/openvino_model_qint8_quantized.bin119 MB24acd56a5f5ae4ba5b39c9593997ebb6d5da44a6439ef1d0757a70c70aadb7e3
openvino/openvino_model_qint8_quantized.xml709 KBbf8073798246ce658b6717c7a9afd82783e30a6c91e63ef8d2cd3791ceac123c
pytorch_model.bin471 MB16cc9e54df6e083272378abec2d75dc34d7a48b5276db3ccc050d18de672ac59
sentence_bert_config.json53 B70f4448f31320443fe3557cacea5abf2dcc4915dda8c80646bec9f3bb0aa5a1f
sentencepiece.bpe.model5.07 MBcfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
special_tokens_map.json239 B378eb3bf733eb16e65792d7e3fda5b8a4631387ca04d2015199c4d4f22ae554d
tf_model.h5471 MB22150b6ba00e477c7f816f1988d028fff924e2b52e14540889690c72c5add40e
tokenizer.json9.08 MB2c3387be76557bd40970cec13153b3bbf80407865484b209e655e5e4729076b8
tokenizer_config.json526 B5036ea374ffedd706e3bef33e2e0d6953cb868ef8a490e76e32ba0faa37a6b9b
unigram.json14.8 MB71b44701d7efd054205115acfa6ef126c5d2f84bd3affe0c59e48163674d19a6
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
e8f8c21122 pinned now manifest updated, same commit2026-11-14 21:10 UTC28 files · 4.62 GB
e8f8c211222026-11-14 21:10 UTC28 files · 4.62 GB

Use it

$ fw get sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2
# manifest sha256 0de4707debb7… · 4.62 GB · 28 files
$ fw verify ./paraphrase-multilingual-MiniLM-L12-v2 sentence-transformers/paraphrase-multilingual-MiniLM-L12-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-multilingual-MiniLM-L12-v2.json --dir ./paraphrase-multilingual-MiniLM-L12-v2 $ python3 fw.py verify ./paraphrase-multilingual-MiniLM-L12-v2 ./sentence-transformers__paraphrase-multilingual-MiniLM-L12-v2.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2 --revision e8f8c211226b894fcb81acc59f3b34ba3efd5f42 --local-dir ./paraphrase-multilingual-MiniLM-L12-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-multilingual-MiniLM-L12-v2", revision="e8f8c211226b894fcb81acc59f3b34ba3efd5f42") model = AutoModel.from_pretrained("sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2", revision="e8f8c211226b894fcb81acc59f3b34ba3efd5f42", 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-multilingual-MiniLM-L12-v2", revision="e8f8c211226b894fcb81acc59f3b34ba3efd5f42") 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
1e98ea05b0de579fcaad3d625b62ea55647142ed674d5f5ebf1440e4bbbb6f23
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-multilingual-MiniLM-L12-v2Date: 2026-11-14Commit: e8f8c21Signed: 2DC28CC7B26A283B ✓
Upstream
sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2
Pinned commit
e8f8c211226b894fcb81acc59f3b34ba3efd5f42
Manifest
paraphrase-multilingual-MiniLM-L12-v2.json · .minisig
Manifest sha256
0de4707debb751695b209890e1063c757fa52c58440984dc3a7b4f6020666450
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-multilingual-MiniLM-L12-v2.json $ curl -O https://freeweights.allternit.com/manifests/sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2.json.minisig $ minisign -Vm paraphrase-multilingual-MiniLM-L12-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

1 model in the catalog name this one as their parent.

Quantizations
1
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download sentence-transformers/paraphrase-multilingual-MiniLM-L12-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-multilingual-MiniLM-L12-v2.json. Provenance. Takedown history: none.

Variants

1 quantized or adapter build of paraphrase-multilingual-MiniLM-L12-v2. Each has its own license check and page.

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