CoolFace
Modelpublic

sinequa/passage-ranker.pistachio

sourceHugging Faceupdated 8mo agoView on Hugging Face
1likes169downloads
Model Card

Model Card for passage-ranker.pistachio

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.pistachio

Supported Languages

The model was trained and tested in the following languages:

  • —English
  • —French
  • —German
  • —Spanish
  • —Italian
  • —Dutch
  • —Japanese
  • —Portuguese
  • —Chinese (simplified)
  • —Polish

Besides the aforementioned languages, basic support can be expected for additional 93 languages that were used during the pretraining of the base model (see list of languages).

Scores

MetricValue
English Relevance (NDCG@10)0.474
Polish Relevance (NDCG@10)0.380

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

Inference Times

GPUQuantization typeBatch size 1Batch size 32
NVIDIA A10FP162 ms28 ms
NVIDIA A10FP324 ms82 ms
NVIDIA T4FP163 ms65 ms
NVIDIA T4FP3214 ms369 ms
NVIDIA L4FP163 ms38 ms
NVIDIA L4FP325 ms123 ms

GPU Memory usage

Quantization typeMemory
FP16850 MiB
FP321200 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

Training Data

Evaluation Metrics

English

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.474
Arguana0.539
CLIMATE-FEVER0.230
DBPedia Entity0.369
FEVER0.765
FiQA-20180.329
HotpotQA0.694
MS MARCO0.413
NFCorpus0.337
NQ0.486
Quora0.714
SCIDOCS0.144
SciFact0.649
TREC-COVID0.651
Webis-Touche-20200.312
Polish

This model has polish capacities, that are being evaluated over a subset of the PIRBenchmark with BM25 as the first stage retrieval.

DatasetNDCG@10
Average0.380
arguana-pl0.285
dbpedia-pl0.283
fiqa-pl0.223
hotpotqa-pl0.603
msmarco-pl0.259
nfcorpus-pl0.293
nq-pl0.355
quora-pl0.613
scidocs-pl0.128
scifact-pl0.581
trec-covid-pl0.560
Other languages

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.439
German0.418
Spanish0.487
Japanese0.517
Chinese (simplified)0.454