/ Модель

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

Контекст
262 144 токена
Размер весов
4,5 ГБ
Лицензия
Apache 2.0
Архитектура
qwen3_5 · dense
Базовая модель
Qwen3.5-2B
Библиотека
transformers
Опубликована
15 ноя 2026

zoowork-instinct-reranker-2b

Ранжирование текстаТекст → score
26скачиваний за 30 дней3лайкавеса обновлены2 дек 2026

Описание модели

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

Текстовый реранкер на базе Qwen3.5, который сортирует документы по релевантности запросу и может отбирать подходящие кандидаты по порогу вероятности.

ZooWork-Instinct-Reranker-2B — текстовая модель ранжирования и принятия решений, разработанная авторами работы «Instinct-Reranker: From Ranking to Decisions in Retrieval». Это плотная модель семейства Qwen3.5 с 2 млрд параметров, дообученная с помощью LoRA на отобранных открытых данных для поиска, затем слитая и усреднённая по четырём обучающим запускам. Репозиторий содержит полные веса; отдельный адаптер не требуется.

Модель оценивает пару «запрос — документ» и выдаёт вероятность P(yes), которую можно использовать для сортировки кандидатов или отбора релевантных документов. Авторы сообщают результаты на девяти семействах бенчмарков поиска. Для работы требуется Transformers с поддержкой Qwen3.5; текстовые пары обрабатываются за один проход, а оценки можно кэшировать.

Документы длиннее 2 048 токенов обрезаются. Порог 0,5 откалиброван на смеси обучающих данных и может требовать повторной калибровки для задач с иной долей релевантных кандидатов. Модель принимает только текст, хотя базовая модель мультимодальна. Лицензия — Apache-2.0.

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

  • переранжирование результатов поиска по запросу
  • отбор релевантных документов для RAG
  • поиск документов, подтверждающих или опровергающих утверждение
  • сортировка кандидатов в структурированном поиске
  • ранжирование товаров по соответствию запросу

Ограничения

Документы длиннее 2 048 токенов обрезаются. Порог 0,5 может быть неоптимален для задач с существенно иной долей релевантных кандидатов и тогда требует калибровки.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Бенчмарки пользователейпока нет

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

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

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

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

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

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

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

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

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

Открыть на Hugging Face

ZooWork-Instinct-Reranker-2B

arXiv Model Collection Code ZooWork License

A 2B-parameter generalist reranker from the paper Instinct-Reranker: From Ranking to Decisions in Retrieval that also works as a decision model: its score P(yes) ranks candidates, and the single threshold 0.5 decides which ones to keep, across tasks and without per-task tuning. One forward pass per (query, document) pair, documents up to 2,048 tokens, scores cacheable per pair.

Fine-tuned from Qwen/Qwen3.5-2B with LoRA on curated public retrieval data (labels from source gold, rules, or locally run LLMs), then merged and averaged over 4 training seeds. This repository holds the merged full weights; no adapter or extra download is needed.

Highlights

  • 🏆 Best average at its size: 64.84 on nine benchmark families, vs 57.49 for Qwen3-Reranker-0.6B, the strongest open reranker of 2B or less that we evaluated (+7.35).
  • 🥇 First on 7 of 9 benchmarks among models of its size; largest leads: Struct-IR +19.58, STaRK +17.57, ShopRank +6.41.
  • 📈 Competes with larger models: above Qwen3-Reranker-4B (63.49), 2× its size; above Qwen3-Reranker-8B (64.22), 4× its size.
  • ⚖️ Decides, not only ranks: one threshold, P(yes) >= 0.5, keeps the relevant candidates across tasks without per-task tuning.

Ranking results

nDCG@10 x100 (STaRK: hit@1; ShopRank: pairwise accuracy), averaged over each benchmark's sets. All models rerank the same candidates with their own documented interface. MTEB-R is the official ten-task mean. Avg: mean of the nine benchmarks. Bold: best among models of the same size or smaller; larger models (italic) are shown for reference.

Highest average among rerankers up to 2B (64.84 vs 57.49 for Qwen3-Reranker-0.6B), best on 7 of 9 benchmarks; also above the larger Qwen3-Reranker-4B (63.49) and Qwen3-Reranker-8B (64.22).

ModelAvgBEIRMTEB-RBRIGHTRTEBMIRACLStruct-IRSTaRKCoREBShopRank
zoowork-instinct-reranker-2b64.8464.9365.7525.2776.1373.9959.6663.5870.8383.43
jina-reranker-v3.5 (0.6B)53.6563.6263.7315.7467.9769.5731.4146.0148.0976.67
Qwen3-Reranker-0.6B57.4962.9566.0119.1370.4474.1439.8343.3067.0374.61
mxbai-rerank-large-v2 (1.5B)55.5462.6263.1916.1464.0865.7040.0845.7165.3677.02
Qwen3-Reranker-4B (larger)63.4966.6869.8523.3279.4375.4357.8648.3271.0379.49
Qwen3-Reranker-8B (larger)64.2267.9769.3723.1680.1575.1860.3948.0972.1081.55

Usage

Requires transformers with Qwen3.5 support. The score is P(yes | yes or no) at the last position of the chat prompt below, which is the scorer behind the numbers above. Change INSTRUCTION to describe the task (e.g. "Given a claim, find documents that refute the claim").

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "srpone/zoowork-instinct-reranker-2b"
tok = AutoTokenizer.from_pretrained(model_id, padding_side="left")
model = AutoModelForCausalLM.from_pretrained(model_id, dtype=torch.bfloat16).cuda().eval()

SYSTEM = ('Judge whether the Document meets the requirements based on the Query and '
          'the Instruct provided. Note that the answer can only be "yes" or "no".')
INSTRUCTION = "Given a web search query, retrieve relevant passages that answer the query"
MAX_DOC_TOKENS = 2048  # the length the model was trained and evaluated at


def token_ids(words):
    ids = set()
    for w in words:
        for s in (w, " " + w):
            enc = tok.encode(s, add_special_tokens=False)
            if len(enc) == 1:
                ids.add(enc[0])
    return sorted(ids)


YES, NO = token_ids(["yes", "Yes"]), token_ids(["no", "No"])


def prompt(query, doc, instruction=INSTRUCTION):
    doc = tok.decode(tok.encode(doc, add_special_tokens=False)[:MAX_DOC_TOKENS])
    user = f"<Instruct>: {instruction}\n<Query>: {query}\n<Document>: {doc}"
    msgs = [{"role": "system", "content": SYSTEM}, {"role": "user", "content": user}]
    return tok.apply_chat_template(msgs, tokenize=False, add_generation_prompt=True, enable_thinking=False)


@torch.no_grad()
def p_yes(query, docs, instruction=INSTRUCTION):
    enc = tok([prompt(query, d, instruction) for d in docs], return_tensors="pt", padding=True,
              add_special_tokens=False).to(model.device)
    logp = torch.log_softmax(model(**enc).logits[:, -1, :].float(), dim=-1)
    yes, no = logp[:, YES].logsumexp(-1), logp[:, NO].logsumexp(-1)
    return torch.sigmoid(yes - no).tolist()  # P(yes | yes or no)


query = "what causes the northern lights"
docs = ["The northern lights (aurora borealis) are caused by charged particles from the Sun, carried by the solar "
        "wind, colliding with oxygen and nitrogen in Earth's upper atmosphere; the collisions emit the green and red "
        "light seen near the poles.",
        "The Northern Line is a London Underground line running from Edgware to Morden."]
scores = p_yes(query, docs)
print(scores)                                   # rank by score ...
print([d for d, s in zip(docs, scores) if s >= 0.5])  # ... or keep what passes the 0.5 threshold

Limitations

  • Documents beyond 2,048 tokens are truncated; the model was trained and evaluated at that length.
  • The 0.5 threshold is calibrated on the training mixture; on tasks whose share of relevant candidates is far from it (e.g. almost every candidate relevant), the best threshold moves and a held-out recalibration helps.
  • Text only, although the base checkpoint is multimodal.

Citation

@article{xue2026instinct,
  title   = {Instinct-Reranker: From Ranking to Decisions in Retrieval},
  author  = {Xue, Siqiao and Zhang, Zexian and Hu, Ning},
  journal = {arXiv preprint arXiv:2612.00868},
  year    = {2026},
  url     = {https://arxiv.org/abs/2612.00868}
}

License

Apache 2.0, as the base model.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
Qwen3_5ForConditionalGeneration
Ревизия весов
37e8252

0 моделей