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

msmarco-MiniLM-L6-v3

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

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

23M params977MBmsmarco-MiniLM-L6-v3onnx openvino safetensorspermissive
FactsParams23MSize977 MBFormatsonnx, openvino, safetensorsTasksentence similarityLicenseApache-2.0From sourcepermissive
$ fw get sentence-transformers/msmarco-MiniLM-L6-v3
# manifest sha256 d2ec57817b81… · 977 MB · 28 files
$ fw verify ./msmarco-MiniLM-L6-v3 sentence-transformers/msmarco-MiniLM-L6-v3
From sourceHosted (signed)sentence-transformers/msmarco-MiniLM-L6-v3Last 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
977 MB
Weights
90.9 MB (safetensors)
Parameters
23M
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 fea93b3. Shown as plain text with links; images open at the publisher.

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

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 · 977 MBWeights 90.9 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.50 KB63225b7f215b800af39e01e35ee2de3eee4b9d8603c098bb0e8bcc8c68d9e879
config.json627 B76a2cb193ea961595167d17433fe921fa46f07517120a62437cf8f40f7abb778
config_sentence_transformers.json122 Bb8c64b5cece00d8424b4896ea75b512b6008576088497609dfeb6bd63e6d36b8
flax_model.msgpack90.9 MB4ce670108f3abe4a1513aa973c696e273397db899a983deecdd86a987f9a63dc
model.safetensors90.9 MB44d07b17c326e86f6e1af597e1f6e04d44232f18cf46be1aaaf9dacdabf5b1ed
modules.json229 B8f4b264b80206c830bebbdcae377e137925650a433b689343a63bdc9b3145460
onnx/model.onnx90.4 MB224b2aa11d6c029d9bea9ec96b9e1ec5b8f774ca4cf1ef70f63d9928b2d79fb8
onnx/model_O1.onnx90.4 MBf93931e8accaab4fae6c60573f95817d61ec3c5649905878d7f74f228ba3c433
onnx/model_O2.onnx90.3 MB71a9ded7a9b2d699b60ff602ca30a95ab98421d3415f38c77ce3766abe312d17
onnx/model_O3.onnx90.3 MB3dd144da054836b8c25ddb2d8a23a71cd3de0e10ce8f185bc7c15d6d44ed09a0
onnx/model_O4.onnx45.2 MBd03058ed2c7f3ce097357c36870b5e326b7d22e8baf6dbd44a55dbedad8e956a
onnx/model_qint8_arm64.onnx23.0 MBad079b2f50c403660a89403f9bc736fbcf1e48383ae215f2cdd2251e9f2388fb
onnx/model_qint8_avx512.onnx23.0 MBad079b2f50c403660a89403f9bc736fbcf1e48383ae215f2cdd2251e9f2388fb
onnx/model_qint8_avx512_vnni.onnx23.0 MBad079b2f50c403660a89403f9bc736fbcf1e48383ae215f2cdd2251e9f2388fb
onnx/model_quint8_avx2.onnx23.0 MB2578fe468be66a09175308364d26f6bc47bd0c75d4a16d2e5ff27f3e7ad2a2fd
openvino/openvino_model.bin90.3 MB1dfea90336af59564351015c7818ab9c552919f93bee8fa8dcee430e3bb7e30c
openvino/openvino_model.xml211 KB78f97443baff5507b7924e7133ade132b09ecd1a485e9bf7d0c4c9a2c0066545
openvino/openvino_model_qint8_quantized.bin22.9 MBa23cbdb861ded4c9f1c2b90377dcf39a90374adc66ad4f28707aee4b8e963d04
openvino/openvino_model_qint8_quantized.xml368 KBb834810f552ee7ee73ae3c1a0a725b9ae2a119f2d08a4c8ee687071c6a0e2b06
pytorch_model.bin90.9 MB5e3a29b2fc7bce0f6b0bdd35dcd6e6d1c1dd5fc191561d0b9c5d3aadf3891e0b
sentence_bert_config.json53 Bec8e29d6dcb61b611b7d3fdd2982c4524e6ad985959fa7194eacfb655a8d0d51
special_tokens_map.json112 B303df45a03609e4ead04bc3dc1536d0ab19b5358db685b6f3da123d05ec200e3
tf_model.h591.0 MB5f4f194a925d21f972ae6149d1f9a94dae43886a3fff1886977a950c6862fcd9
tokenizer.json466 KB5fd1c882abbd30517dced455a2c9768945ec726b96727927e4959348d9de550b
tokenizer_config.json430 Bf6c1ce9e670deb8f8de3ffb61f43dc410caf681ce952c9572bc212968449918c
vocab.txt232 KB07eced375cec144d27c900241f3e339478dec958f92fddbc551f295c992038a3
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
fea93b3df3 pinned now manifest updated, same commit2026-11-14 21:10 UTC28 files · 977 MB
fea93b3df32026-11-14 21:10 UTC28 files · 977 MB

Use it

$ fw get sentence-transformers/msmarco-MiniLM-L6-v3
# manifest sha256 d2ec57817b81… · 977 MB · 28 files
$ fw verify ./msmarco-MiniLM-L6-v3 sentence-transformers/msmarco-MiniLM-L6-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-L6-v3.json --dir ./msmarco-MiniLM-L6-v3 $ python3 fw.py verify ./msmarco-MiniLM-L6-v3 ./sentence-transformers__msmarco-MiniLM-L6-v3.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download sentence-transformers/msmarco-MiniLM-L6-v3 --revision fea93b3df3924e5649a4e322c345f951239d2c13 --local-dir ./msmarco-MiniLM-L6-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-L6-v3", revision="fea93b3df3924e5649a4e322c345f951239d2c13") model = AutoModel.from_pretrained("sentence-transformers/msmarco-MiniLM-L6-v3", revision="fea93b3df3924e5649a4e322c345f951239d2c13", 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-L6-v3", revision="fea93b3df3924e5649a4e322c345f951239d2c13") 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
63225b7f215b800af39e01e35ee2de3eee4b9d8603c098bb0e8bcc8c68d9e879
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-L6-v3Date: 2026-11-14Commit: fea93b3Signed: 2DC28CC7B26A283B ✓
Upstream
sentence-transformers/msmarco-MiniLM-L6-v3
Pinned commit
fea93b3df3924e5649a4e322c345f951239d2c13
Manifest
msmarco-MiniLM-L6-v3.json · .minisig
Manifest sha256
d2ec57817b81d463389b683ab32aef95a56faf6ef4f62bda3fb1e457e091c267
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/msmarco-MiniLM-L6-v3.json $ curl -O https://freeweights.allternit.com/manifests/sentence-transformers/msmarco-MiniLM-L6-v3.json.minisig $ minisign -Vm msmarco-MiniLM-L6-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-L6-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-L6-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