sentence-transformers_bert-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: sentence-similarity
⚠️ 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/bert-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/bert-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/bert-base-nli-mean-tokens')
model = AutoModel.from_pretrained('sentence-transformers/bert-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: BertModel
(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:7771ce506ae08e0378397dd0bf6a1c7ac732e1c0&dn=sentence-transformers_bert-base-nli-mean-tokensOpen magnet in torrent client · infohash 7771ce506ae08e0378397dd0bf6a1c7ac732e1c0
Files & hashes
| Path | Size | sha1 | sha256 |
|---|---|---|---|
| 1_Pooling/config.json | 190 B (190 B) | 4e09f293dfe90bba49f87cfe7996271f07be2666 | a37f83ada23e7887be6b88f4998927dbeac0038af301553c7cd5461413bf1a56 |
| README.md | 3.7 KB (3,769 B) | 03c2e9cabe8d88ab6be475612ef66de007fcabef | 19ec5a5c1f7d329dd1ebf63a6c3f6c7a45dcc0243ffc041a41bf763ad5e2c460 |
| added_tokens.json | 2 B (2 B) | 9e26dfeeb6e641a33dae4961196235bdb965b21b | 44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a |
| config.json | 625 B (625 B) | 6a81675daa01eab727156f24147a0ad9eee1adb2 | fe62cd914d3adba796d775d9da5346b4494b9208c155d3a29cccdd40714a161b |
| config_sentence_transformers.json | 122 B (122 B) | b974b349cb2d419ada11181750a733ff82f291ad | b8c64b5cece00d8424b4896ea75b512b6008576088497609dfeb6bd63e6d36b8 |
| model.safetensors | 417.7 MB (437,955,512 B) | 4320e5c0df40b34287a271af707736619a836663 | 9510000ec322a40d6cbf5dcfcc81de3630e8fc31a3bab27736b0464a17f10980 |
| modules.json | 229 B (229 B) | f7640f94e81bb7f4f04daf1668850b38763a13d9 | 8f4b264b80206c830bebbdcae377e137925650a433b689343a63bdc9b3145460 |
| openvino/openvino_model.bin | 415.4 MB (435,570,832 B) | acd439448831ad89d5ee333c30223c8b66d0047a | 509b20ad83bafdde24a5506dfe66b5710d3696ff16928c4f326a9c3a9746820e |
| openvino/openvino_model.xml | 389.1 KB (398,466 B) | 69c33840dbd30856ac3a78807b90fb6b867662a2 | 67e4fec7343825f16959ec3dd15897ec382b783fea7090f8adb6e3f1ae1782ee |
| openvino/openvino_model_qint8_quantized.bin | 104.9 MB (109,974,464 B) | a1ca63515684daee24a03a482cff78dd6f1d17f6 | 1855d96f327495e3afcc9aec4c9b5e8676659b8abd15f1ecacd231d08def6b07 |
| openvino/openvino_model_qint8_quantized.xml | 691.7 KB (708,258 B) | 81255db2fdb5617a3b13cff3a237dc5f4c7fcbb5 | ec768870c4a7d95ccafb95b64c2ff587e5d2a659eddf3b4492002972ac8fe1b3 |
| pytorch_model.bin | 417.7 MB (438,007,537 B) | d55218523deaa0cb0c0f6814f45e91a5325b9c16 | 47a5ed8c3b0ea722db61d4db2b3caaec3f751e72e0ebddf39f59a3c8d9784385 |
| rust_model.ot | 417.7 MB (437,993,075 B) | 4399f142bd7853b2291368c746dde42fa0566edc | f08864514480addb3d8eada097a28ba68c4888607c7a1649431b9ea25c9641a9 |
| 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 | 399 B (399 B) | a06c898fb005a633242b96576f356930c895d119 | 421627200e519e8a9152093ca294aee875f13f5ed5d892579a643e2868e4e40a |
| vocab.txt | 226.1 KB (231,508 B) | fb140275c155a9c7c5a3b3e0e77a9e839594a938 | 07eced375cec144d27c900241f3e339478dec958f92fddbc551f295c992038a3 |
Cite this release
- Canonical URL
- https://aiseedbank.org/models/sentence-transformers_bert-base-nli-mean-tokens/
- Slug
- sentence-transformers_bert-base-nli-mean-tokens
- Infohash
- 7771ce506ae08e0378397dd0bf6a1c7ac732e1c0
- License
- apache-2.0
- Signing key fingerprint
- 85a3b32c3712427b
Every file carries a locally computed sha256 — verify a download against the signed sums: sentence-transformers_bert-base-nli-mean-tokens.SHA256SUMS (+ minisign signature).
Provenance
| Upstream repository | sentence-transformers/bert-base-nli-mean-tokens |
|---|---|
| Revision (pinned) | 160a52b38a51ae87295ec3eabcf11755e5d27a8d |
| Fetched at | 2026-09-02T04:41:23Z |
| 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:41:43Z
apache-2.01.73 GB (1,861,311,234 bytes)sentence-transformerspytorchjaxrustonnxsafetensorsopenvinobertfeature-extractionsentence-similaritytransformerstext-embeddings-inferenceendpoints_compatible1 language (tf)paper: 1908.10084