# Hugging Face — Training and Finetuning Reranker Models with Sentence Transformers

- Company: Hugging Face (huggingface.co)
- Announced: 2025-03-26T00:00:00+00:00
- Category: developer-tool-release
- Subject: Platform
- Models affected: tomaarsen/reranker-ModernBERT-base-gooaq-bce, tomaarsen/reranker-ModernBERT-large-gooaq-bce
- Source: https://huggingface.co/blog/train-reranker
- Record: https://forck.live/items/1725-training-and-finetuning-reranker-models-with-sentence-transformers

Hugging Face published a blog post detailing how to use the Sentence Transformers library to finetune reranker (cross-encoder) models, including dataset loading, loss functions, training arguments, evaluators, and the trainer class. It also presents two finetuned reranker models that outperform existing public reranker models on the author's evaluation dataset.

## Evidence

Verbatim from https://huggingface.co/blog/train-reranker:

> In this blogpost, I'll show you how to use it to finetune a reranker model (also known as a cross-encoder) that beats all existing options on exactly your data. This method can also train extremely strong new reranker models from scratch.

---

Record: https://forck.live/items/1725-training-and-finetuning-reranker-models-with-sentence-transformers
Catalogue: https://forck.live/llms.txt
Feed: https://forck.live/feed.md
