sdadas / polish-reranker-large-mse

huggingface.co
Total runs: 14
24-hour runs: 0
7-day runs: -4
30-day runs: 2
Model's Last Updated: January 28 2026
text-ranking

Introduction of polish-reranker-large-mse

Model Details of polish-reranker-large-mse

polish-reranker-large-mse

This is a Polish text ranking model trained using the mean squared error (MSE) distillation method on a large dataset of text pairs consisting of 1.4 million queries and 10 million documents. The training data included the following parts: 1) The Polish MS MARCO training split (800k queries); 2) The ELI5 dataset translated to Polish (over 500k queries); 3) A collection of Polish medical questions and answers (approximately 100k queries). As a teacher model, we employed unicamp-dl/mt5-13b-mmarco-100k , a large multilingual reranker based on the MT5-XXL architecture. As a student model, we choose Polish RoBERTa . In the MSE method, the student is trained to directly replicate the outputs returned by the teacher.

Usage (Sentence-Transformers)

You can use the model like this with sentence-transformers :

from sentence_transformers import CrossEncoder
import torch.nn

query = "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."
]

model = CrossEncoder(
    "sdadas/polish-reranker-large-mse",
    default_activation_function=torch.nn.Identity(),
    max_length=512,
    device="cuda" if torch.cuda.is_available() else "cpu"
)
pairs = [[query, answer] for answer in answers]
results = model.predict(pairs)
print(results.tolist())
Usage (Huggingface Transformers)

The model can also be used with Huggingface Transformers in the following way:

from transformers import AutoTokenizer, AutoModelForSequenceClassification
import numpy as np

query = "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."
]

model_name = "sdadas/polish-reranker-large-mse"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForSequenceClassification.from_pretrained(model_name)
texts = [f"{query}</s></s>{answer}" for answer in answers]
tokens = tokenizer(texts, padding="longest", max_length=512, truncation=True, return_tensors="pt")
output = model(**tokens)
results = output.logits.detach().numpy()
results = np.squeeze(results)
print(results.tolist())
Evaluation Results

The model achieves NDCG@10 of 60.27 in the Rerankers category of the Polish Information Retrieval Benchmark. See PIRB Leaderboard for detailed results.

Citation
@article{dadas2024assessing,
  title={Assessing generalization capability of text ranking models in Polish}, 
  author={Sławomir Dadas and Małgorzata Grębowiec},
  year={2024},
  eprint={2402.14318},
  archivePrefix={arXiv},
  primaryClass={cs.CL}
}

Runs of sdadas polish-reranker-large-mse on huggingface.co

14
Total runs
0
24-hour runs
-1
3-day runs
-4
7-day runs
2
30-day runs

More Information About polish-reranker-large-mse huggingface.co Model

More polish-reranker-large-mse license Visit here:

https://choosealicense.com/licenses/apache-2.0

polish-reranker-large-mse huggingface.co

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

polish-reranker-large-mse huggingface.co Url

https://huggingface.co/sdadas/polish-reranker-large-mse

sdadas polish-reranker-large-mse online free

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

sdadas polish-reranker-large-mse online free url in huggingface.co:

https://huggingface.co/sdadas/polish-reranker-large-mse

polish-reranker-large-mse install

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

polish-reranker-large-mse install url in huggingface.co:

https://huggingface.co/sdadas/polish-reranker-large-mse

Url of polish-reranker-large-mse

polish-reranker-large-mse huggingface.co Url

Provider of polish-reranker-large-mse huggingface.co

sdadas
ORGANIZATIONS

Other API from sdadas

huggingface.co

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

Total runs: 503
Run Growth: -17
Growth Rate: -3.38%
Updated:January 30 2026
huggingface.co

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

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

Total runs: 324
Run Growth: 74
Growth Rate: 22.84%
Updated:February 12 2026
huggingface.co

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