/ Модель

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

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

LemonDecider

Классификация текстаТекст → label6 профессий
1 166скачиваний за 30 дней57лайковвеса обновлены24 ноя 2026

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

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

Мультимодальная модель для классификации решений и выдачи вероятностных ответов на вопросы по тексту, JSON и изображениям.

LemonDecider 4B — мультимодальная модель для принятия решений, разработанная inclusionAI на основе Qwen3.5-4B и дообученная для классификации решений. Она принимает общее текстовое или JSON-состояние, именованные вопросы с вариантами ответа и до четырёх изображений, а затем выдаёт распределение вероятностей для каждого решения. Поддерживаются выбор варианта, оценка вероятности истинности утверждения «да/нет» и оценка по упорядоченной шкале из 2–10 уровней.

Модель подходит для пакетной классификации и оценивания по заданным критериям, ответов на вопросы с выбором из вариантов и анализа изображений по нескольким вопросам. В публичной оценке Decision Index 0.3 показала результаты 64,25 для текстовых и 72,349 для визуальных наборов. Контекст контрольной точки — 262 144 токена, лимит обслуживания — 8 192 токена; длинный список вопросов делится на части, а входные изображения ограничены четырьмя и бюджетом до 1 638 400 пикселей на изображение. Модель распространяется по лицензии Apache-2.0.

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

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

Ограничения

Лимит обслуживания составляет 8 192 токена, а число изображений в запросе ограничено четырьмя; результаты публичных оценок не гарантируют качество на конкретных пользовательских данных.

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

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

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

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

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

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

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

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

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

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

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

Открыть на Hugging Face

LemonDecider 4B

LemonDecider 4B is a multimodal decision model built on Qwen3.5-4B. It answers named questions over text or JSON and up to four images. A request is encoded as one joint prompt: the shared state, then every question with its options, each followed by a decision marker. The model returns a probability distribution at every marker. A request that exceeds the 8,192-token serving limit is split by recursively bisecting the question list, never truncated.

  • Choice selects an option and returns a probability for each candidate.
  • Noul returns the probability that a yes/no proposition is true.
  • Score rates the input against 2–10 ordered levels. It returns the probability of each level and the expected level, computed as the sum of each zero-based level index times its probability.

Public Decision Index 0.3

LemonDecider 4B scored 64.25 on Text (140,178 requests) and 72.349 on Vision (12,210 requests) across the Decision Index 0.3 public suites.

PanelLemonDecider 4BRequests
Text64.25140,178
Vision72.34912,210

The evaluation used joint-question-inline-readout-v1 with rereading disabled, temperature 0.835655, BF16/SDPA, a 262,144-token checkpoint context with an 8,192-token serving limit, and a 1,638,400-pixel cap per image.

Per-dataset results

Public Vision (11 datasets)

DatasetAccuracySkill
CV-Bench86.8578.31
BLINK73.5759.08
RealWorldQA80.6568.37
CharXiv81.9575.94
InfographicVQA96.3195.08
Mind2Web84.5879.45
Winoground91.7583.50
KIE (CORD+FUNSD)96.0693.52
Moderation (Hateful Memes)71.5643.12
R-Bench-M49.6239.54
MMMU-Pro vision45.1437.08
Public Vision Index—72.349

Public Text (43 datasets)

DatasetOriginal metricNon-SkillSkill
BFCLcase exact accuracy96.4095.14
ToolRetnDCG@1061.2355.23
API-Bankaccuracy82.0981.74
BANKING77macro-F193.2193.12
CLINC150+OOSmacro-F195.0294.99
RouterBench †selected quality (quality objective)79.9352.94
Home appliance simulatorcase exact accuracy77.2777.27
SGD/SGD-X †macro-F151.5219.33
ContractNLImacro-F186.9581.13
ANLImacro-F173.4660.25
BPoMPaccuracy98.4796.94
Humicroeditaccuracy63.9627.93
POP909-CLaccuracy79.8279.66
cfcoloraccuracy72.3644.72
MMLU †accuracy81.2074.93
GPQA Diamondaccuracy52.0436.05
ARC-Easy †accuracy99.2098.93
ARC-Challenge †accuracy95.9994.65
WinoGrandeaccuracy89.5079.00
HellaSwagaccuracy95.5194.01
GSM8Kaccuracy64.9458.01
ChessBenchaccuracy19.7812.63
MuSRaccuracy61.9739.54
SATA-Benchcase exact accuracy36.4835.64
SimpleBench †accuracy20.004.00
BRIGHTnDCG@1042.6735.14
Amazon ESCImacro-F160.4950.45
ACOSper-review F127.8925.58
FinEntitymacro-F193.4490.35
iSarcasmEvalSarcasm F1 · track A, English64.1453.87
VASTmacro-F178.2567.37
NLI4CTmacro-F181.5564.11
CRUXEvalaccuracy65.2644.89
CLadderaccuracy81.0062.00
HLEaccuracy12.570.00
Habermas Machineaccuracy61.8144.58
PhishNChips phishing decisionsaccuracy93.0586.10
MMLU-Proaccuracy64.1659.69
BBH fixed-option tasksaccuracy76.7066.23
RAGTruth response-level hallucinationF1 on hallucinated class84.1967.22
HoVer claim verificationaccuracy88.8277.64
When2Call MCQaccuracy90.9187.88
New Yorker caption matchingaccuracy65.9157.39
Public Text IndexWeighted aggregate72.6464.25

† Shown but not counted in the index.

Usage

Use Python 3.12 with the versions in requirements.txt.

python -m pip install -r requirements.txt

Python

from PIL import Image
from model import DecisionModel

model = DecisionModel(".", device="cuda:0")

text = model.predict(
    state="The order arrived damaged. The customer wants a refund.",
    questions={
        "intent": {
            "type": "choice",
            "instructions": "What does the customer want?",
            "criteria": {"refund": "A refund", "delivery": "Delivery status"},
        },
        "damaged": {"type": "noul", "instructions": "Does the customer mention damage?"},
        "urgency": {
            "type": "score",
            "instructions": "How urgent is the request?",
            "criteria": ["Low", "Medium", "High"],
        },
    },
)
print(text["answers"])

questions = {
    "which": {
        "type": "choice",
        "instructions": "Which image is red?",
        "criteria": {"first": "The first image", "second": "The second image"},
    }
}
with Image.open("blue.png") as blue, Image.open("red.png") as red:
    vision = model.predict(state={}, questions=questions, images=[blue, red])
print(vision["answers"])

Images are attached in list order before the state text. A request accepts up to four images; each image is resized within the processor's 65,536–1,638,400 pixel budget. A dictionary {"state": ..., "questions": ..., "images": [...]} is also accepted, where image entries are Base64 data URLs, raw Base64 strings or paths under the configured image root.

HTTP API

model.py --serve exposes the same decision request on both POST /v1/systemone and POST /v1/decisions. /v1/systemone is the Decision Index text-engine route; /v1/decisions is the official decide engine's image-capable JSON protocol. Both take model, state, questions and optional images.

python model.py --serve --port 8173 --image-root ./images

Send a text request with an inline JSON body.

curl -fsS http://127.0.0.1:8173/v1/systemone \
  -H 'Content-Type: application/json' -d '{
  "state": "The order arrived damaged. The customer wants a refund.",
  "questions": {
    "intent": {
      "type": "choice",
      "instructions": "What does the customer want?",
      "criteria": {"refund": "A refund", "delivery": "Delivery status"}
    },
    "damaged": {"type": "noul", "instructions": "Does the customer mention damage?"},
    "urgency": {
      "type": "score",
      "instructions": "How urgent is the request?",
      "criteria": ["Low", "Medium", "High"]
    }
  }
}'

For a vision request, add an ordered images array. Entries can be Base64 data URLs (data:image/...;base64,...), raw Base64 strings, or server-side file paths relative to --image-root.

curl -fsS http://127.0.0.1:8173/v1/decisions \
  -H 'Content-Type: application/json' -d '{
  "state": {},
  "images": ["blue.png", "red.png"],
  "questions": {
    "which": {
      "type": "choice",
      "instructions": "Which image is red?",
      "criteria": {"first": "The first image", "second": "The second image"}
    }
  }
}'

The response puts results under answers using the supplied question IDs.

Decision Index compatibility and submission

The two public runs use the joint/no-reread protocol reproduced by model.py. The checkpoint config also sets the legacy single-question inference_protocol.read_twice field to false; the joint readout above is the only decision path. The evaluated checkpoint is the weight set in this repository; the 255 × 2,560 readout head has sha256 20295371f7bdea1e91e583d4d881934931b71f271907c7bebeacd31aa2387731, and the index contains 724 tensors and 4,539,918,336 parameters. This repository also contains the matching image-capable inference code and model card.

python -m pip install "huggingface_hub>=0.34,<2"
hf download inclusionAI/LemonDecider --local-dir ./lemondecider-4b
python -m pip install -r ./lemondecider-4b/requirements.txt
python ./lemondecider-4b/model.py --serve --host 127.0.0.1 --port 8173

With that server running on loopback, the official kit uses http for text and decide --option protocol=decisions for Vision:

python -m decision_index run --engine http \
  --option base_url=http://127.0.0.1:8173 \
  --option model=LemonDecider-4B-v3.2 --out runs/lemondecider-text
python -m decision_index vision pipeline --dir work/vision --engine decide \
  --option base_url=http://127.0.0.1:8173 --option protocol=decisions \
  --out runs/lemondecider-vision

The public results are in inclusionAI/lemondecider-decision-index-results under runs/lemondecider-4b-v32-text and runs/lemondecider-4b-v32-vision, and contain every request's prediction, probabilities, wall time and official scores. Private Text/Vision evaluation and official single-RTX-PRO-6000 latency qualification remain maintainer-run.

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

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

GPU в ailist

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

Нельзя запустить

Модели нужен код из репозитория; автор пока не в списке доверенных организаций.

Класс архитектуры
LemonDeciderForDecisionClassification
Ревизия весов
4193a12

0 моделей