sdadas / stella-pl

huggingface.co
Total runs: 503
24-hour runs: 0
7-day runs: -26
30-day runs: -17
Model's Last Updated: 1月 30 2026
sentence-similarity

Introduction of stella-pl

Model Details of stella-pl

Stella-PL

This is a bilingual Polish-English text encoder based on stella_en_1.5B_v5 . We adapted the model for Polish with multilingual knowledge distillation method using a diverse corpus of 20 million Polish-English text pairs. It transforms texts to 1024 dimensional vectors. For English texts, the produced embeddings should be similar to the original Stella model. The encoder can be used to compare embeddings in the same language (Polish or English), as well as across languages.

Usage (Sentence-Transformers)

The model utilizes the same prompts as the original stella_en_1.5B_v5 .

For retrieval, queries should be prefixed with "Instruct: Given a web search query, retrieve relevant passages that answer the query.\nQuery: " .

For symmetric tasks such as semantic similarity, both texts should be prefixed with "Instruct: Retrieve semantically similar text.\nQuery: " .

Please note that the model uses a custom implementation, so you should add trust_remote_code=True argument when loading it. It is also recommended to use Flash Attention 2, which can be enabled with attn_implementation argument. You can use the model like this with sentence-transformers :

from sentence_transformers import SentenceTransformer
from sentence_transformers.util import cos_sim

model = SentenceTransformer(
    "sdadas/stella-pl",
    trust_remote_code=True,
    device="cuda",
    model_kwargs={"attn_implementation": "flash_attention_2", "trust_remote_code": True}
)
model.bfloat16()

# Retrieval example
query_prefix = "Instruct: Given a web search query, retrieve relevant passages that answer the query.\nQuery: "
queries = [query_prefix + "Jak dożyć 100 lat?"]
answers = [
    "Trzeba zdrowo się odżywiać i uprawiać sport.",
    "Trzeba pić alkohol, imprezować i jeździć szybkimi autami.",
    "Gdy trwała kampania politycy zapewniali, że rozprawią się z zakazem niedzielnego handlu."
]
queries_emb = model.encode(queries, convert_to_tensor=True, show_progress_bar=False)
answers_emb = model.encode(answers, convert_to_tensor=True, show_progress_bar=False)
best_answer = cos_sim(queries_emb, answers_emb).argmax().item()
print(answers[best_answer])

# Semantic similarity example
sim_prefix = "Instruct: Retrieve semantically similar text.\nQuery: "
sentences = [
    sim_prefix + "Trzeba zdrowo się odżywiać i uprawiać sport.",
    sim_prefix + "Warto jest prowadzić zdrowy tryb życia, uwzględniający aktywność fizyczną i dietę.",
    sim_prefix + "One should eat healthy and engage in sports.",
    sim_prefix + "Zakupy potwierdzasz PINem, który bezpiecznie ustalisz podczas aktywacji."
]
emb = model.encode(sentences, convert_to_tensor=True, show_progress_bar=False)
print(cos_sim(emb, emb))
Evaluation Results

The model achieves NDCG@10 of 60.52 on the Polish Information Retrieval Benchmark. See PIRB Leaderboard for detailed results.

Citation
@article{dadas2024pirb,
  title={{PIRB}: A Comprehensive Benchmark of Polish Dense and Hybrid Text Retrieval Methods}, 
  author={Sławomir Dadas and Michał Perełkiewicz and Rafał Poświata},
  year={2024},
  eprint={2402.13350},
  archivePrefix={arXiv},
  primaryClass={cs.CL}
}

Runs of sdadas stella-pl on huggingface.co

503
Total runs
0
24-hour runs
0
3-day runs
-26
7-day runs
-17
30-day runs

More Information About stella-pl huggingface.co Model

More stella-pl license Visit here:

https://choosealicense.com/licenses/mit

stella-pl huggingface.co

stella-pl huggingface.co is an AI model on huggingface.co that provides stella-pl's model effect (), which can be used instantly with this sdadas stella-pl model. huggingface.co supports a free trial of the stella-pl model, and also provides paid use of the stella-pl. Support call stella-pl model through api, including Node.js, Python, http.

stella-pl huggingface.co Url

https://huggingface.co/sdadas/stella-pl

sdadas stella-pl online free

stella-pl huggingface.co is an online trial and call api platform, which integrates stella-pl's modeling effects, including api services, and provides a free online trial of stella-pl, you can try stella-pl online for free by clicking the link below.

sdadas stella-pl online free url in huggingface.co:

https://huggingface.co/sdadas/stella-pl

stella-pl install

stella-pl is an open source model from GitHub that offers a free installation service, and any user can find stella-pl on GitHub to install. At the same time, huggingface.co provides the effect of stella-pl install, users can directly use stella-pl installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

stella-pl install url in huggingface.co:

https://huggingface.co/sdadas/stella-pl

Url of stella-pl

stella-pl huggingface.co Url

Provider of stella-pl huggingface.co

sdadas
ORGANIZATIONS

Other API from sdadas

huggingface.co

Total runs: 529
Run Growth: 204
Growth Rate: 38.56%
Updated:2月 12 2026
huggingface.co

Total runs: 475
Run Growth: 119
Growth Rate: 25.05%
Updated:1月 28 2026
huggingface.co

Total runs: 434
Run Growth: 267
Growth Rate: 61.52%
Updated:2月 12 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:3月 29 2026