cross-encoder-RoBERTa-ADR-MSE

Paper All Models GitHub

This model is a cross-encoder based on FacebookAI/roberta-base. It was trained on Ms-Marco using loss ADR as part of a reproducibility paper for training cross encoders: "Reproducing and Comparing Distillation Techniques for Cross-Encoders", see the paper for more details.

Contents

Model Description

This model is intended for re-ranking the top results returned by a retrieval system (like BM25, Bi-Encoders or SPLADE).

  • Training Data: MS MARCO Passage
  • Language: English
  • Loss ADR

Training can be easily reproduced using the assiciated repository. The exact training configuration used for this model is also detailed in config.yaml.

Usage

Quick Start:

from transformers import AutoTokenizer, AutoModelForSequenceClassification
import torch

tokenizer = AutoTokenizer.from_pretrained("FacebookAI/roberta-base")
model = AutoModelForSequenceClassification.from_pretrained("xpmir/cross-encoder-RoBERTa-ADR-MSE")

features = tokenizer("What is experimaestro ?", "Experimaestro is a powerful framework for ML experiments management...", padding=True, truncation=True, return_tensors="pt")

model.eval()
with torch.no_grad():
    scores = model(**features).logits
    print(scores)

Evaluations

We provide evaluations of this cross-encoder re-ranking the top 1000 documents retrieved by naver/splade-v3-distilbert.

dataset RR@10 nDCG@10
msmarco_dev 35.49 42.11
trec2019 94.57 72.11
trec2020 92.82 70.95
fever 77.76 78.19
arguana 18.91 28.01
climate_fever 28.29 20.61
dbpedia 75.87 45.96
fiqa 45.73 38.14
hotpotqa 83.68 66.53
nfcorpus 56.12 33.72
nq 53.48 58.47
quora 80.54 82.21
scidocs 26.60 15.04
scifact 65.27 68.88
touche 63.34 34.43
trec_covid 84.63 68.37
robust04 70.33 47.80
lotte_writing 68.41 58.24
lotte_recreation 60.95 55.43
lotte_science 46.00 38.34
lotte_technology 50.96 42.38
lotte_lifestyle 72.87 62.92
Mean In Domain 74.29 61.72
BEIR 13 58.48 49.12
LoTTE (OOD) 61.59 50.85
Downloads last month
39
Safetensors
Model size
0.1B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for xpmir/cross-encoder-RoBERTa-ADR-MSE

Finetuned
(2172)
this model

Collection including xpmir/cross-encoder-RoBERTa-ADR-MSE

Paper for xpmir/cross-encoder-RoBERTa-ADR-MSE