/ Модель

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

Лицензия
Apache 2.0
Архитектура
laya · dense
Библиотека
transformers
Опубликована
18 сен 2026

laya-typed-decisions

Классификация текстаТекст → label

Англоязычная модель Convai Innovations на базе ModernBERT-large для классификации типизированных решений в обработке счетов, клиентском обслуживании, инцидентах безопасности и трассах агентов.

1 827скачиваний за 30 дней162лайкавеса обновлены3 окт 2026

Бенчмарки

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

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

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

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

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

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

Laya Typed-Decisions — специализированная модель классификации Convai Innovations из семейства Laya. Это нелинейная авторегрессивная System 1 модель на базе энкодера ModernBERT-large с 421 млн параметров и контекстом 1024 токена. Она дообучена на английских примерах для наблюдаемости трасс агентов, клиентского обслуживания, обработки счетов и инцидентов безопасности; выдаёт типизированные решения и оценки уверенности.

В тесте из 400 случаев модель показала точность 0,766; лучший результат по описанным сценариям получен для обработки счетов — 0,804. Модель специализирована на четырёх синтетических рабочих процессах, поэтому качество на других задачах может быть не лучше базовой Laya. Калибровка уверенности недостаточна: ECE составляет 0,213, а температуры для отдельных типов решений подогнаны на обучающих данных. Перед использованием вероятностей их следует перекалибровать на отложенной выборке. Для вопросов с выбором рекомендуется использовать менее 20 вариантов. Лицензия Apache 2.0.

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

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

Ограничения

Специализирована на четырёх синтетических рабочих процессах, поэтому на других задачах качество может быть ниже. Вероятности недостаточно откалиброваны; перед их использованием нужна перекалибровка на отложенных данных, а для вопросов с выбором рекомендуется менее 20 вариантов.

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

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

Открыть на Hugging Face

Laya Typed-Decisions

Non-autoregressive System 1 decision model, fine-tuned on the typed-decisions workflows: agent-trace observability, customer service, invoice processing and security incidents.

Part of the Laya family.

checkpointencoderparamscontextuse it for
convaiinnovations/layaModernBERT-large421M512English, general
convaiinnovations/laya-multilingualmmBERT-base322M1024100+ languages
convaiinnovations/laya-typed-decisions (this repo)ModernBERT-large421M1024these four workflows

Benchmark

400 test cases, 2,000 decisions, measured on the official test split.

modelaccuracysoft accBrierECEscore MAE
this checkpoint0.7660.4710.0620.2130.242
TypeSafe Jev 1.13.0 (published)0.7270.5800.1480.1440.391
teacher self-agreement ceiling0.735
ModernBERT-base specialist (published)0.646
per-question majority class0.461
random guess0.318
laya (not fine-tuned)0.3620.3320.3160.1750.694
laya-multilingual (not fine-tuned)0.3420.3260.4390.2850.687

+3.9 points over Jev's published 0.727, above the 0.735 teacher ceiling, with 2.4x better Brier and 1.6x better score MAE.

Jev figures are third-party published, not measured here — there is no TypeSafe API access in this project, and sample sizes and prompts differ. Treat the comparison as indicative.

By workflow

workflowaccuracy
invoice processing0.804
security incidents0.766
customer service0.764
agent-trace observability0.730

By primitive

typeaccuracyECEn
noul0.8570.192600
choice0.7330.255600
score0.7230.199800

Quickstart

pip install laya
import laya

agent = laya.load("convaiinnovations/laya-typed-decisions")
result = agent.predict(state, questions)

Or route to it explicitly:

from laya import Router

router = Router()
router.predict(state, questions, model="typed-decisions")

Router will not select this checkpoint automatically unless you construct it with auto_task_detection=True — it is specialised to four synthetic workflows and should not be a silent default.

If this checkpoint is on a hot path, keep it resident rather than loading it per request:

router = Router()
router.preload(["typed-decisions"])          # or router.attach("typed-decisions", agent)

preload fetches and builds the checkpoints you name once; attach registers an Agent you already hold, so nothing is loaded twice.

laya.load() builds the model without a throwaway random initialisation, so loading is about 10x faster with identical answers.

agent.predict_batch(states, questions) scores many states in shared forward passes, with answers identical to one call per state, which suits workflow triage over a queue.

If laya.load() hangs: transformers probes for TensorFlow at import, and when TF is installed its abseil runtime can deadlock model construction. Run with USE_TF=0.

Training

Fine-tuned from convaiinnovations/laya on the benchmark's 1,200-case training split (6,000 decisions) with RLCD: the policy reports a distribution, exploration adds zero-mean Gaussian noise to the logits, and the reward is a strictly proper scoring rule (log + spherical, plus ranked probability score for ordinal questions), so expected reward is maximised only by honest probabilities. Updates are REINFORCE with a group-mean baseline, alongside soft cross-entropy against the teacher's distributions.

Reproduce it: laya_finetune_typed_decisions_2xT4_kaggle.ipynb — about 4–5 hours on Kaggle's free 2xT4.

Limits

  • This is a specialist. It was fine-tuned on four specific synthetic workflows. Expect it to behave like the base laya checkpoint, or worse, on anything else.
  • Soft accuracy trails Jev (0.471 vs 0.580): its argmax is better, but its probability distributions match the teacher less well.
  • Still over-confident (ECE 0.213 vs Jev's 0.144). Its temperature_by_options was inherited from the base checkpoint and overrides the per-type temperatures fitted for this model — refit on your own held-out data before relying on the probabilities.
  • Its per-type temperatures were fitted on training data. The fine-tuning run fitted [1.0148, 1.0374, 1.0575] on a slice of the same items it had just trained on, which is why they sit so close to 1.0 (#186). The notebook now holds that slice out of training. Until this checkpoint is refit, treat its confidence as uncalibrated.
  • English only. Use laya-multilingual for other languages.
  • Keep choice questions under ~20 options. Options share a fixed 256-token head budget, so a large label space leaves few tokens per label and accuracy falls off sharply.

Links

Apache 2.0 · Convai Innovations

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей