alt.freeweights.embed / msmarco-MiniLM-L12-v3
From: sentence-transformers <huggingface.co/sentence-transformers>Newsgroups: alt.freeweights.embedSubject:

msmarco-MiniLM-L12-v3

Date: 2026-11-15Commit: 0413838Signed: 2DC28CC7B26A283B ✓

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

33M params1.44GBmsmarco-MiniLM-L12-v3onnx openvino safetensorspermissive
FactsParams33MSize1.44 GBFormatsonnx, openvino, safetensorsTasksentence similarityLicenseApache-2.0From sourcepermissive
$ fw get sentence-transformers/msmarco-MiniLM-L12-v3
# manifest sha256 4e8a3758b49d… · 1.44 GB · 28 files
$ fw verify ./msmarco-MiniLM-L12-v3 sentence-transformers/msmarco-MiniLM-L12-v3
From sourceHosted (signed)sentence-transformers/msmarco-MiniLM-L12-v3Last check: 2026-11-15 03:31 UTC

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

Works with

Evaluate with

Overview

Size
1.44 GB
Weights
133 MB (safetensors)
Parameters
33M
Formats
onnx, openvino, safetensors
Task
sentence similarity
License
Apache-2.0 (permissive)
Files
28, each with a sha256
Publisher
sentence-transformers
Added
2026-11-15
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-15 03:31 UTCpassed

Model card

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

sentence-transformers/msmarco-MiniLM-L12-v3#

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

# 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)

Evaluation Results#

For an automated evaluation of this model, see the Sentence Embeddings Benchmark: https://seb.sbert.net

Full Model Architecture#

SentenceTransformer(
  (0): Transformer({'max_seq_length': 512, '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 · 1.44 GBWeights 133 MB (safetensors). Sizes and sha256 from the signed manifest.
Show all 28 files with their sha256
FileSizesha256
.gitattributes790 B63e367f7468466447415f35c52584a3c3f397fe638e2f985b25ec29ac25bde14
1_Pooling/config.json190 B4be450dde3b0273bb9787637cfbd28fe04a7ba6ab9d36ac48e92b11e350ffc23
README.md3.72 KB9b6475d3c62e1ce7b687c443438566c01bf4bf7d37ac7a09d14cea7266e583d1
config.json629 B125baf0d7caa19d8871c2381d0597b8b52781641cef5e878200ba2f1912be3ea
config_sentence_transformers.json122 Bb8c64b5cece00d8424b4896ea75b512b6008576088497609dfeb6bd63e6d36b8
flax_model.msgpack133 MBcc545410e357acc8d666a3dd2ab33a9b3cd922eb4a9b94436f0790b399e8b3d4
model.safetensors133 MBde1a3145d5bdeebb9d7a8294f05603adfb395cbf67c174697c6e42918f8ae17f
modules.json229 B8f4b264b80206c830bebbdcae377e137925650a433b689343a63bdc9b3145460
onnx/model.onnx133 MB619fcdd0026b6e2ed2d5c54d93dbe0efe84a65662474adde564b08aa92820eeb
onnx/model_O1.onnx133 MB49c165363f5f3918d46ff61dbc442d1077eaaddeb3e9a81c9201639510420649
onnx/model_O2.onnx133 MBb9f0832be9f373b715e3fdb6342a65946afc14192ef24a240fb22cb8f944f719
onnx/model_O3.onnx133 MB930322e845a6107a2ba1b564523d2c72fa6e69169d1a64ea2aa64a4d1685f864
onnx/model_O4.onnx66.6 MB34e29ab54d673289fbb9178474e60f47fb60c497a3c08e2e7e1a95cd509fcbca
onnx/model_qint8_arm64.onnx34.1 MB782aecc94bd11a9d17a5dc7136970c9fa5397827f789937075feada2a3458d21
onnx/model_qint8_avx512.onnx34.1 MB782aecc94bd11a9d17a5dc7136970c9fa5397827f789937075feada2a3458d21
onnx/model_qint8_avx512_vnni.onnx34.1 MB782aecc94bd11a9d17a5dc7136970c9fa5397827f789937075feada2a3458d21
onnx/model_quint8_avx2.onnx34.2 MB550222139953f6eb9de5046e07396244a27393e50f25d4319fc505cbcf15a22f
openvino/openvino_model.bin133 MB98681a746c2465cfa12e483c7545ffe16a7768be493bfb75291b25beb7f63913
openvino/openvino_model.xml398 KBe6fe062e0c84cf9e57983d148a6ae081e33e2fdf2e69d99df4f3d76a00762e9c
openvino/openvino_model_qint8_quantized.bin33.8 MBcb59513b412cef1acd8d55609f398ff9b51ed89051f630b733f32b68af2bff8c
openvino/openvino_model_qint8_quantized.xml708 KBbe1638f113aa3cdf23d442f45197def3f9fc2ea94bee79a0af1464243e324492
pytorch_model.bin134 MBb17442e1b4a5db687084be01f47d35f683f35ffadbfe26ca42622fec51d013a8
sentence_bert_config.json53 Bec8e29d6dcb61b611b7d3fdd2982c4524e6ad985959fa7194eacfb655a8d0d51
special_tokens_map.json112 B303df45a03609e4ead04bc3dc1536d0ab19b5358db685b6f3da123d05ec200e3
tf_model.h5134 MBbabd8eaec24a64d327fa18a0e455567d953b766d4dfcc68daa699b07304eba29
tokenizer.json466 KB5fd1c882abbd30517dced455a2c9768945ec726b96727927e4959348d9de550b
tokenizer_config.json432 B7b0e032935673f37ea4f7c01e3038e2fe5c03d8a71b83d50298c9dd44a6ff27d
vocab.txt232 KB07eced375cec144d27c900241f3e339478dec958f92fddbc551f295c992038a3
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
0413838979 pinned now2026-11-15 03:31 UTC28 files · 1.44 GB

Use it

$ fw get sentence-transformers/msmarco-MiniLM-L12-v3
# manifest sha256 4e8a3758b49d… · 1.44 GB · 28 files
$ fw verify ./msmarco-MiniLM-L12-v3 sentence-transformers/msmarco-MiniLM-L12-v3
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/sentence-transformers/msmarco-MiniLM-L12-v3.json --dir ./msmarco-MiniLM-L12-v3 $ python3 fw.py verify ./msmarco-MiniLM-L12-v3 ./sentence-transformers__msmarco-MiniLM-L12-v3.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download sentence-transformers/msmarco-MiniLM-L12-v3 --revision 04138389795d8715e1298fc51c0dc7d18d9670cd --local-dir ./msmarco-MiniLM-L12-v3
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/msmarco-MiniLM-L12-v3", revision="04138389795d8715e1298fc51c0dc7d18d9670cd") model = AutoModel.from_pretrained("sentence-transformers/msmarco-MiniLM-L12-v3", revision="04138389795d8715e1298fc51c0dc7d18d9670cd", 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/msmarco-MiniLM-L12-v3", revision="04138389795d8715e1298fc51c0dc7d18d9670cd") 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-15
Text in
README.md
Text sha256
9b6475d3c62e1ce7b687c443438566c01bf4bf7d37ac7a09d14cea7266e583d1
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: msmarco-MiniLM-L12-v3Date: 2026-11-15Commit: 0413838Signed: 2DC28CC7B26A283B ✓
Upstream
sentence-transformers/msmarco-MiniLM-L12-v3
Pinned commit
04138389795d8715e1298fc51c0dc7d18d9670cd
Manifest
msmarco-MiniLM-L12-v3.json · .minisig
Manifest sha256
4e8a3758b49d2a49c59993030b779089d388737899a1a14dc2326ec1ea2dd0eb
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:31 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/sentence-transformers/msmarco-MiniLM-L12-v3.json $ curl -O https://freeweights.allternit.com/manifests/sentence-transformers/msmarco-MiniLM-L12-v3.json.minisig $ minisign -Vm msmarco-MiniLM-L12-v3.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/msmarco-MiniLM-L12-v3
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. msmarco-MiniLM-L12-v3.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