/ Модель

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

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

laya-typed-decisions

Классификация текстаТекст → label5 профессий

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

2 629скачиваний за 30 дней173лайкавеса обновлены29 ноя 2026

Бенчмарки

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

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

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

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

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

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

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

Модель возвращает типизированный ответ с оценкой вероятности, может воздерживаться от решения при заданном пороге риска и формировать множество правдоподобных вариантов для неоднозначных входов. Она предназначена для детерминированной классификации, а не генерации текста. В README приведён benchmark этого чекпойнта: точность 0,766 на описанном тестовом наборе; результаты зависят от сценария и настройки.

Модель ориентирована на английский язык. Веса и пакет laya распространяются по лицензии Apache 2.0; непрерывное обучение указано как отдельный коммерческий продукт и в пакет не входит.

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

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

Ограничения

Чекпойнт рассчитан на описанные типизированные рабочие процессы; качество на общих задачах может быть ниже, чем у крупных универсальных моделей. Мультимодальные возможности и контекст 73 728 токенов описаны для новой версии Laya в целом, но не подтверждены для этого чекпойнта.

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

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

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

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

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

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

Открыть на Hugging Face

Laya Typed-Decisions

Cite this work. M, N.; M, A. From Laya to Vega: Open Non-Autoregressive Decision Models with Calibrated Probabilities. Preprints 2026, 2026110781. https://doi.org/10.20944/preprints202611.0781.v1

@article{m2026laya_vega,
  title   = {From Laya to Vega: Open Non-Autoregressive Decision Models with Calibrated Probabilities},
  author  = {M, N. and M, A.},
  journal = {Preprints},
  year    = {2026},
  pages   = {2026110781},
  doi     = {10.20944/preprints202611.0781.v1},
  url     = {https://doi.org/10.20944/preprints202611.0781.v1}
}

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

New in 0.5: laya reads images, audio and video, takes 73k tokens, and says when it should not decide. laya is open source under Apache 2.0 (pip install -U laya).

  • Text, images, audio and video. agent.predict(...) with image=, audio= or video= gives the same typed answers as for text.
  • 73,728 tokens of context. Whole contracts, threads and logs in one read.
  • Abstain and unbound, explained below.
  • Physics, not text generation. Each candidate answer is a valley; the input is a particle that rolls and settles in one. Deterministic, constant cost, nothing generated.
  • Any LLM as the reader. One small decision engine on top of a frozen reader, from 0.8B to 27B.

Licence. These weights and the laya package are Apache 2.0, free for any use. Continuous learning is a commercial product from Embedding Space and is not part of this package: embedding.in/licence, or write to nandakishor@embedding.in.

How abstain and unbound work

The input is placed as a particle in a small decision space where every candidate answer is a valley. Where the particle settles, and how deep, is the answer and its probability.

  • abstain: it declines to commit. The threshold is calibrated so that, among the answers it does give, the error rate stays under the configured risk (10% by default).
  • prediction_set: the conformal set, every option the answer could still be at alpha 0.10. One option means it is sure; two or more means the input really is ambiguous.
  • unbound: the particle settled far from every valley, so the input looks unlike anything it knows (likely off-distribution). It is reported on every answer but does not route on its own: measured, it also fired on 71% of normal banking77 rows, so it would have sent most good answers to review.
  • route: what to do with it, auto or review. Without labels, review when it abstains or the set holds more than one option. With labels (agent.fit / agent.calibrate), a band placed where precision holds at 95% on your rows decides. Gate on route, never on a confidence number.

Benchmarks at a glance

Continuous learning (commercial, not in this package). 14 decision templates (31 questions), each starting from about 600 generated examples, then learning from confirmed answers; scored on 60 held-out rows per template.

day oneafter 40 confirmed answersafter 120
laya with continuous learning84.7%91.6%96.0%
Jev 1.14, confirmed answers written into its criteria89.5%91.5%92.6%

Jev leads on day one (23 of 31 questions); they are level at 40; laya leads at 120 (12 wins, 7 losses, 12 ties). Jev cannot be taught, only prompted, and is a hosted API (364 ms a request from India).

What learning costs. laya learns from 300 answers in 34 s on 8 CPU threads, with no GPU (0.72 s an answer, 6.4 GB of RAM; on a GPU 40 ms and 2 GB). Fine-tuning the classic encoder on the same 300 rows takes 89 s on a GPU with 9 GB and rewrites all 421M weights.

Learning from a stream, November 2026 (4B reader, held-out rows):

layaJev 1.14
banking77, 924 held out, after 4,928 rows87.5%, ECE 0.028, 92.5% routed auto at 91.5% precision79.4% as shipped (ECE 0.078), 85.7% with examples
typed-decisions, 2,000 decisions, after 1,200 rows73.7%, ECE 0.03174.7%, ECE 0.047 (level)

Across readers, one byte-identical decision engine, 50,676 held-out records: 0.8B 76.5%, 4B 79.1%, 27B 81.1%, ECE 0.010 to 0.021.

Where it loses. Zero-shot on generic public suites a large hosted model leads. As a prompt-injection gate on real traffic (ToxicChat, 1.8% attacks), Jev untaught catches 79.1% at 0.3% refused against 73.0% at 0.7% for a fitted head. The benchmarks further down are for the classic encoder checkpoints.

Under the hood the new engine comes from vegaml, installed with laya. For the classic encoder, name it (laya.Agent("convaiinnovations/laya")) or pass vegaml=False.

Train your own decision engine at studio.embedding.in. Studio, from Embedding Space, trains a System 1 decision engine from a description of your company: it writes the questions and the examples, fits and calibrates a vega model, and gives you a signed policy file that runs on your own machine with vegaml (also reachable as laya.Agent(vegaml=True)). No labelled data is needed to start, and a new workspace gets $10 of free credit.

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
Ревизия весов
28d74f6

0 моделей