/ Модель

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

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

Intern-Decision-4B

Изображение и текст → текст6 профессий

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

3 369скачиваний за 30 дней86лайковвеса обновлены26 сен 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Intern-Decision-4B — мультимодальная модель структурированного принятия решений, разработанная на основе Qwen3.5-4B и дообученная для выдачи вероятностных ответов по нескольким вопросам за один проход. На вход она принимает общее состояние, схему вопросов с вариантами ответа и, при необходимости, изображения; для каждого поля возвращает распределение вероятностей в типизированном JSON.

Модель подходит для сценариев, где нужно оценивать варианты выбора, категории или бинарные решения с учётом текста и изображений. Она поддерживает от 1 до 16 вопросов и до 62 вариантов на вопрос; длина входа ограничена 8192 токенами, включая токены изображений. Для вывода требуется специальный формат запроса и чтение логитов в позициях заполнителей, поэтому обычная генерация текста не описывает основной способ использования. Веса представлены в safetensors, архитектура — плотная Qwen3.5 с 4 млрд параметров.

В README приведены результаты на нескольких бенчмарках и отдельная калибровка вероятностей; качество и задержка зависят от задачи и оборудования. Модель основана на Qwen3.5-4B, а её лицензия — Apache-2.0.

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

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

Ограничения

Вход ограничен 8192 токенами и восемью изображениями; запросы, превышающие лимит, отклоняются без усечения. Для корректной работы необходимо сохранять порядок вопросов и вариантов и использовать специальный шаблон запроса с извлечением логитов.

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

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

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

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

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

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

Открыть на Hugging Face

Intern-Decision-4B

Demo | Model Weights | GitHub

Intern-Decision-4B is a multimodal structured decision model fine-tuned from Qwen3.5-4B. It accepts a shared state, a schema of named questions, and optional images, and returns an answer distribution for every question in one model forward pass.

How inference works

  1. Preserve the question and option order, and map each question's options to single-token symbols A, B, …, Z, a, …, z, 0, …, 9.
  2. Render the original system prompt, state, decision schema, and a complete assistant JSON skeleton with one <decision> placeholder per field. Preserve the checkpoint's chat template and empty thinking block.
  3. Run one causal Hugging Face forward pass. For the masked-next-token decision objective, read logits at the position immediately before each placeholder.
  4. Take a softmax over only that field's allowed candidate-symbol logits, then apply the checkpoint's probability calibration.
  5. Map symbols back to the original option values and return typed JSON answers.

This API performs structured candidate scoring. It does not call generate() or sample free-form text. A request can contain multiple fields; no gold answers are inserted into the prompt. The inference compiler uses only state, questions, and optional images.

Benchmark results

ModelJevbench-EasyJevbench-OriginalJevbench-HardTyped DecisionToolACEAG NewsWildJailBreakAverageBrier ↓ECE ↓
Jev100.0098.6172.0773.3591.2989.5796.2988.740.3580.095
Laya95.8372.2228.8335.9563.8792.8414.8457.770.8040.246
SemIf100.0098.6161.2662.8085.1689.2292.5384.230.4980.112
Kev100.0093.0645.0565.6087.4289.8275.9779.560.7380.262
JevK5100.0097.2273.8764.5080.9789.1390.4585.160.3660.047
Intern-Decision-0.8B97.9280.5652.2577.3594.5288.6164.4879.380.5300.066
Intern-Decision-2B100.0084.7263.9679.3596.4589.9678.3384.680.4370.100
Intern-Decision-4B100.0098.6173.8780.5596.4590.8289.8690.020.3470.065

Inference latency

Measured on a single RTX 4090 with the local HF inference path. Values are per-query end-to-end latency; they are workload and hardware dependent.

ModelMeanMedian / P50P95
Jev109.70 ms106.30 ms146.70 ms
Intern-Decision-0.8B33.98 ms33.44 ms37.50 ms
Intern-Decision-2B33.28 ms33.15 ms33.55 ms
Intern-Decision-4B44.16 ms44.03 ms44.60 ms

Known-distribution calibration pilot

This separate 96-case diagnostic uses exact reference distributions rather than sampled hard labels. Lower is better. The pilot was not used to fit or select the published temperature; the 4B model used its separately fitted T=1.992418.

CategoryIntern-Decision-4B beforeIntern-Decision-4B afterJev
Direct randomness and support0.483 / 0.1810.421 / 0.1290.490 / 0.216
Composed events and mixtures0.677 / 0.2540.577 / 0.1500.682 / 0.274
History, conditioning, and hidden state0.711 / 0.2190.613 / 0.1080.657 / 0.113
Daily evidence and observation bias0.701 / 0.3280.575 / 0.2100.603 / 0.114
Selective disclosure and probability puzzles0.540 / 0.1190.510 / 0.0490.483 / 0.138
Sequential and combinatorial processes0.656 / 0.1800.605 / 0.0580.657 / 0.116
Overall (Brier / ECE)0.628 / 0.2130.550 / 0.0890.595 / 0.130

Quick start

Use Python 3.12+. Install requirements.txt in a suitable PyTorch/CUDA environment, then import DecisionEngine from the downloaded model directory:

pip install -r requirements.txt
from inference import DecisionEngine

engine = DecisionEngine(device="cuda")  # Load once; reuse for subsequent requests.
request = {
    "state": "The customer was charged twice and asks for the extra payment back.",
    "questions": {
        "team": {
            "type": "choice",
            "instructions": "Which team should handle this request?",
            "criteria": {
                "billing": "Payments and refunds",
                "delivery": "Shipping and delivery",
            },
        },
        "urgency": {
            "type": "score",
            "instructions": "Rate the priority.",
            "criteria": ["Low", "Medium", "High"],
        },
        "refund_requested": {
            "type": "noul",
            "instructions": "Is the customer asking for a refund?",
        },
    },
}
response = engine.predict(request)  # One Python dict in, one response dict out.
print(response["answers"])

predict(request) accepts one request dictionary per call and returns a JSON-serializable Jev-compatible response. It does not read request files or mutate the supplied dictionary. Reuse the engine for each subsequent request.

The engine defaults to the checkpoint next to inference.py. To load another local copy of this same model, use DecisionEngine(checkpoint="./model-copy"). Use the inference module shipped with the selected size so its default calibration matches. backend="hf" is the default and the only implemented backend. The optional request model field does not switch checkpoints; the response model identifies the weights actually loaded by this module.

Request format

{
  "state": "The customer was charged twice and asks for the extra payment back.",
  "questions": {
    "team": {
      "type": "choice",
      "instructions": "Which team should handle this request?",
      "criteria": {
        "billing": "Payments and refunds",
        "delivery": "Shipping and delivery"
      }
    },
    "urgency": {
      "type": "score",
      "instructions": "Rate the priority.",
      "criteria": ["Low", "Medium", "High"]
    },
    "refund_requested": {
      "type": "noul",
      "instructions": "Is the customer asking for a refund?"
    }
  }
}
  • choice: criteria is an ordered object mapping option values to descriptions.
  • score: criteria is a list (values become "0", "1", …) or an ordered object with finite numeric string keys.
  • noul: a binary decision with options no, then yes. Optional criteria can describe these values using no/yes or false/true keys.

Supply 1–16 questions, with up to 62 options per question. Inputs exceeding DecisionEngine(max_length=8192) (default 8192 tokens) are rejected without truncation.

Images

Set the request dictionary's images list in the intended order:

request["images"] = ["images/frame-1.png", "images/frame-2.png"]
response = engine.predict(request)

The checkpoint processor handles image resizing and token expansion. Relative paths are resolved against DecisionEngine(media_root=".") (default: the working directory). Supply up to eight images; image tokens count toward the input length limit.

Response format

answers maps each field name to:

FieldMeaning
typechoice, score, or noul
probabilitiesCalibrated distribution over the original option values
confidenceMaximum candidate probability
decisionHighest-probability option value; lexical tie-breaking
choiceSelected value, for choice questions
noulProbability of yes, for binary questions
scoreProbability-weighted expected numeric value, for score questions
legendScore values and their descriptions, for score questions
sourcelocal

The response follows the Jev envelope: model, answers, and usage. It also includes backend, timing, and calibration as extension fields. usage.output_tokens and usage.decision_count count scored fields, not generated text tokens. confidence for a score question belongs to its most likely category; the reported expected score can lie between categories.

Calibration

The default temperature is 1.99241824. It was fitted separately for this checkpoint by NLL minimization on 1,728 designated calibration cases, with 1,693 separate validation cases. Test-suite labels were not used to select the temperature.

The script follows the demo's numerical sequence:

p = softmax(candidate_logits.float())
calibrated_p = softmax(log(p) / T)

This is candidate probability calibration, not a sampling temperature. It updates confidence, the noul probability, and the expected score while preserving the argmax decision. For uncalibrated candidate probabilities, use DecisionEngine(temperature=1). A custom temperature must be finite and positive.

License and acknowledgment

Intern-Decision is derived from the Qwen3.5 series. The original Qwen license is preserved as LICENSE-QWEN. Retain the license and applicable upstream notices when redistributing. These weights were modified by decision tuning, and this release adds the structured inference wrapper and model card. We thank the Qwen team for the original models and multimodal processor.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей