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

← All models

sentence-transformers_paraphrase-MiniLM-L6-v2

sentence-transformers · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: · Leechers:

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/paraphrase-MiniLM-L6-v2

This is a sentence-transformers model: It maps sentences & paragraphs to a 384 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/paraphrase-MiniLM-L6-v2')
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/paraphrase-MiniLM-L6-v2')
model = AutoModel.from_pretrained('sentence-transformers/paraphrase-MiniLM-L6-v2')

# 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': 384, '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:95a7a92e34025a128f4b8496c3062049afbce13f&dn=sentence-transformers_paraphrase-MiniLM-L6-v2

Open magnet in torrent client · infohash 95a7a92e34025a128f4b8496c3062049afbce13f

Files & hashes

PathSizesha1sha256
1_Pooling/config.json190 B (190 B)d1514c3162bbe87b343f565fadc62e6c06f04f034be450dde3b0273bb9787637cfbd28fe04a7ba6ab9d36ac48e92b11e350ffc23
README.md3.4 KB (3,513 B)152b56c8ff5229192e0b1f405f5bf076998547388de1a9ab4f83f29f1ea01d12b4e1c03d18781d3c0fabbd4044c01bd67dd40f78
config.json629 B (629 B)d931afc983d9be7f3ca1d98032eadd4dd2ac7d69aed58fca2ba858ac31c042053f99deff1717ca0e7430335d316d58b2d13a046b
config_sentence_transformers.json122 B (122 B)b974b349cb2d419ada11181750a733ff82f291adb8c64b5cece00d8424b4896ea75b512b6008576088497609dfeb6bd63e6d36b8
model.safetensors86.7 MB (90,868,373 B)99b95d0c1ae5ea47ee5a7259119231697a032eb42ce4480dc3b2f8edeee50c43765c72768e79fc0113d3f73773dded4887cca298
modules.json229 B (229 B)f7640f94e81bb7f4f04daf1668850b38763a13d98f4b264b80206c830bebbdcae377e137925650a433b689343a63bdc9b3145460
openvino/openvino_model.bin86.1 MB (90,265,744 B)d56d2fdbf7ceade4bbfca27eabcd29ed74d420bac6005063ac5c88df685065089e887719f43956959a2080c7b9467bc17924645d
openvino/openvino_model.xml206.4 KB (211,315 B)5d24a16700f0198908929370f59330fb8d486b1bf87dd1482b2a745f8c699b81ddd9cbcad666a193be4693abcea44b7ac8c67c1e
openvino/openvino_model_qint8_quantized.bin21.9 MB (22,933,664 B)5e3e95c60a01b5cf60c83c42ec64355a9133d542f036c75118e1df8040b4be3d5b7589ae1f1bb0c1f0f5d666b9bd317a2c8014d5
openvino/openvino_model_qint8_quantized.xml359.6 KB (368,240 B)9de696ec7aae6f98ae2587668614dabf1998c6ae778fdc97d3a8c63275093ec687f7891b95a43f326bdcedb5183c88f669fa2814
pytorch_model.bin86.7 MB (90,895,153 B)e88bbbdfce89f666571d95c828923a13ef975ec35d716de760acbdc09e79a11e718c5606e0812b6aeb76c6664cba876d174e3ecd
sentence_bert_config.json53 B (53 B)5fd10429389515d3e5cccdeda08cae5fea1ae82e70f4448f31320443fe3557cacea5abf2dcc4915dda8c80646bec9f3bb0aa5a1f
special_tokens_map.json112 B (112 B)e7b0375001f109a6b8873d756ad4f7bbb15fbaa5303df45a03609e4ead04bc3dc1536d0ab19b5358db685b6f3da123d05ec200e3
tokenizer.json455.2 KB (466,081 B)40c4a0f6c414c8218190234bbce9bf4cc04fa3ac5fd1c882abbd30517dced455a2c9768945ec726b96727927e4959348d9de550b
tokenizer_config.json314 B (314 B)7410db66f06de178beeadfdd11b1fc241b04f68365f933db3e0493bcde9a4e1b8fd5ee13f18d2f8ac62db911a1be51b7fd64ffb0
vocab.txt226.1 KB (231,508 B)fb140275c155a9c7c5a3b3e0e77a9e839594a93807eced375cec144d27c900241f3e339478dec958f92fddbc551f295c992038a3

Cite this release

Canonical URL
https://aiseedbank.org/models/sentence-transformers_paraphrase-MiniLM-L6-v2/
Slug
sentence-transformers_paraphrase-MiniLM-L6-v2
Infohash
95a7a92e34025a128f4b8496c3062049afbce13f
License
apache-2.0
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: sentence-transformers_paraphrase-MiniLM-L6-v2.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositorysentence-transformers/paraphrase-MiniLM-L6-v2
Revision (pinned)c9a2bfebc254878aee8c3aca9e6844d5bbb102d1
Fetched at2026-09-04T05:38:16Z
License at fetchapache-2.0
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-04T05:38:21Z

apache-2.0282.5 MB (296,245,240 bytes)sentence-transformerspytorchonnxsafetensorsopenvinobertfeature-extractionsentence-similaritytransformerstext-embeddings-inferenceendpoints_compatible1 language (tf)paper: 1908.10084