AI SeedbankHelp preserve open and free AI for humanity's future

← All models

sentence-transformers_msmarco-distilbert-base-tas-b

sentence-transformers · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

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.


language: en license: apache-2.0 library_name: sentence-transformers tags:

  • sentence-transformers
  • feature-extraction
  • sentence-similarity
  • transformers datasets:
  • ms_marco pipeline_tag: sentence-similarity

sentence-transformers/msmarco-distilbert-base-tas-b

This is a port of the DistilBert TAS-B Model to sentence-transformers model: It maps sentences & paragraphs to a 768 dimensional dense vector space and is optimized for the task of 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, util

query = "How many people live in London?"
docs = ["Around 9 Million people live in London", "London is known for its financial district"]

#Load the model
model = SentenceTransformer('sentence-transformers/msmarco-distilbert-base-tas-b')

#Encode query and documents
query_emb = model.encode(query)
doc_emb = model.encode(docs)

#Compute dot score between query and all document embeddings
scores = util.dot_score(query_emb, doc_emb)[0].cpu().tolist()

#Combine docs & scores
doc_score_pairs = list(zip(docs, scores))

#Sort by decreasing score
doc_score_pairs = sorted(doc_score_pairs, key=lambda x: x[1], reverse=True)

#Output passages & scores
for doc, score in doc_score_pairs:
    print(score, doc)

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

#CLS Pooling - Take output from first token
def cls_pooling(model_output):
    return model_output.last_hidden_state[:,0]

#Encode text
def encode(texts):
    # Tokenize sentences
    encoded_input = tokenizer(texts, padding=True, truncation=True, return_tensors='pt')

    # Compute token embeddings
    with torch.no_grad():
        model_output = model(**encoded_input, return_dict=True)

    # Perform pooling
    embeddings = cls_pooling(model_output)

    return embeddings


# Sentences we want sentence embeddings for
query = "How many people live in London?"
docs = ["Around 9 Million people live in London", "London is known for its financial district"]

# Load model from HuggingFace Hub
tokenizer = AutoTokenizer.from_pretrained("sentence-transformers/msmarco-distilbert-base-tas-b")
model = AutoModel.from_pretrained("sentence-transformers/msmarco-distilbert-base-tas-b")

#Encode query and docs
query_emb = encode(query)
doc_emb = encode(docs)

#Compute dot score between query and all document embeddings
scores = torch.mm(query_emb, doc_emb.transpose(0, 1))[0].cpu().tolist()

#Combine docs & scores
doc_score_pairs = list(zip(docs, scores))

#Sort by decreasing score
doc_score_pairs = sorted(doc_score_pairs, key=lambda x: x[1], reverse=True)

#Output passages & scores
for doc, score in doc_score_pairs:
    print(score, doc)

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': True, 'pooling_mode_mean_tokens': False, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False})
)

Citing & Authors

Have a look at: DistilBert TAS-B Model

Magnet link

Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:

magnet:?xt=urn:btih:7c73dcc403da7edbed788f81e61c010d84ec5cbc&dn=sentence-transformers_msmarco-distilbert-base-tas-b

Open magnet in torrent client · infohash 7c73dcc403da7edbed788f81e61c010d84ec5cbc

Files & hashes

PathSizesha1sha256
1_Pooling/config.json190 B (190 B)da5bfd57e34ca45582e4bdbaa3e6deb9efffa08dc9bef85e8bbf4b2eab4941b3fb62bd33f88686748b478f2e264d256472d9643b
README.md3.7 KB (3,800 B)0d3b3ccfa380645a59032d17a6c892ba05036db06d9e22e0432e7d79553ddc68da0e6dfe50eb01e3276011c274241636a76a87cf
config.json548 B (548 B)2a87b6d6f77ebd753b9c52746a38cdef645701e3d410f2b99ddbbaf510b794df3720ce1bfd39f2a8fd0253870b4d14b2e7085924
config_sentence_transformers.json122 B (122 B)b974b349cb2d419ada11181750a733ff82f291adb8c64b5cece00d8424b4896ea75b512b6008576088497609dfeb6bd63e6d36b8
model.safetensors253.2 MB (265,462,608 B)d2533e31a5a12d84dd3e75f1e7123bcf5a82dd112c01ce345cedea6d10c7fb148658a2bf51aa580b79655106fbc377417b421efa
modules.json229 B (229 B)f7640f94e81bb7f4f04daf1668850b38763a13d98f4b264b80206c830bebbdcae377e137925650a433b689343a63bdc9b3145460
openvino/openvino_model.bin253.2 MB (265,455,736 B)5ea25e3b8ba2b1d548d2533bbbce3aa0771db97c8bb78a799eac581cc1fbaf07b9ba23170c5c478a9324b05e7395bf460e98b3a7
openvino/openvino_model.xml212.5 KB (217,570 B)fc209197e4e1d168d991aa5ee3009c8d1cd2eb56827c700f133d2862ffe0b57b497167504119e985d79d0e8a2d3ef5239a1afffc
openvino/openvino_model_qint8_quantized.bin63.9 MB (66,970,752 B)e4ac710b31f7adcdcd921a4de652205f9fc2915be3d034b860bbba729ac52aa073d0ff357c6667c01dd130a0167aa33709a828ce
openvino/openvino_model_qint8_quantized.xml363.6 KB (372,335 B)d01ce6bf265217d5f839aac355b80204c9f4d6a1812d8a635b7e4078c5f43541460adef49680c48db211aaa60570998d837704ae
pytorch_model.bin253.2 MB (265,486,777 B)a0c3836c44e1bee4397f97e295f205c97dc4436e069584b7fd2d6dcefb5d97b9aa682332430e311921ef9f928cb61f63a44a267e
sentence_bert_config.json53 B (53 B)f789d99277496b282d19020415c5ba9ca79ac875ec8e29d6dcb61b611b7d3fdd2982c4524e6ad985959fa7194eacfb655a8d0d51
special_tokens_map.json112 B (112 B)e7b0375001f109a6b8873d756ad4f7bbb15fbaa5303df45a03609e4ead04bc3dc1536d0ab19b5358db685b6f3da123d05ec200e3
tokenizer.json455.2 KB (466,081 B)40c4a0f6c414c8218190234bbce9bf4cc04fa3ac5fd1c882abbd30517dced455a2c9768945ec726b96727927e4959348d9de550b
tokenizer_config.json547 B (547 B)0ee62a214c1dc054319327b7b588d19436847ad63f81348c12f3a5c589d3588cc0f39d4c148bd59dbdd6e6592de23b78015661ff
vocab.txt226.1 KB (231,508 B)fb140275c155a9c7c5a3b3e0e77a9e839594a93807eced375cec144d27c900241f3e339478dec958f92fddbc551f295c992038a3

Cite this release

Canonical URL
https://aiseedbank.org/models/sentence-transformers_msmarco-distilbert-base-tas-b/
Slug
sentence-transformers_msmarco-distilbert-base-tas-b
Infohash
7c73dcc403da7edbed788f81e61c010d84ec5cbc
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-tas-b.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositorysentence-transformers/msmarco-distilbert-base-tas-b
Revision (pinned)b12d9352e776979147078a8975a4885042984fd1
Fetched at2026-09-02T04:43:18Z
License at fetchapache-2.0
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-02T04:43:29Z

apache-2.0824.6 MB (864,668,968 bytes)sentence-transformerspytorchonnxsafetensorsopenvinodistilbertfeature-extractionsentence-similaritytransformerstext-embeddings-inferenceendpoints_compatible2 languages (tf, en)