alt.freeweights.embed / paraphrase-multilingual-MiniLM-L12-v2-ONNX
From: onnx-community <huggingface.co/onnx-community>Newsgroups: alt.freeweights.embedSubject:

paraphrase-multilingual-MiniLM-L12-v2-ONNX

Date: 2026-11-15Commit: d4c06bfSigned: 2DC28CC7B26A283B ✓

Sentence similarity model. Onnx weights, 1.64 GB in all. Published by onnx-community under Apache-2.0.

embed1.64GBparaphrase-multilingual-MiniLM-L12-v2-ONNXonnxpermissive
FactsParamsnot statedSize1.64 GBFormatsonnxTasksentence similarityLicenseApache-2.0From sourcepermissive
$ fw get onnx-community/paraphrase-multilingual-MiniLM-L12-v2-ONNX
# manifest sha256 f0a62bda7c5a… · 1.64 GB · 12 files
$ fw verify ./paraphrase-multilingual-MiniLM-L12-v2-ONNX onnx-community/paraphrase-multilingual-MiniLM-L12-v2-ONNX
From sourceHosted (signed)onnx-community/paraphrase-multilingual-MiniLM-L12-v2-ONNXLast check: 2026-11-15 05:12 UTC

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

Quantized of paraphrase-multilingual-MiniLM-L12-v2.

Works with

Runs with

Ranked by fit to this model (onnx), then by GitHub stars.

Convert with

Evaluate with

Scan with

Overview

Size
1.64 GB
Weights
118 MB (smallest of 6 ONNX variants)
Parameters
not stated
Formats
onnx
Task
sentence similarity
License
Apache-2.0 (permissive)
Files
12, each with a sha256
Publisher
onnx-community
Added
2026-11-15
Section
alt.freeweights.embed
Lineage

Original release from the publisher.

Base model: sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2

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-15 05:12 UTCpassed

Model card

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

paraphrase-multilingual-MiniLM-L12-v2 (ONNX)#

This is an ONNX version of sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2. It was automatically converted and uploaded using this Hugging Face Space.

Usage with Transformers.js#

See the pipeline documentation for sentence-similarity: https://huggingface.co/docs/transformers.js/api/pipelines


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

12 files · 1.64 GBWeights 118 MB (smallest of 6 ONNX variants). Sizes and sha256 from the signed manifest.
Hide all 12 files with their sha256
FileSizesha256
.gitattributes1.57 KB34448b82c17d60fec9b65b1f093c115ddbaadc04beb1b0140b6bfed2e012a930
README.md4.48 KB85bba6e4bf6a155fdf16c7d7f43cb1321c27672e0d29e9d5f0e881feeb6de588
config.json613 B376a54b28d37e8502389a87d6c8ff59247fc361cd8d980a47b36b6cae876de5e
onnx/model.onnx470 MB6fef515473041f6f40d7e5f630106e59ff50b22e1b1fccae39199b1d9f8ec03a
onnx/model_bnb4.onnx397 MB31783117e181c36d7046ecda0ae549e90562c821bfb9532829f6515ab644c443
onnx/model_int8.onnx118 MB0029fce9c82365d8a2bf20e03a476e84785a872d8d423c8bac0fd0f350df88dc
onnx/model_q4.onnx399 MBd6cae26344f3f587038f2c5cc7b0736964cd7e6f2df1ee1edb903f98a9f2aea9
onnx/model_quantized.onnx118 MB0029fce9c82365d8a2bf20e03a476e84785a872d8d423c8bac0fd0f350df88dc
onnx/model_uint8.onnx118 MB160858a4e8cfcdf35c66d6273694276f90499fa598b17dc8645cc8b4e33d67f9
special_tokens_map.json964 B8c785abebea9ae3257b61681b4e6fd8365ceafde980c21970d001e834cf10835
tokenizer.json17.1 MBcad551d5600a84242d0973327029452a1e3672ba6313c2a3c3d69c4310e12719
tokenizer_config.json1.46 KB3a8d9bef4da7fc3ac71da789f225b47dc7599a28cfdcc2140463771927dc0726
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
d4c06bf0d7 pinned now2026-11-15 05:12 UTC12 files · 1.64 GB

Use it

$ fw get onnx-community/paraphrase-multilingual-MiniLM-L12-v2-ONNX
# manifest sha256 f0a62bda7c5a… · 1.64 GB · 12 files
$ fw verify ./paraphrase-multilingual-MiniLM-L12-v2-ONNX onnx-community/paraphrase-multilingual-MiniLM-L12-v2-ONNX
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/onnx-community/paraphrase-multilingual-MiniLM-L12-v2-ONNX.json --dir ./paraphrase-multilingual-MiniLM-L12-v2-ONNX $ python3 fw.py verify ./paraphrase-multilingual-MiniLM-L12-v2-ONNX ./onnx-community__paraphrase-multilingual-MiniLM-L12-v2-ONNX.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download onnx-community/paraphrase-multilingual-MiniLM-L12-v2-ONNX --revision d4c06bf0d7680171ac30042a1387e1fdb7a90021 --local-dir ./paraphrase-multilingual-MiniLM-L12-v2-ONNX

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-15
Text in
README.md
Text sha256
85bba6e4bf6a155fdf16c7d7f43cb1321c27672e0d29e9d5f0e881feeb6de588
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: onnx-community <huggingface.co/onnx-community>Newsgroups: alt.freeweights.embedSubject: paraphrase-multilingual-MiniLM-L12-v2-ONNXDate: 2026-11-15Commit: d4c06bfSigned: 2DC28CC7B26A283B ✓
Upstream
onnx-community/paraphrase-multilingual-MiniLM-L12-v2-ONNX
Pinned commit
d4c06bf0d7680171ac30042a1387e1fdb7a90021
Manifest
paraphrase-multilingual-MiniLM-L12-v2-ONNX.json · .minisig
Manifest sha256
f0a62bda7c5a55ef12bd7dcb1b8d9ccdd01679533f33d897bd20f731ade45a23
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 05:12 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/onnx-community/paraphrase-multilingual-MiniLM-L12-v2-ONNX.json $ curl -O https://freeweights.allternit.com/manifests/onnx-community/paraphrase-multilingual-MiniLM-L12-v2-ONNX.json.minisig $ minisign -Vm paraphrase-multilingual-MiniLM-L12-v2-ONNX.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

Parent

sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2 · this model is a quantization of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download onnx-community/paraphrase-multilingual-MiniLM-L12-v2-ONNX
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-ONNX.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