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

laya-multilingual-ONNX

Date: 2026-11-15Commit: 46b77bbSigned: 2DC28CC7B26A283B ✓

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

vision1.97GBlaya-multilingual-ONNXonnxpermissive
FactsParamsnot statedSize1.97 GBFormatsonnxTasktext classificationLicenseApache-2.0From sourcepermissive
$ fw get onnx-community/laya-multilingual-ONNX
# manifest sha256 e61dd0891f78… · 1.97 GB · 15 files
$ fw verify ./laya-multilingual-ONNX onnx-community/laya-multilingual-ONNX
From sourceHosted (signed)onnx-community/laya-multilingual-ONNXLast check: 2026-11-15 05:00 UTC

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

Quantized of laya-multilingual.

Works with

Runs with

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

Convert with

Scan with

Overview

Size
1.97 GB
Weights
647 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-multilingual

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:00 UTCpassed

Model card

From the publisher at commit 46b77bb. Shown as plain text with links; images open at the publisher.

laya-multilingual (ONNX)#

ONNX conversion of Convai Innovations' convaiinnovations/laya-multilingual, a non-autoregressive decision model (jhu-clsp/mmBERT-base 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.29 GB
onnx/model_fp16.onnx (+ _data), fp16 weights and activations, fp32 inputs/outputs0.65 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-multilingual" });
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| 3.1e-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.035, 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
fp1629.7%28.0%49.8%35.0%0.51 s
fp3229.5%28.5%49.8%35.2%0.67 s

fp16 is the default on WebGPU: it matches fp32 within 0.2 points and is faster. The base checkpoints are zero-shot here; Laya's card reports 0.362 for the English one.

License#

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

Files

15 files · 1.97 GBWeights 647 MB (smallest of 2 ONNX variants). Sizes and sha256 from the signed manifest.
Hide all 15 files with their sha256
FileSizesha256
.gitattributes1.69 KB9002b3569bc2ce0e14144f5d52ea5e964666580156ee3ee3549ead8a9d0624c2
README.md4.09 KB5512ad1cfb7485f5e1aadd76a551193cea814dd012789a89b7061e2c6e6ee8b9
config.json2.86 KBcc32109b1fded91ec6734127ffb1827f80cdcf8ffdd4eeda75a1b0f4d3687dcc
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.py3.04 KBd2c7d2e4e89aaa531bd3da8a0ca74ceb46a4e0225493f726e528c4561f4543c7
conversion/laya_typed_bench.py1.66 KBbe642d798eea5d50f0a935fddd663aee32a12ce6532ec7a6da1606fb4f722e56
onnx/model.onnx3.55 MB22461d988f675dd6c2b89ff8feb9ed7ffcf7e37854e5ed512f8b275178cf2f9f
onnx/model.onnx_data1.29 GBf01238e183ace77661282e4eb2dd9b872c7044cb9678f904cf409e6cc1146d09
onnx/model_fp16.onnx3.57 MB81f641e21289ddb2cd8ac774c1cddebfdb0fa7e4b183e49ad476d2faee46d98a
onnx/model_fp16.onnx_data644 MB3c9eb52f5f795f76d7a681197228131fac7e92c3e5a4c90b68ec4065699ee4cf
tokenizer.json34.4 MB609d8f4c067cd3950f88594c5a802616cea245823836ef5848ee4fc40aab5b6f
tokenizer_config.json502 B424b69444bf7b5809dc2cd2e36d0bd71b8055124dd24274d6db3c655d38205e7
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
46b77bbf56 pinned now2026-11-15 05:00 UTC15 files · 1.97 GB

Use it

$ fw get onnx-community/laya-multilingual-ONNX
# manifest sha256 e61dd0891f78… · 1.97 GB · 15 files
$ fw verify ./laya-multilingual-ONNX onnx-community/laya-multilingual-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-multilingual-ONNX.json --dir ./laya-multilingual-ONNX $ python3 fw.py verify ./laya-multilingual-ONNX ./onnx-community__laya-multilingual-ONNX.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download onnx-community/laya-multilingual-ONNX --revision 46b77bbf5642fec5f14e540570228a8cbe8ab81f --local-dir ./laya-multilingual-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
5512ad1cfb7485f5e1aadd76a551193cea814dd012789a89b7061e2c6e6ee8b9
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-multilingual-ONNXDate: 2026-11-15Commit: 46b77bbSigned: 2DC28CC7B26A283B ✓
Upstream
onnx-community/laya-multilingual-ONNX
Pinned commit
46b77bbf5642fec5f14e540570228a8cbe8ab81f
Manifest
laya-multilingual-ONNX.json · .minisig
Manifest sha256
e61dd0891f787d62f6ab72862dbb8d877600fec4e18ffab478008ecd54f4c3d4
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 05:00 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/onnx-community/laya-multilingual-ONNX.json $ curl -O https://freeweights.allternit.com/manifests/onnx-community/laya-multilingual-ONNX.json.minisig $ minisign -Vm laya-multilingual-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-multilingual · 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-multilingual-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-multilingual-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