Lead story
Models & availability
Latest
Lead story
Models & availability
Latest
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.
From the source
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.
huggingface.co