alt.freeweights.vision / laya-typed-decisions-ONNX
From: onnx-community <huggingface.co/onnx-community>Newsgroups: alt.freeweights.visionSubject:

laya-typed-decisions-ONNX

Date: 2026-11-15Commit: 79c441bSigned: 2DC28CC7B26A283B ✓

Text classification model. Onnx weights, 2.54 GB in all. Published by onnx-community under Apache-2.0.

vision2.54GBlaya-typed-decisions-ONNXonnxpermissive
FactsParamsnot statedSize2.54 GBFormatsonnxTasktext classificationLicenseApache-2.0From sourcepermissive
$ fw get onnx-community/laya-typed-decisions-ONNX
# manifest sha256 f7830cc4fa28… · 2.54 GB · 15 files
$ fw verify ./laya-typed-decisions-ONNX onnx-community/laya-typed-decisions-ONNX
From sourceHosted (signed)onnx-community/laya-typed-decisions-ONNXLast check: 2026-11-15 05:20 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Quantized of laya-typed-decisions.

Works with

Runs with

Ranked by fit to this model (onnx), then by GitHub stars.

Convert with

Scan with

Overview

Size
2.54 GB
Weights
847 MB (smallest of 2 ONNX variants)
Parameters
not stated
Formats
onnx
Task
text classification
License
Apache-2.0 (permissive)
Files
15, each with a sha256
Publisher
onnx-community
Added
2026-11-15
Section
alt.freeweights.vision
Lineage

Original release from the publisher.

Base model: convaiinnovations/laya-typed-decisions

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 05:20 UTCpassed

Model card

From the publisher at commit 79c441b. Shown as plain text with links; images open at the publisher.

laya-typed-decisions (ONNX)#

ONNX conversion of Convai Innovations' convaiinnovations/laya-typed-decisions, a non-autoregressive decision model (answerdotai/ModernBERT-large encoder with a decision head). Give it a state (text or JSON) and typed questions (choice, score, noul); it returns a calibrated distribution per question in one forward pass. For the model itself, its training and its limits, see the original model card and the laya repository.

Files#

FileSize
onnx/model.onnx (+ _data), fp321.69 GB
onnx/model_fp16.onnx (+ _data), fp16 weights and activations, fp32 inputs/outputs0.85 GB

One graph holds encoder and head (laya's own laya-ts export splits them in two):

  • inputs: input_ids [b, s] int64, attention_mask [b, s] int64, marker_pos [b, k] int64, marker_mask [b, k] bool, qtype [b] int64 (choice 0, score 1, noul 2)
  • outputs: logits [b, k] (one per [MASK] option marker, masked slots -1e4), act_logits [b, 2]

Each question is its own sequence ([CLS] {type} question: {question} [SEP] [MASK] opt … [SEP] state [SEP]). config.json carries the encoder config plus a laya section with everything a runtime needs: max_len (1024), head_max_len (256), the calibrated temperatures per question type and option count, and whether the tokenizer needs word-by-word encoding in Transformers.js (split_words).

Use it in the browser#

With open-jev (Transformers.js, WebGPU):

import { OpenJev, choice, score, noul } from "open-jev";

const jev = await OpenJev.load({ model: "laya-typed-decisions" });
const answers = await jev.decide("Hi, we were billed twice for March. Please refund the duplicate.", {
  department: choice("Which department should handle this?", ["billing", "technical", "other"], {
    billing: "invoices, payments, refunds",
    technical: "bugs, outages, system errors",
  }),
  urgency: score("How urgent is this?", ["not urgent", "soon", "blocking"]),
  refund: noul("Does the user ask for a refund?"),
});

The open-jev laya family rebuilds laya's build_sequence (option texts, 48-token option cap, head budget) and applies the checkpoint's calibrated temperatures, as laya.Agent does.

Conversion and parity#

torch.onnx.export (dynamo, opset 18) of DecisionModel.forward from laya.common, with dynamic batch, sequence and marker axes. Scripts are in conversion/.

  • ONNX Runtime (CPU) against PyTorch on real typed-decisions sequences, up to 2,048 tokens (past the 128-token sliding window): max |Δlogit| 2.2e-5.
  • open-jev in Node (onnxruntime-node) against laya's own Python Agent.predict on 15 cases (typed-decisions states; double spaces; the mask token inside text; over-long options; the head budget; Hindi, Chinese, Japanese and Spanish): token ids identical for every question; fp32 max |Δp| < 1e-4; fp16 max |Δp| 0.006, no top answer changed.

Accuracy in the browser#

typed-decisions test split (400 states, 2,000 questions), WebGPU on an M3 Pro, via open-jev:

dtypechoicescorenouloverallmedian per state
fp1672.8%72.9%86.2%76.8%0.97 s
fp3273.2%72.8%85.8%76.8%1.33 s

fp16 is the default on WebGPU: it matches fp32 within 0.2 points and is faster. This checkpoint was fine-tuned on the typed-decisions training split, so this is its home ground.

License#

Apache-2.0, as the original. Converted by @shreyask; all credit for the model to Convai Innovations.

Files

15 files · 2.54 GBWeights 847 MB (smallest of 2 ONNX variants). Sizes and sha256 from the signed manifest.
Hide all 15 files with their sha256
FileSizesha256
.gitattributes1.64 KB11766e5171641f6c68b9f14099fdb4e7b3d610f0a69451893e356c8334812257
README.md4.13 KB66140d590396e555bb614b107468fdea1d0419c89b674c5ef1df05f3fdeaf84c
config.json3.30 KB17276af4594edd2528024d1a23de7905e789f8befe659a47e337aa4ce144a226
conversion/laya_export.py6.69 KB12f7cc885c06d6fb483497429a0017ed87903fbe9c0b28bc2e0dae4e423ad007
conversion/laya_fp16.py2.73 KBb0512c0b222a4b1cd8537245d37621ef877fc0e3a2198f426fa19a5bf4dc7355
conversion/laya_package.py2.73 KBf695e3d3c2f2022e5f9a5c70373b745cf90c731f000cd618aa36c54c5f140082
conversion/laya_readme.py4.43 KB6a020352c487a95608d889b5232b56bff4d41c8a8b84d8aef9575fe107d98416
conversion/laya_reference.py4.05 KB6b2ddc2c02a937814df2af33c5d2d2e037d9413d3d1a93bc28d1000874f44edb
conversion/laya_typed_bench.py1.66 KBbe642d798eea5d50f0a935fddd663aee32a12ce6532ec7a6da1606fb4f722e56
onnx/model.onnx4.44 MB08a09f491df9efe9d5cbc96d8c5f22a3369951b58c9c64b568db588ab66c21d4
onnx/model.onnx_data1.69 GB92778ebb6a278de5a7041b8a2f9449a05172264d99d8cf471a878ec50ae04741
onnx/model_fp16.onnx4.47 MB94c25ed9a1ebe3f13b85bdbd54cd20ed407fb1993e3993f3deda1bc5662b8ae1
onnx/model_fp16.onnx_data843 MB2565dd3a00465c5c615502894176cdb96a528ad66256dd8d08eb0af3a0f73582
tokenizer.json3.58 MB6c8aaa9a542084f2457eab775d4eeb51f92a70c0fd9de28d5edb0ddec3c08d30
tokenizer_config.json337 B08d4cf3ac4dca381759441b85b91a6d40e688471dcd33d15d6649eb0a9a854d1
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
79c441b22d pinned now2026-11-15 05:20 UTC15 files · 2.54 GB

Use it

$ fw get onnx-community/laya-typed-decisions-ONNX
# manifest sha256 f7830cc4fa28… · 2.54 GB · 15 files
$ fw verify ./laya-typed-decisions-ONNX onnx-community/laya-typed-decisions-ONNX
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/onnx-community/laya-typed-decisions-ONNX.json --dir ./laya-typed-decisions-ONNX $ python3 fw.py verify ./laya-typed-decisions-ONNX ./onnx-community__laya-typed-decisions-ONNX.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download onnx-community/laya-typed-decisions-ONNX --revision 79c441b22da79eb3727bb01e8452e29a32cfa548 --local-dir ./laya-typed-decisions-ONNX

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
66140d590396e555bb614b107468fdea1d0419c89b674c5ef1df05f3fdeaf84c
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: onnx-community <huggingface.co/onnx-community>Newsgroups: alt.freeweights.visionSubject: laya-typed-decisions-ONNXDate: 2026-11-15Commit: 79c441bSigned: 2DC28CC7B26A283B ✓
Upstream
onnx-community/laya-typed-decisions-ONNX
Pinned commit
79c441b22da79eb3727bb01e8452e29a32cfa548
Manifest
laya-typed-decisions-ONNX.json · .minisig
Manifest sha256
f7830cc4fa28547402b1d0841d59423b7a237559e11616b4bf60bdb3774e3f77
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 05:20 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/onnx-community/laya-typed-decisions-ONNX.json $ curl -O https://freeweights.allternit.com/manifests/onnx-community/laya-typed-decisions-ONNX.json.minisig $ minisign -Vm laya-typed-decisions-ONNX.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

convaiinnovations/laya-typed-decisions · this model is a quantization of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download onnx-community/laya-typed-decisions-ONNX
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. laya-typed-decisions-ONNX.json. Provenance. Takedown history: none.
From: dima806 <huggingface.co/dima806>Subject: ai_vs_real_image_detection
From: legekka <huggingface.co/legekka>Subject: AI-Anime-Image-Detector-ViT
From: onnx-community <huggingface.co/onnx-community>Subject: AI-Anime-Image-Detector-ViT-ONNX
From: AICodexLab <huggingface.co/AICodexLab>Subject: answerdotai-ModernBERT-base-ai-detector
From: onnx-community <huggingface.co/onnx-community>Subject: answerdotai-ModernBERT-base-ai-detector-ONNX
From: onnx-community <huggingface.co/onnx-community>Subject: bart-large-cnn-ONNX