An ONNX export of convaiinnovations/laya-typed-decisions
(revision 1a793eb568e6718f15941d08f85432581df534e3), packaged for
sysone, a Rust server that answers typed decisions (choice / score / yes-no)
over the System One HTTP protocol with no Python. The sysone installers download this repository; you normally
do not need to fetch it by hand.
This is not a new model. The weights are Laya's, unchanged, converted from safetensors (F16 on disk, upcast to float32) to two ONNX graphs. All credit for the model belongs to ConvAI Innovations and the Laya authors; see the original model card for training data, intended use, accuracy and limitations.
| Path | What |
|---|---|
bundle/encoder.onnx + encoder.onnx.data |
ModernBERT-large encoder: input_ids, attention_mask → last_hidden_state (float32) |
bundle/head.onnx + head.onnx.data |
decision head: hidden states, attention mask, marker positions/mask, question type → logits, act_logits |
bundle/export.json |
exporter versions and the sha256 of every graph file |
model/ |
the checkpoint's own tokenizer (tokenizer.json, tokenizer_config.json), encoder/config.json and rl_agent_config.json (max length, head budget, calibration temperatures), byte-identical to the original revision |
The split (encoder | head) follows Laya's own ONNX contract; tokenization, sequence building, calibration and
decoding are done by the caller (sysone, or Laya's Python ONNXAgent).
Exported with torch 2.14.0 and run with ONNX Runtime 1.28.0 (CPU, deterministic compute), the graphs reproduce the PyTorch reference within the reference's own run-to-run variation: on 36 test requests, worst logit difference 2.3e-05, probability difference 3.8e-06, every final decision and every rounded output identical. Details: sysone/docs/PARITY.md.
Apache-2.0, as the original model. This export is a derivative work distributed under the same license with attribution to ConvAI Innovations. Not affiliated with or endorsed by ConvAI Innovations or TypeSafe AI.
bundle/encoder.onnx 3 MBbundle/head.onnx 195.3 kBconvaiinnovations/laya-typed-decisions