/ Модель

Характеристики

Контекст
8 192 токена
Параметры
140 млн
Лицензия
Apache 2.0
Архитектура
modernbert · dense
Базовая модель
lupe-german-reranker-small
Библиотека
sentence-transformers
Опубликована
20 ноя 2026

lupe-multilingual-reranker-small

Ранжирование текстаТекст → score8 профессий

Многоязычный cross-encoder Syntriq для сортировки результатов поиска и кандидатов RAG по релевантности запросу.

156скачиваний за 30 дней1лайквеса обновлены24 ноя 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Ранжирование» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Lupe Multilingual Reranker Small — компактная многоязычная модель компании Syntriq для переоценки результатов поиска. Это cross-encoder на архитектуре ModernBERT с 140,5 млн параметров, доступный в форматах Safetensors и ONNX; модель оценивает пары «запрос — фрагмент текста» и сортирует найденные материалы по релевантности. Она предназначена для второго этапа поиска: сначала кандидатов находят с помощью BM25 или модели эмбеддингов, затем reranker упорядочивает их для поиска и RAG.

Модель обучена для 36 языков, включая русский, и поддерживает контекст архитектуры до 8192 токенов, однако при обучении использовался общий вход длиной до 512 токенов. Разработчик сообщает о высоких результатах на MIRACL и немецких наборах, но оценки проводились на ограниченном числе запросов, без тестов статистической значимости; языки вне основных проверок, включая нидерландский, польский и турецкий, оценены не были. Модель выдаёт оценки для ранжирования, а не эмбеддинги или откалиброванные вероятности. Лицензия — Apache-2.0.

Сценарии применения

  • переоценка результатов поиска после BM25
  • сортировка кандидатов RAG по релевантности вопросу
  • переранжирование найденных фрагментов перед передачей языковой модели
  • многоязычная оценка соответствия запроса и документа
  • повышение качества поиска по немецким и русским текстам

Ограничения

Модель предназначена для ранжирования пар «запрос — фрагмент» и не создаёт эмбеддинги; длинные документы следует разбивать на фрагменты до 512 токенов. Оценки не являются вероятностями, а качество на некоторых языках менее определённо; результаты разработчика получены на ограниченных выборках без проверки статистической значимости.

Для каких профессий подходит8

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Lupe Multilingual Reranker Small

Deutsch: Lupe Multilingual Reranker Small sortiert Suchtreffer nach Relevanz, auf Deutsch, Englisch und 34 weiteren Sprachen, etwa als zweiter Schritt in Suche und RAG. Mit 141 Millionen Parametern liegt es in unserer Auswertung auf allen sechs Testsets vor den verglichenen Modellen ähnlicher Größe, auf MIRACL-en nur knapp. Destilliert aus einem größeren offenen Reranker, ohne echte personenbezogene Daten trainiert. Nachfolger von syntriq/lupe-german-reranker-small, auf allen deutschen Testsets gleich gut oder besser.

A 141M-parameter multilingual cross-encoder for reranking search results in German, English and 34 more languages, a drop-in second stage for search and RAG. In our evaluation it leads its size class on MIRACL and the German sets. It replaces syntriq/lupe-german-reranker-small: same size, trained further from it, equal or better on every German set we measured.

Quickstart

from sentence_transformers import CrossEncoder

model = CrossEncoder("syntriq/lupe-multilingual-reranker-small")
query = "Wie hoch ist die Zugspitze?"
passages = ["Die Zugspitze ist mit 2962 Metern der höchste Berg Deutschlands.", "Der Rhein ist ein Fluss in Mitteleuropa."]
print(model.rank(query, passages))

ONNX

ONNX exports for CPU inference are in onnx/: onnx/model.onnx (fp32) and onnx/model_qint8_avx512_vnni.onnx (int8, dynamic quantization). Install with pip install "sentence-transformers[onnx]".

from sentence_transformers import CrossEncoder

model = CrossEncoder("syntriq/lupe-multilingual-reranker-small", backend="onnx", model_kwargs={"file_name": "onnx/model_qint8_avx512_vnni.onnx", "provider": "CPUExecutionProvider"})
query = "Wie hoch ist die Zugspitze?"
passages = ["Die Zugspitze ist mit 2962 Metern der höchste Berg Deutschlands.", "Der Rhein ist ein Fluss in Mitteleuropa."]
print(model.rank(query, passages))

Use "file_name": "onnx/model.onnx" for fp32. Keep "provider": "CPUExecutionProvider" on macOS: the CoreML provider that ONNX Runtime picks there by default failed on this model in our test.

Agreement with the PyTorch model on CPU: 100 query-passage pairs (50 German, 50 English) and top-1 passage on 20 ranking lists of 16 passages, all from our validation split.

FormatMax absolute score difference (scores 0 to 1)SpearmanTop-1 agreement
ONNX fp322.1e-061.0000100%
ONNX int80.1360.9973100%

Speed on an Apple M5 CPU (default thread settings, batch 32, 512 tokens per pair):

BackendPairs per second
PyTorch fp3219.2
ONNX fp3212.9
ONNX int814.2

On this ARM CPU, ONNX is not faster than PyTorch. The int8 file is quantized for x86 CPUs with AVX-512 VNNI; we did not measure its speed there.

Results

nDCG@10. Every model ran through the same evaluation harness on the same queries: up to 200 queries per set, the first 200 of each MIRACL language and of GermanQuAD and GermanDPR (the MIRACL sets for Korean, Telugu and Yoruba have 186, 74 and 89). MIRACL reranks the candidates of the MTEB MIRACLReranking task (dev split) in 18 languages, GermanQuAD and GermanDPR rerank the top 100 passages of intfloat/multilingual-e5-base, NanoBEIR is the English sentence-transformers CrossEncoderNanoBEIREvaluator (13 sets, top 100 BM25 candidates).

ModelMIRACL mean (18 languages)MIRACL-deMIRACL-enNanoBEIRGermanQuADGermanDPRParameters
syntriq/lupe-multilingual-reranker-small0.7870.7390.7140.7070.9910.858141M
Horizon-Labs/multilingual-reranker-small0.7530.7120.6910.6690.9860.843141M
cross-encoder/mmarco-mMiniLMv2-L12-H384-v10.7360.7010.6560.6380.9250.804118M
mixedbread-ai/mxbai-rerank-xsmall-v10.5110.5470.7120.6400.9070.74371M
jinaai/jina-reranker-v1-turbo-en0.3540.3070.6130.6530.7680.62438M
cross-encoder/ms-marco-MiniLM-L12-v20.3070.3020.6600.6650.8440.59233M

This model scores highest on every set. On MIRACL-en its margin over mixedbread-ai/mxbai-rerank-xsmall-v1 (0.714 vs 0.712) is too small to call.

Full MIRACL dev sets, all queries:

ModelMIRACL-de (221 queries)MIRACL-en (705 queries)
syntriq/lupe-multilingual-reranker-small0.7470.726

The competitors in this class were not run on the full sets. On the full German sets this model scores 0.989 on GermanQuAD (2,204 queries) and 0.870 on GermanDPR (1,025 queries).

Caveats: 200 queries per set and no significance test, so differences of a few thousandths are not meaningful. Checkpoints were selected on our own validation split, and the choice between training stages and averaged variants also took these public sets into account. The English training data contains training splits of datasets whose test splits are part of NanoBEIR (for example NQ, HotpotQA, FEVER, FiQA).

Intended use and limitations

  • Reranking only: a cross-encoder that scores query-passage pairs. Retrieve 50 to 200 candidates with an embedding model or BM25 first, then rerank them with this model. It does not produce embeddings.
  • Trained with a maximum input length of 512 tokens for query plus passage. Longer inputs are accepted by the architecture but were not trained or tested; split long documents into passages.
  • Trained on 36 languages, evaluated on the 18 MIRACL languages plus the German (GermanQuAD, GermanDPR) and English (NanoBEIR) sets. Languages outside MIRACL (for example Dutch, Polish or Turkish) were not evaluated.
  • The teacher is weaker in some languages: in the reviewed disagreements the judge sided against the teacher most often for Yoruba and Swahili, so quality there is less certain.
  • Scores are meant for ranking within one query. They are not calibrated probabilities; check any fixed threshold on your own data.
  • Results come from 200-query evaluations without a significance test.

Training data

Query-passage pairs in 36 languages: ar, bg, bn, ca, cs, da, de, el, en, es, fa, fi, fr, he, hi, hu, id, it, ja, ko, nl, no, pl, pt, ro, ru, sk, sv, sw, te, th, tr, uk, vi, yo, zh. Every pair carries a teacher score.

SourceUsed forLicense
MIRACL train (sentence-transformers/miracl, from miracl/miracl)Real queries with passages, 16 languagesApache-2.0
Wikipedia (wikimedia/wikipedia, 2023-11-01)PassagesCC BY-SA 3.0 and GFDL
FineWeb-2 (HuggingFaceFW/fineweb-2)Web passagesODC-By 1.0, subject to the Common Crawl terms of use
FinePDFs (HuggingFaceFW/finepdfs), German partGerman passagesODC-By 1.0, subject to the Common Crawl terms of use
WebFAQ (PaDaS-Lab/webfaq-retrieval)Real FAQ questions and answersCC BY 4.0
English pairs (cross-encoder/ettin-reranker-v1-data, MS MARCO parts removed)7,000,000 English pairsApache-2.0 for the collection; the upstream sources keep their own terms
Synthetic queriesAbout 728,000 multilingual and about 198,000 German queries (a question, a keyword query and an English question per passage), written by an open-weight large language model released under the MIT licenseGenerated by Syntriq
Synthetic German business documentsGerman passages from the synthetic training documents of the Syntriq Tarn PII modelsGenerated by Syntriq
  • Multilingual part (35 languages): 717K passages and 253K real queries (WebFAQ questions, MIRACL train questions) plus the synthetic queries. Each query has its positive passage and up to seven hard negatives mined with Snowflake/snowflake-arctic-embed-l-v2.0 (Apache-2.0).
  • German part: the training data of syntriq/lupe-german-reranker-small, 4.0M pairs.
  • Leakage control: Wikipedia articles and MIRACL train passages whose title starts a relevant passage of a MIRACL dev query were left out; German passages that share text with GermanQuAD, GermanDPR or relevant MIRACL-de passages were removed.
  • No real personal data was used on purpose. Public web, FAQ and forum text in the sources can contain incidental names; the German business documents are synthetic.
  • Data safety: 40 passages from the public sources (FineWeb-2, WebFAQ, MIRACL train and Wikipedia) matched spam patterns for abusive content. They were found and removed from the training data of the final training stage. The earlier training stage of the small and base models ran before this filter existed and included them; the large model was trained only on the filtered data.

Training

Distilled from a larger open reranker teacher (Apache-2.0). For every query-passage pair the teacher's score, the logit of "yes" minus the logit of "no", is the regression target, and the student learns it with mean squared error on single pairs (sentence-transformers MSELoss). One pass over the chosen pairs, maximum length 512 tokens, bf16, warmup 3 %, weight decay 0.01, seed 0; five validation checks per run on 2,160 held-out queries in 36 languages, the best checkpoint kept. In the first stage, most English labels were the scores shipped with the English data set, mapped onto the teacher's scale with a monotone fit; in the final stage all 7,000,000 English pairs carry teacher scores.

Label corrections: about 15,000 cases where the teacher ranked a mined negative above the labeled positive were reviewed by a large-language-model judge, and its verdicts corrected the labels before the final stage: 7,271 positives were raised above their negatives, 5,718 negatives judged relevant were raised to the positive's score, and in 1,984 cases the teacher's score was kept. The first stage used 1,745 such verdicts.

Lineage: jhu-clsp/mmBERT-small → Horizon-Labs/multilingual-reranker-small → syntriq/lupe-german-reranker-small (German fine-tune) → two multilingual stages:

  1. Stage 1: 12,000,000 pairs, learning rate 2e-5, 2,048 pairs per step (512 on each of 4 GPUs), 49.1 minutes, started from syntriq/lupe-german-reranker-small. Data set of 13,974,199 pairs (3.0M multilingual, 4.0M German, 7.0M English).
  2. Stage 2: 18,582,780 pairs, learning rate 1e-5, 2,048 pairs per step (512 on each of 4 GPUs), 75.1 minutes, started from stage 1. Data set of 18,582,780 pairs (11,582,780 multilingual and German, 7,000,000 English).

The released weights are the element-wise average of stage 1 and stage 2 (0.5 each), with no further training. Stage 2 alone gained English (MIRACL-en 0.706 → 0.718, NanoBEIR 0.690 → 0.700) but lost German (MIRACL-de 0.742 → 0.736, GermanQuAD 0.991 → 0.987); the average scores 0.739 on MIRACL-de, 0.991 on GermanQuAD and 0.707 on NanoBEIR.

Hardware: one node with 8× NVIDIA B200 GPUs; each run used several of them in parallel (distributed data parallel).

License and citation

Apache-2.0. Base models: jhu-clsp/mmBERT-small (MIT), Horizon-Labs/multilingual-reranker-small (Apache-2.0), syntriq/lupe-german-reranker-small (Apache-2.0). Teacher: Apache-2.0. Data licenses as listed above.

@misc{syntriq2026lupemultilingualsmall,
  title  = {Lupe Multilingual Reranker Small},
  author = {Syntriq Labs},
  year   = {2026},
  url    = {https://huggingface.co/syntriq/lupe-multilingual-reranker-small}
}

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · sentence-transformers

Можно запустить

Подбираем GPU…

Класс архитектуры
ModernBertForSequenceClassification
Ревизия весов
b61c95d

0 моделей