Skip to content

Decidora: four typed answers from one encoder pass

Decidora is a small discriminative model for the expensive part of an LLM pipeline: turning one message into a fixed set of typed answers. You give it a message and questions. It returns a pick, a probability, a score or a span. There is no chat, no sampling and no generated prose.

Four answer types

  • choice: a question and 2-32 options; returns probabilities, a pick and confidence.
  • noul: a statement; returns p.
  • score: a question and ordered levels; returns probabilities, a pick and a score from 0 to 1.
  • span: an extraction question; returns the token, text, p_present and p_span.

One encoder pass handles every non-span question. Questions are isolated by a block mask, so their order does not change the answer.

Why a discriminative model

A 14.2M-parameter model with a 14.6 MB int8 bundle runs on CPU. The model cannot write a sentence it was not asked to score, so the usual hallucination surface is gone. On a short request it returns a typed answer in milliseconds, not seconds.

Decidora is not a general assistant and not an LLM replacement. It is a router, a classifier and an extractor.

Five runtimes, one bundle

The same bundle (meta.json, model.bin, tokenizer.json) runs in Python PyTorch, NumPy, PHP, JavaScript and Rust. Conformance is 1e-6, not “close enough”. PHP has three modes; with the C kernel it reaches 5.4 ms, while pure PHP runs in 0.5-0.9 s. Rust implements noul on int8 only.

What it scores

Stage18 results: CLINC150 0.959, BANKING77 0.921, SMS accuracy 0.983 at threshold 0.7847, and the rebuilt transactional test 1.000 on n=483. Thresholds are fitted on dev only. Full tables and caveats are in the repository.

Limits

Decidora is English-only. Non-English text belongs to Guard, which only answers spam or ham. choice still flips on 15.8% of option permutations. The state is 384 tokens; longer messages are truncated. Span extraction is batched non-joint, with SQuAD text EM 0.324. The SMS threshold is domain-specific; do not move it to email. Do not use the model as the only security filter.

Weights and licence

Inference code, ports, demo and tests are Apache-2.0. Model weights are commercial and proprietary; they are not in the repository. The demo ships without weights and answers fixed samples. For a weights licence or an evaluation bundle, write to sales@globus.studio.

The same model and Guard run in BotBlocker Security. Demo: decidora.globus.studio. Code: MADEVAL/decidora.