sentence-transformers_msmarco-distilbert-base-v4
sentence-transformers · View on Hugging Face ↗
Get this model
Seeders: 1 · Leechers: 0
Observed 2026-09-02T13:56:39Z via announce.aitorrent.org:7070.
Model card
The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.
license: apache-2.0 library_name: sentence-transformers tags:
- sentence-transformers
- feature-extraction
- sentence-similarity
- transformers pipeline_tag: sentence-similarity
sentence-transformers/msmarco-distilbert-base-v4
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-v4')
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-v4')
model = AutoModel.from_pretrained('sentence-transformers/msmarco-distilbert-base-v4')
# 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: 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",
}
Magnet link
Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:
magnet:?xt=urn:btih:19ebbc6e61caf4901d170ca36a90d4493b4de0a9&dn=sentence-transformers_msmarco-distilbert-base-v4Open magnet in torrent client · infohash 19ebbc6e61caf4901d170ca36a90d4493b4de0a9
Files & hashes
| Path | Size | sha1 | sha256 |
|---|---|---|---|
| 1_Pooling/config.json | 190 B (190 B) | 4e09f293dfe90bba49f87cfe7996271f07be2666 | a37f83ada23e7887be6b88f4998927dbeac0038af301553c7cd5461413bf1a56 |
| README.md | 3.4 KB (3,531 B) | bd83dfa3e63269eb613ed0851c83f4402d49526a | 245ff871f483b990112c34798f22e53aecc33d173dcc15753f61f5eb4f158ea6 |
| config.json | 545 B (545 B) | 7bf1867f40f2aff9706889c42e2836a8b01da59e | fc11aeb93f66e18a950c753b9b1d4dad0fa07a097dfa78b41ec264460dd84cb0 |
| config_sentence_transformers.json | 122 B (122 B) | b974b349cb2d419ada11181750a733ff82f291ad | b8c64b5cece00d8424b4896ea75b512b6008576088497609dfeb6bd63e6d36b8 |
| model.safetensors | 253.2 MB (265,462,608 B) | da6e06b0b57303eac8a0eac70015878bf180c31d | 3083803ab54614d7c0627b19aa2d7070cd4c49116dc8efd6fae3016526a10015 |
| modules.json | 229 B (229 B) | f7640f94e81bb7f4f04daf1668850b38763a13d9 | 8f4b264b80206c830bebbdcae377e137925650a433b689343a63bdc9b3145460 |
| openvino/openvino_model.bin | 253.2 MB (265,455,736 B) | bc55fbf0a541438fbd5ec3c4f81b5212c349c082 | 4271841e8ead8fd88038d2b09b385d4667fdf4b16dddc7cf696b94d54c727376 |
| openvino/openvino_model.xml | 212.5 KB (217,569 B) | 84398df56c882b6afd2b60b925228ad01b55dccc | cd7a273b026ba3774e350b5baa1ac6bb64a5fddbbecb4b2292ff6611b0c4fd7c |
| openvino/openvino_model_qint8_quantized.bin | 63.9 MB (66,970,752 B) | 49d23824dd24348d8f75ce377dc8aa7b93482720 | 63a55cf1b99738b6f6452bb146d30b20bead1d78a9eb91f2f9fc6456868f80db |
| openvino/openvino_model_qint8_quantized.xml | 363.6 KB (372,334 B) | b36ae98aa082ad822103727a14c2aa0d469dcedf | de587a95d58c5fa68b6b1bf5db7903cdcf8cb1ca6d6c5e7ca021e9b66f4e72ba |
| pytorch_model.bin | 253.2 MB (265,486,777 B) | 40fcb8c6ceb2ff69b64b10a07b9da823282140cb | e195dbed3e6acc34edb29780c48382b6984f258bcd964a0c4d1a042899023b55 |
| sentence_bert_config.json | 53 B (53 B) | f789d99277496b282d19020415c5ba9ca79ac875 | ec8e29d6dcb61b611b7d3fdd2982c4524e6ad985959fa7194eacfb655a8d0d51 |
| special_tokens_map.json | 112 B (112 B) | e7b0375001f109a6b8873d756ad4f7bbb15fbaa5 | 303df45a03609e4ead04bc3dc1536d0ab19b5358db685b6f3da123d05ec200e3 |
| tokenizer.json | 455.3 KB (466,248 B) | 99c7583f907b20c904849ca39b8e8ef4593ef974 | 081419d86d3f6843c68074f7eefb82c9810048b9ddcf831b400a532bf9797f95 |
| tokenizer_config.json | 319 B (319 B) | 6d19ade6388002333425aa3fc25a6eef41ba9b72 | 60435b08e2e03c13a5a3080a3141a74a27d80f626a74d20ebad970f12fd53e10 |
| vocab.txt | 226.1 KB (231,508 B) | fb140275c155a9c7c5a3b3e0e77a9e839594a938 | 07eced375cec144d27c900241f3e339478dec958f92fddbc551f295c992038a3 |
Cite this release
- Canonical URL
- https://aiseedbank.org/models/sentence-transformers_msmarco-distilbert-base-v4/
- Slug
- sentence-transformers_msmarco-distilbert-base-v4
- Infohash
- 19ebbc6e61caf4901d170ca36a90d4493b4de0a9
- License
- apache-2.0
- Signing key fingerprint
- 85a3b32c3712427b
Every file carries a locally computed sha256 — verify a download against the signed sums: sentence-transformers_msmarco-distilbert-base-v4.SHA256SUMS (+ minisign signature).
Provenance
| Upstream repository | sentence-transformers/msmarco-distilbert-base-v4 |
|---|---|
| Revision (pinned) | b2f66c95aba1481a880479165582020c2b9b64d7 |
| Fetched at | 2026-09-02T04:43:29Z |
| License at fetch | apache-2.0 |
| Snapshot tool | huggingface · seedbank 0.1.0 |
Trackers
- udp://announce.aitorrent.org:6969/announce
- http://announce.aitorrent.org:7070/announce
- udp://announce2.aitorrent.org:6970/announce
- http://announce2.aitorrent.org:7071/announce
- udp://tracker.opentrackr.org:1337/announce
- udp://open.demonii.com:1337/announce
- udp://open.stealth.si:80/announce
- udp://exodus.desync.com:6969/announce
- udp://tracker.torrent.eu.org:451/announce
✓ verified · rehash-vs-hf-metadata at 2026-09-02T04:43:39Z
apache-2.0824.6 MB (864,668,633 bytes)sentence-transformerspytorchonnxsafetensorsopenvinodistilbertfeature-extractionsentence-similaritytransformerstext-embeddings-inferenceendpoints_compatible1 language (tf)paper: 1908.10084