Decidora
DemoGuardEnginesPagesDocs

Commercial demo · model guide

One model.
Four decisions.
Your deployment.

Stage18 answers English typed questions in one encoder pass. The same bundle runs in PyTorch, NumPy, PHP, JavaScript and Rust. This deployment serves it from PHP, so the browser gets an answer, not the weights; client-side and embedded modes remain available.

7 runtimes 4 typed heads 2 models

English model

Stage18

parameters14 239 236
layers / hidden / FF12 / 256 / 1 024
state383 input tokens
question192 tokens
span32 tokens
headschoice, noul, score, span
tokenizerWordPiece 30 531
languageEnglish

choice picks an option. noul scores a statement. score ranks an ordered level. span extracts a fragment. Questions are isolated by a block mask, so their order does not change an answer. State beyond the limit is silently truncated; an overlong question is rejected.

This deployment

Decidora Demo

runtimePHP 8.1+, pure PHP
C kerneloff (DECIDORA_KERNEL=none)
BLASoff (DECIDORA_BLAS=none)
bundle../models/decidora-13.8m-stage18/int8, outside public/
web rootpublic/; no nginx rewrite needed
APIPOST api/answer.php, JSON in and out
limitsread-only: 13 fixed cases; 30 requests/minute/IP
latency0.44-0.76 s per question, 1.21 s for four questions

The UI is the same test bench as the browser demo. Only the inference source changed: app.js calls api/answer.php instead of loading model.bin. The visual design is unchanged.

Flexibility

One bundle, several deployment modes

Multilingual model

Guard

parameters2 097 153
featureshashed char n-grams and message features
window1 536 characters; chunk 1 536 / 768
language22 languages
headsnoul spam/ham only
runtimePHP backend here; PyTorch, NumPy, JS and Rust available

Guard is not a multilingual Decidora. It does not do intent, sentiment, or span extraction. English antispam goes to Decidora; non-English antispam goes to Guard. This demo scores Guard in pure PHP; the 8 MB weights stay in models/.

Threat model

What this deployment protects

Test