CoolFace
Modelpublic

sinequa/passage-ranker-v1-L-multilingual

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes228downloads
Model Card

Model Card for passage-ranker-v1-L-multilingual

This model is a passage ranker developed by Sinequa. It produces a relevance score given a query-passage pair and is used to order search results.

Model name: passage-ranker-v1-L-multilingual

Supported Languages

The model was trained and tested in the following languages:

  • —English
  • —French
  • —German
  • —Spanish

Scores

MetricValue
Relevance (NDCG@10)0.471

Note that the relevance score is computed as an average over 14 retrieval datasets (see details below).

Inference Times

GPUQuantization typeBatch size 1Batch size 32
NVIDIA A10FP162 ms31 ms
NVIDIA A10FP324 ms82 ms
NVIDIA T4FP163 ms65 ms
NVIDIA T4FP3214 ms364 ms
NVIDIA L4FP162 ms38 ms
NVIDIA L4FP325 ms124 ms

Gpu Memory usage

Quantization typeMemory
FP16550 MiB
FP321050 MiB

Note that GPU memory usage only includes how much GPU memory the actual model consumes on an NVIDIA T4 GPU with a batch size of 32. It does not include the fix amount of memory that is consumed by the ONNX Runtime upon initialization which can be around 0.5 to 1 GiB depending on the used GPU.

Requirements

Model Details

Overview

  • —Number of parameters: 124 million
  • —Base language model: Homegrown Sinequa BERT-Base (Paper) pretrained in the four supported languages
  • —Insensitive to casing and accents
  • —Training procedure: MonoBERT

Training Data

  • —Probably-Asked Questions (Paper, Official Page)
  • —Original English dataset
  • —Translated datasets for the other three supported languages

Evaluation Metrics

To determine the relevance score, we averaged the results that we obtained when evaluating on the datasets of the BEIR benchmark. Note that all these datasets are in English.

DatasetNDCG@10
Average0.471
Arguana0.583
CLIMATE-FEVER0.150
DBPedia Entity0.366
FEVER0.734
FiQA-20180.288
HotpotQA0.698
MS MARCO0.341
NFCorpus0.345
NQ0.483
Quora0.766
SCIDOCS0.142
SciFact0.654
TREC-COVID0.711
Webis-Touche-20200.334

We evaluated the model on the datasets of the MIRACL benchmark to test its multilingual capacities. Note that not all training languages are part of the benchmark, so we only report the metrics for the existing languages.

LanguageNDCG@10
French0.401
German0.396
Spanish0.453