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

msmarco-distilbert-base-v3

Date: 2026-11-15Commit: 18b4d60Signed: 2DC28CC7B26A283B ✓

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

66M params2.59GBmsmarco-distilbert-base-v3onnx openvino safetensorspermissive
FactsParams66MSize2.59 GBFormatsonnx, openvino, safetensorsTasksentence similarityLicenseApache-2.0From sourcepermissive
$ fw get sentence-transformers/msmarco-distilbert-base-v3
# manifest sha256 63c14fcbb016… · 2.59 GB · 27 files
$ fw verify ./msmarco-distilbert-base-v3 sentence-transformers/msmarco-distilbert-base-v3
From sourceHosted (signed)sentence-transformers/msmarco-distilbert-base-v3Last check: 2026-11-15 03:40 UTC

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

Works with

Evaluate with

Overview

Size
2.59 GB
Weights
265 MB (safetensors)
Parameters
66M
Formats
onnx, openvino, safetensors
Task
sentence similarity
License
Apache-2.0 (permissive)
Files
27, 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:40 UTCpassed

Model card

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

sentence-transformers/msmarco-distilbert-base-v3#

This is a sentence-transformers model: It maps sentences & paragraphs to a 768 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-distilbert-base-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-distilbert-base-v3')
model = AutoModel.from_pretrained('sentence-transformers/msmarco-distilbert-base-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': 510, 'do_lower_case': False}) with Transformer model: DistilBertModel 
  (1): Pooling({'word_embedding_dimension': 768, '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 · 2.59 GBWeights 265 MB (safetensors). Sizes and sha256 from the signed manifest.
Show all 27 files with their sha256
FileSizesha256
.gitattributes744 Bf888dc7c230287cd68af7034aa9fc2e2d6663fb7b3e70faa153caf93877914c3
1_Pooling/config.json190 Ba37f83ada23e7887be6b88f4998927dbeac0038af301553c7cd5461413bf1a56
README.md3.53 KB2303a653cea6dcde1ac1eb752e9542da1e727b467dca98998625dd85e0a8c3df
config.json545 B46e1ce9b8b85ef9c80c99717181e48445dcaaf0f992025f4b61abbef4d95034a
config_sentence_transformers.json122 Bb8c64b5cece00d8424b4896ea75b512b6008576088497609dfeb6bd63e6d36b8
model.safetensors265 MB84ea1750cb91fa69cf4b97f93eade2d6f3dd969689fd531a3b2b8bf0def9e79a
modules.json229 B8f4b264b80206c830bebbdcae377e137925650a433b689343a63bdc9b3145460
onnx/model.onnx266 MB4ca002f496dc70366f9389e6bdfb1f9b7460886d53900d3b9d75ed7f35ee197d
onnx/model_O1.onnx266 MB3d8083e7e104e1057605ad9af678a3a5e1629bde5a865268e1e039b44c894573
onnx/model_O2.onnx265 MBfecadf8a22af9a6d72baa5e0d660173458569bfe43db219ad98851400c2bc910
onnx/model_O3.onnx265 MB0629a9917859830dd3241556ea22aa1789e92e89d2c663125749b4aab0ecd6ea
onnx/model_O4.onnx133 MB461dbafe6e81719a77b6d0f04e865f42903945e0c443e14e10d69eaf53d1b1c9
onnx/model_qint8_arm64.onnx67.0 MB010ce96816c7c8e8d5948dcf3d6469ab39e05ce10e159ba8c1636eb48685d547
onnx/model_qint8_avx512.onnx67.0 MB010ce96816c7c8e8d5948dcf3d6469ab39e05ce10e159ba8c1636eb48685d547
onnx/model_qint8_avx512_vnni.onnx67.0 MB010ce96816c7c8e8d5948dcf3d6469ab39e05ce10e159ba8c1636eb48685d547
onnx/model_quint8_avx2.onnx67.0 MB4f3324963bb69b123bce3f8ffb6097b0ee68c116223bb071aaf3f7ce8cb34fbd
openvino/openvino_model.bin265 MBf266a221c9a852ee7db7e3fcc8e2f9b2919d40ee7f418dc130b11fd2ad1cd035
openvino/openvino_model.xml218 KB6eb29eb1d9507f1ca7f1bdce3a522f9246465e49ffa3216c2143b08ce17dfed1
openvino/openvino_model_qint8_quantized.bin67.0 MB50fce660805c6f5a35688af1a9a552e4ed5f06113eb0a13d0d010a2d7611ddab
openvino/openvino_model_qint8_quantized.xml372 KBc38d1087c2c8d91997e1405e5c7c1dbc528ee70d1adbdb7776f16ba43fe38c66
pytorch_model.bin265 MB7bd45d9ca79b39816515bc315181aee89a158244523459f48413fcc7f33bc7ff
sentence_bert_config.json53 B5ebe3debdb20daab695087a3cc1d1d6dd84f1feb489e51efd3f9220101b5c83f
special_tokens_map.json112 B303df45a03609e4ead04bc3dc1536d0ab19b5358db685b6f3da123d05ec200e3
tf_model.h5266 MBae2f7c21ed034de57c7f4cc4ab29b8f7249330b88f82169677922b625b4b4011
tokenizer.json466 KB5fd1c882abbd30517dced455a2c9768945ec726b96727927e4959348d9de550b
tokenizer_config.json499 Bd8e581988328cfe7c5fa2930b57a45d74d9d30d6947efb270ed74377e85fdfa1
vocab.txt232 KB07eced375cec144d27c900241f3e339478dec958f92fddbc551f295c992038a3
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
18b4d6067a pinned now2026-11-15 03:40 UTC27 files · 2.59 GB

Use it

$ fw get sentence-transformers/msmarco-distilbert-base-v3
# manifest sha256 63c14fcbb016… · 2.59 GB · 27 files
$ fw verify ./msmarco-distilbert-base-v3 sentence-transformers/msmarco-distilbert-base-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-distilbert-base-v3.json --dir ./msmarco-distilbert-base-v3 $ python3 fw.py verify ./msmarco-distilbert-base-v3 ./sentence-transformers__msmarco-distilbert-base-v3.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download sentence-transformers/msmarco-distilbert-base-v3 --revision 18b4d6067a6ad5c5ca35be50f208fc848116d173 --local-dir ./msmarco-distilbert-base-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-distilbert-base-v3", revision="18b4d6067a6ad5c5ca35be50f208fc848116d173") model = AutoModel.from_pretrained("sentence-transformers/msmarco-distilbert-base-v3", revision="18b4d6067a6ad5c5ca35be50f208fc848116d173", 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-distilbert-base-v3", revision="18b4d6067a6ad5c5ca35be50f208fc848116d173") 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
2303a653cea6dcde1ac1eb752e9542da1e727b467dca98998625dd85e0a8c3df
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-distilbert-base-v3Date: 2026-11-15Commit: 18b4d60Signed: 2DC28CC7B26A283B ✓
Upstream
sentence-transformers/msmarco-distilbert-base-v3
Pinned commit
18b4d6067a6ad5c5ca35be50f208fc848116d173
Manifest
msmarco-distilbert-base-v3.json · .minisig
Manifest sha256
63c14fcbb016e7fb5b96a6f2673726c3c000825f31c9dd81000076de268e60dc
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:40 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/sentence-transformers/msmarco-distilbert-base-v3.json $ curl -O https://freeweights.allternit.com/manifests/sentence-transformers/msmarco-distilbert-base-v3.json.minisig $ minisign -Vm msmarco-distilbert-base-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-distilbert-base-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-distilbert-base-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