Commercial demo · stage18 · Guard · PHP backend
One message.
Typed decisions.
Your stack.
Stage18 is the English decoder-free model: choice, noul, score and span. Guard is the separate multilingual antispam model. This server-side demo protects the weights; the same bundles also run in PyTorch, NumPy, JavaScript and Rust.
Start here
Pages
Stage18 · four typed answers
The full test bench. choice, noul, score and span over one encoder pass. Answers come from the PHP port on the server.
Guard · 22-language antispam
Separate 2.1M linear model over hashed character n-grams. Any script, 1,536-character window, spam/ham only. PHP backend, weights stay on the server.
Inference engines
Every runtime in the repository: PyTorch, NumPy, PHP with and without the C kernel, JavaScript and Rust. Latency and conformance in one place.
Technical documentation
Architecture, typed heads, Guard features, training recipe and held-out experiments. Numbers and limitations in one place.
About the model and this demo
Model limits, the four heads, why Guard is separate, and what the PHP backend protects - and what it does not.
Contract
What runs where
| piece | location | reachable from browser | notes |
|---|---|---|---|
bundle int8/ |
server filesystem | no | ../models/decidora-13.8m-stage18/int8, outside public/ |
| PHP port | api/lib/Decidora.php |
no | pure PHP, no ext-ffi |
| API | POST api/answer.php |
yes | validated input, read-only, rate limited |
Guard noul |
models/decidora-13.8m-stage18/guard |
no | 2.1M linear, 1 536 chars / stride 768, PHP endpoint |
| pages | public/ |
yes | public/ is the web root |
A client-side deployment downloads the weights to run; this page does not. That is the only structural difference between the browser and server modes.