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

← All models

sdadas_st-polish-paraphrase-from-mpnet

sdadas · 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.


pipeline_tag: sentence-similarity tags:

  • sentence-transformers
  • feature-extraction
  • sentence-similarity
  • transformers license: lgpl language:
  • pl

sdadas/st-polish-paraphrase-from-mpnet

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('sdadas/st-polish-paraphrase-from-mpnet')
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('sdadas/st-polish-paraphrase-from-mpnet')
model = AutoModel.from_pretrained('sdadas/st-polish-paraphrase-from-mpnet')

# 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, mean pooling.
sentence_embeddings = mean_pooling(model_output, encoded_input['attention_mask'])

print("Sentence embeddings:")
print(sentence_embeddings)

Evaluation Results

For an automated evaluation of this model, see the Sentence Embeddings Benchmark: https://seb.sbert.net

Full Model Architecture

SentenceTransformer(
  (0): Transformer({'max_seq_length': 512, 'do_lower_case': False}) with Transformer model: RobertaModel 
  (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

Magnet link

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

magnet:?xt=urn:btih:ad01dc5d3942a9e1ad4ed00c89a33bc518c929cb&dn=sdadas_st-polish-paraphrase-from-mpnet

Open magnet in torrent client · infohash ad01dc5d3942a9e1ad4ed00c89a33bc518c929cb

Files & hashes

PathSizesha1sha256
1_Pooling/config.json190 B (190 B)4e09f293dfe90bba49f87cfe7996271f07be2666a37f83ada23e7887be6b88f4998927dbeac0038af301553c7cd5461413bf1a56
README.md3.0 KB (3,122 B)42ea50a0cba308694b5548380c7374a4bc2f73e4aa50ff8167af5e7c2e32791b36adb7c6dd77bcd6167013e6853e81551ca507b5
config.json735 B (735 B)eddd7cd9324509b985a0568c2ca97585019fc8789af330602101dc3c2b95192c64944e33d2d7669af415364e1e591c8d70112c4c
config_sentence_transformers.json128 B (128 B)3487318185a629d64104bcba99e8ca9242cf07009e6bdf95f6d1faaa436c2439b412153bfb36e4e225dbc2e10aa40a2010db0218
model.safetensors474.7 MB (497,798,096 B)346aee74cb65fa24d52ef7017f9c32b01939836cdc4aba25f26441c4a774b7ae869f945473d49f972cf3f1d22c4c5732be706de8
modules.json229 B (229 B)f7640f94e81bb7f4f04daf1668850b38763a13d98f4b264b80206c830bebbdcae377e137925650a433b689343a63bdc9b3145460
pytorch_model.bin474.8 MB (497,838,193 B)f908baf32289804e7b7e9f59414ad1ecdac4749dc451a47b6486402816a00faf791274d8c8b44c211f69c430682154a09a325b72
sentence_bert_config.json53 B (53 B)f789d99277496b282d19020415c5ba9ca79ac875ec8e29d6dcb61b611b7d3fdd2982c4524e6ad985959fa7194eacfb655a8d0d51
special_tokens_map.json280 B (280 B)d5698132694f4f1bcff08fa7d937b1701812598e06e405a36dfe4b9604f484f6a1e619af1a7f7d09e34a8555eb0b77b66318067f
tokenizer.json3.2 MB (3,355,789 B)fa00b2edb71d6df34cf277c9cf0c450c5a50c34dc3b158a9b77c286c6a9257b9d7a9c309d0e459bff96696d5d6552aa2918040a2
tokenizer_config.json385 B (385 B)6f18fd03b1c3fd89d4f7504bd9b10764bf94bc41cccbf9511ba33d2657acc7d265ffbbe973f57e2246db7a513499de585d7ec4b9
unigram.json2.8 MB (2,953,953 B)68b339e860ba7c32be3ec2609d70908965dfa7bae32b6b19c0ff75f79e07faa11e71b3c47fb2984370ef054bf5cb42f79f79d1ba

Cite this release

Canonical URL
https://aiseedbank.org/models/sdadas_st-polish-paraphrase-from-mpnet/
Slug
sdadas_st-polish-paraphrase-from-mpnet
Infohash
ad01dc5d3942a9e1ad4ed00c89a33bc518c929cb
License
lgpl
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: sdadas_st-polish-paraphrase-from-mpnet.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositorysdadas/st-polish-paraphrase-from-mpnet
Revision (pinned)a95278b3ff89bcd4887875d01191079cba9d2c36
Fetched at2026-09-04T05:34:11Z
License at fetchlgpl
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-04T05:34:22Z

lgpl955.5 MB (1,001,951,153 bytes)sentence-transformerspytorchsafetensorsrobertafeature-extractionsentence-similaritytransformerstext-embeddings-inferenceendpoints_compatible1 language (pl)