/ Модель

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

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

FRIDA-Decisions-V2-1.8B

Классификация без дообученияТекст → label6 профессий

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

70скачиваний за 30 дней5лайковвеса обновлены27 ноя 2026

Бенчмарки

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

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

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

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

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

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

FRIDA-Decisions-V2-1.8B — плотная 16-слойная модель принятия решений с визуальным энкодером, разработанная AI Forever и дообученная на базе Qwen/Qwen3.5-2B. Она оценивает варианты ответа относительно общего текстового или текстово-визуального контекста на русском и английском языках. Поддерживает выбор из нескольких вариантов, оценку по упорядоченной шкале, ответы «да/нет» и ранжирование кандидатов.

Модель предназначена для маршрутизации запросов, триажа, классификации и переранжирования, особенно в сценариях с требованиями к низкой задержке. По результатам оценки в карточке показаны метрики на наборах для коротких структурированных решений, длинного текста и изображений с текстом; результаты зависят от формулировки инструкций и вариантов. Для инференса авторы рекомендуют vLLM с плагином FRIDA-Decisions V2; также описан запуск через Transformers.

Модель принимает до 16 изображений на запрос и до 32 768 упакованных позиций суммарно для контекста, вопросов, вариантов и изображений. Размер указан как 939,5 млн параметров; веса представлены в BF16 и safetensors. Лицензия — Apache-2.0. Перед автоматизацией решений следует проверить точность и пороги на репрезентативных данных; длина входа, размер изображений, число кандидатов и параллельная нагрузка влияют на задержку и потребление памяти GPU.

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

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

Ограничения

Результаты зависят от формулировки инструкции и описаний кандидатов, поэтому точность и пороги нужно проверять на репрезентативных данных. Длина входа, размер изображений, количество кандидатов и параллельная нагрузка влияют на задержку и расход памяти GPU; общий предел запроса — 32 768 упакованных позиций.

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

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

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

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

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

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

Открыть на Hugging Face

FRIDA-Decisions-V2-1.8B

FRIDA-Decisions V2 cover

FRIDA-Decisions-V2-1.8B is a 16-layer dense BF16 decision model with a vision encoder. It scores candidate answers against a shared text or image input in Russian or English. It supports choice, ordinal scoring, yes/no decisions and ranking for latency-sensitive tasks such as routing, triage, classification and reranking.

Usage

We recommend vLLM with the FRIDA-Decisions V2 plugin for inference.

Transformers

The decision pipeline in Transformers 5.24.1 loads the model code included with these weights. Install torchvision for image preprocessing. Use a separate Python environment for the vLLM server below.

python -m pip install 'transformers==5.24.1' accelerate pillow torch torchvision
from transformers import pipeline

decide = pipeline("decision", model="ai-forever/FRIDA-Decisions-V2-1.8B",
                  trust_remote_code=True, dtype="auto", device=0)
request = {
    "state": "The sky is blue.",
    "questions": {
        "color": {"type": "choice", "instructions": "Pick the sky color.",
                  "criteria": {"blue": "blue", "red": "red"}},
        "is_blue": {"type": "noul", "instructions": "Is the sky blue?"},
    },
}
answers = decide(request)
print(answers["color"]["choice"], answers["is_blue"]["noul"])

Pass the request as a Python dictionary or its JSON string. For vision, put up to 16 images in the top-level images list, in the order the model should read them. Each entry accepts plain base64 or a base64 image data URI.

import base64
from pathlib import Path

image = base64.b64encode(Path("photo.jpg").read_bytes()).decode("ascii")
result = decide({"state": "", "images": [image], "questions": {
    "sky": {"type": "noul", "instructions": "Does the image show a blue sky?"}
}})
print(result["sky"]["noul"])

The Transformers pipeline supports choice, score and noul. Supply at least two options for each choice or two levels for each score. Larger candidate sets share the same 32,768-position request budget. An ordinal score is the expected level under the returned probabilities. For one raw score per candidate, use ranking through the vLLM server below.

In Transformers inference, the model automatically reuses the state across candidates in the same request once the state reaches 1,536 positions. The count includes image patches and their delimiters. For shorter states, it processes each candidate independently. With BF16 arithmetic the two paths can produce slightly different scores, and closely matched candidates can exchange places. For direct comparisons, pass use_shared_state=False to the model's decide method to evaluate each candidate independently.

vLLM

The FRIDA-Decisions V2 plugin shares the state across candidates within a request. The command below uses vLLM 0.32.0, Transformers 5.19.0 and FLA 0.6.0 in a Linux CUDA environment. Set FRIDA_WHEEL to the local path of the V2 plugin wheel and MODEL_DIR to the local checkpoint directory. Both backends read the same tensor shards. The command disables cross-request prefix caching.

python -m pip install "${FRIDA_WHEEL}[v2]"
export VLLM_PLUGINS=frida_decisions_v2
export FDD_FLAT_TEXT_PACK=parallel
python -m vllm.entrypoints.openai.api_server --model "$MODEL_DIR" --tokenizer "$MODEL_DIR/base" \
  --hf-config-path "$MODEL_DIR/vllm_config.json" --config-format hf \
  --served-model-name frida-decisions-v2-1.8b --runner pooling \
  --io-processor-plugin frida_decisions_v2 --dtype bfloat16 \
  --host 127.0.0.1 --enforce-eager \
  --no-enable-chunked-prefill --no-enable-prefix-caching \
  --max-model-len 32768 --max-num-batched-tokens 32768 \
  --max-num-seqs 32 --gpu-memory-utilization 0.3

Wait for GET /health to return HTTP 200, then send questions under data. The request's model field matches the server's --served-model-name.

curl --fail http://127.0.0.1:8000/pooling \
  -H 'Content-Type: application/json' \
  --data-binary @- <<'JSON'
{
  "model": "frida-decisions-v2-1.8b",
  "data": {
    "state": "Не могу войти в личный кабинет: код подтверждения не приходит.",
    "questions": {
      "route": {
        "type": "choice",
        "instructions": "В какую команду направить обращение?",
        "criteria": {
          "support": "Вход в аккаунт и технические проблемы",
          "billing": "Оплата, списания и возвраты"
        }
      },
      "blocked": {
        "type": "noul",
        "instructions": "Пишет ли клиент, что не может войти в аккаунт?"
      }
    }
  }
}
JSON

Read the selected team from data.answers.route.choice and the probability of an affirmative answer from data.answers.blocked.noul. The response also includes per-option data.margins and data.usage.

For a vision request, add data.images with base64-encoded images or image data URLs and use data.state for any text that accompanies the images.

Question types

TypeInputResult
choiceA map of option IDs to descriptionsSelected ID and option probabilities
scoreOrdered descriptions for the levelsExpected score on the scale from 0 to K−1 and level probabilities
noulA yes/no instruction with optional descriptions for true and falseProbability of yes
rankingA map of candidate IDs to descriptionsOrdered IDs, candidate scores and probabilities

Evaluation

EvaluationExamplesResult
razvilka short, structured decisions73590.5%
razvilka long, long-form text4,69957.0%
razvilka vision, image and text4,03075.2%
JevBench, English23170.1%
Decision Index 0.3 public, excluding HLE110,00745.95

The Decision Index number is from our own evaluation on 36 benchmarks, using balanced_skill with HLE omitted and its weight redistributed within its domain. The razvilka long and vision entries use evaluation snapshots with the sizes above. The short score uses the 735-item razvilka benchmark.

Serving performance

Measurements use the hybrid vLLM plugin on one warmed H100. Single-request latency is the median (p50) HTTP response time for synthetic text with one choice question and eight options. Throughput uses the same 685 short text requests across variants in a closed-loop test. Estimating p99 for a deployment requires measuring at its target arrival rate and request-length distribution.

WorkloadFRIDA-Decisions-V2-1.8B
1,000 / 4,000 / 10,000 state tokens, one request in flight25.1 / 41.5 / 99.2 ms
Short text, 8 / 32 requests in flight254.6 / 444.5 decisions/s

Intended use and limitations

Results depend on the wording of instructions and candidate descriptions. Evaluate accuracy and thresholds on representative inputs before using scores to automate decisions. Input length, image size, candidate count, and concurrency affect latency and GPU memory. Both interfaces accept up to 32,768 packed positions for the entire request. This includes the shared state, all questions and options, separators, image positions and packing metadata.

License and attribution

Based on Qwen/Qwen3.5-2B, distributed upstream under Apache-2.0. This checkpoint contains pruned and fine-tuned weights. See the accompanying license and attribution files.

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

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

GPU в ailist

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

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

Модели нужен код из репозитория; запуск откроется после проверки совместимости.

Класс архитектуры
FridaV2ForDecision
Ревизия весов
30dc5a7

0 моделей