sentence-transformers_distilbert-base-nli-mean-tokens
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: feature-extraction
⚠️ This model is deprecated. Please don't use it as it produces sentence embeddings of low quality. You can find recommended sentence embedding models here: SBERT.net - Pretrained Models
sentence-transformers/distilbert-base-nli-mean-tokens
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/distilbert-base-nli-mean-tokens')
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/distilbert-base-nli-mean-tokens')
model = AutoModel.from_pretrained('sentence-transformers/distilbert-base-nli-mean-tokens')
# 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: 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:7fced133eb24ee5a6bbbff44dce45365cd5392c5&dn=sentence-transformers_distilbert-base-nli-mean-tokensOpen magnet in torrent client · infohash 7fced133eb24ee5a6bbbff44dce45365cd5392c5
Files & hashes
| Path | Size | sha1 | sha256 |
|---|---|---|---|
| 1_Pooling/config.json | 190 B (190 B) | 4e09f293dfe90bba49f87cfe7996271f07be2666 | a37f83ada23e7887be6b88f4998927dbeac0038af301553c7cd5461413bf1a56 |
| README.md | 3.7 KB (3,800 B) | a6cf78df5829717be9e8e1f6c17d1d5a030cec1d | 803d2be89c44c9484e6bc5234f6a0e31be42558e81eeeb571bd06ddc99eeb0c7 |
| config.json | 550 B (550 B) | e6268961aa07e5315a77000a6f1f7a45f34ab6eb | 4b1d4534ba86169d4b6a01ff02f11f930ae5834cd250bcb2a4c178dba2e948e6 |
| config_sentence_transformers.json | 122 B (122 B) | b974b349cb2d419ada11181750a733ff82f291ad | b8c64b5cece00d8424b4896ea75b512b6008576088497609dfeb6bd63e6d36b8 |
| model.safetensors | 253.2 MB (265,462,608 B) | 8c4c86c6602d24764d3f3f865fd3cb0a56706089 | 3d58b7cb2697fad5b606046557e98380a868824a4d8a508bd04e97b2fb1559b8 |
| modules.json | 229 B (229 B) | f7640f94e81bb7f4f04daf1668850b38763a13d9 | 8f4b264b80206c830bebbdcae377e137925650a433b689343a63bdc9b3145460 |
| openvino/openvino_model.bin | 253.2 MB (265,455,736 B) | 045175e29e9d7c5c81cf1d6ddb29d9ad05928e1d | e39054817911955484ff883fec5046e874c43105638b82ff49336e8b03d1902f |
| openvino/openvino_model.xml | 212.4 KB (217,458 B) | b602850f4166e9d734a377e6ea34e50c58d02464 | c1c8932a11d60875e32e72d6a3cc2530967f0a99924751c1786db972d5f86d05 |
| openvino/openvino_model_qint8_quantized.bin | 63.9 MB (66,970,752 B) | c5ccf58e30f030dbbb4f3fc3b825d209f1c0a16e | edf89be8db7006a9fb45d286e183c567ab5bb8ead854d1da479e585808707596 |
| openvino/openvino_model_qint8_quantized.xml | 363.5 KB (372,223 B) | 5cb9fa7add39cc75f41125e6653d98ace869b326 | 698f41e7be8f3cc17cf42678ed0e28891c7c114bc74ccbfb0d925650a3bf52f1 |
| pytorch_model.bin | 253.2 MB (265,486,777 B) | 3e20d7757cfa891e70aae81736bbccd0b7b9a3a0 | 5d4551851fc88a3b212a38316b255c3c160b768c167a982e9570fd2e482fe10e |
| sentence_bert_config.json | 53 B (53 B) | 5fd10429389515d3e5cccdeda08cae5fea1ae82e | 70f4448f31320443fe3557cacea5abf2dcc4915dda8c80646bec9f3bb0aa5a1f |
| special_tokens_map.json | 112 B (112 B) | e7b0375001f109a6b8873d756ad4f7bbb15fbaa5 | 303df45a03609e4ead04bc3dc1536d0ab19b5358db685b6f3da123d05ec200e3 |
| tokenizer.json | 455.2 KB (466,081 B) | 40c4a0f6c414c8218190234bbce9bf4cc04fa3ac | 5fd1c882abbd30517dced455a2c9768945ec726b96727927e4959348d9de550b |
| tokenizer_config.json | 450 B (450 B) | 51d7e16c00984f649bd3fb82dafc438ef7251ffb | 6fab0c4cf48ec08ef47ef64db73ef6ccf05f868f69355098427ff86de0074910 |
| vocab.txt | 226.1 KB (231,508 B) | fb140275c155a9c7c5a3b3e0e77a9e839594a938 | 07eced375cec144d27c900241f3e339478dec958f92fddbc551f295c992038a3 |
Cite this release
- Canonical URL
- https://aiseedbank.org/models/sentence-transformers_distilbert-base-nli-mean-tokens/
- Slug
- sentence-transformers_distilbert-base-nli-mean-tokens
- Infohash
- 7fced133eb24ee5a6bbbff44dce45365cd5392c5
- License
- apache-2.0
- Signing key fingerprint
- 85a3b32c3712427b
Every file carries a locally computed sha256 — verify a download against the signed sums: sentence-transformers_distilbert-base-nli-mean-tokens.SHA256SUMS (+ minisign signature).
Provenance
| Upstream repository | sentence-transformers/distilbert-base-nli-mean-tokens |
|---|---|
| Revision (pinned) | b404353e5a0ef9cdf6a4500baa81aaec875d4db0 |
| Fetched at | 2026-09-02T04:42:02Z |
| 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:42:12Z
apache-2.0824.6 MB (864,668,649 bytes)sentence-transformerspytorchonnxsafetensorsopenvinodistilbertfeature-extractionsentence-similaritytransformerstext-embeddings-inferenceendpoints_compatible1 language (tf)paper: 1908.10084