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

laya-typed-decisions

Date: 2026-11-15Commit: e929ae5Signed: 2DC28CC7B26A283B ✓

Text classification model with 421M parameters. Safetensors weights, 846 MB in all. Published by convaiinnovations under Apache-2.0.

421M params846MBlaya-typed-decisionssafetensorspermissive
FactsParams421MSize846 MBFormatssafetensorsTasktext classificationLicenseApache-2.0From sourcepermissive
$ fw get convaiinnovations/laya-typed-decisions
# manifest sha256 32c6ebe74eae… · 846 MB · 8 files
$ fw verify ./laya-typed-decisions convaiinnovations/laya-typed-decisions
From sourceHosted (signed)convaiinnovations/laya-typed-decisionsLast check: 2026-11-15 03:21 UTC

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

Works with

Runs with

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

Overview

Size
846 MB
Weights
843 MB (safetensors)
Parameters
421M
Formats
safetensors
Task
text classification
License
Apache-2.0 (permissive)
Files
8, each with a sha256
Publisher
convaiinnovations
Added
2026-11-15
Section
alt.freeweights.vision
Lineage

Original release from the publisher.

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 03:21 UTCpassed

Model card

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

Image: image

Laya Typed-Decisions#

Non-autoregressive System 1 decision model, fine-tuned on the typed-decisions workflows: agent-trace observability, customer service, invoice processing and security incidents.

Part of the Laya family.

checkpointencoderparamscontextuse it for
convaiinnovations/layaModernBERT-large421M512English, general
convaiinnovations/laya-multilingualmmBERT-base322M1024100+ languages
convaiinnovations/laya-typed-decisions (this repo)ModernBERT-large421M1024these four workflows

Benchmark#

400 test cases, 2,000 decisions, measured on the official test split.

modelaccuracysoft accBrierECEscore MAE
this checkpoint0.7660.4710.0620.2130.242
TypeSafe Jev 1.13.0 (published)0.7270.5800.1480.1440.391
teacher self-agreement ceiling0.735
ModernBERT-base specialist (published)0.646
per-question majority class0.461
random guess0.318
laya (not fine-tuned)0.3620.3320.3160.1750.694
laya-multilingual (not fine-tuned)0.3420.3260.4390.2850.687

+3.9 points over Jev's published 0.727, above the 0.735 teacher ceiling, with 2.4x better Brier and 1.6x better score MAE.

Jev figures are third-party published, not measured here — there is no TypeSafe API access in this project, and sample sizes and prompts differ. Treat the comparison as indicative.

By workflow#
workflowaccuracy
invoice processing0.804
security incidents0.766
customer service0.764
agent-trace observability0.730
By primitive#
typeaccuracyECEn
noul0.8570.192600
choice0.7330.255600
score0.7230.199800

Quickstart#

pip install laya
import laya

agent = laya.load("convaiinnovations/laya-typed-decisions")
result = agent.predict(state, questions)

Or route to it explicitly:

from laya import Router

router = Router()
router.predict(state, questions, model="typed-decisions")

Router will not select this checkpoint automatically unless you construct it with auto_task_detection=True — it is specialised to four synthetic workflows and should not be a silent default.

If this checkpoint is on a hot path, keep it resident rather than loading it per request:

router = Router()
router.preload(["typed-decisions"])          # or router.attach("typed-decisions", agent)

preload fetches and builds the checkpoints you name once; attach registers an Agent you already hold, so nothing is loaded twice.

laya.load() builds the model without a throwaway random initialisation, so loading is about 10x faster with identical answers.

agent.predict_batch(states, questions) scores many states in shared forward passes, with answers identical to one call per state, which suits workflow triage over a queue.

If laya.load() hangs: transformers probes for TensorFlow at import, and when TF is installed its abseil runtime can deadlock model construction. Run with USE_TF=0.

Training#

Fine-tuned from convaiinnovations/laya on the benchmark's 1,200-case training split (6,000 decisions) with RLCD: the policy reports a distribution, exploration adds zero-mean Gaussian noise to the logits, and the reward is a strictly proper scoring rule (log + spherical, plus ranked probability score for ordinal questions), so expected reward is maximised only by honest probabilities. Updates are REINFORCE with a group-mean baseline, alongside soft cross-entropy against the teacher's distributions.

Reproduce it: laya_finetune_typed_decisions_2xT4_kaggle.ipynb — about 4–5 hours on Kaggle's free 2xT4.

Limits#

  • This is a specialist. It was fine-tuned on four specific synthetic workflows. Expect it to behave like the base laya checkpoint, or worse, on anything else.
  • Soft accuracy trails Jev (0.471 vs 0.580): its argmax is better, but its probability distributions match the teacher less well.
  • Still over-confident (ECE 0.213 vs Jev's 0.144). Its temperature_by_options was inherited from the base checkpoint and overrides the per-type temperatures fitted for this model — refit on your own held-out data before relying on the probabilities.
  • Its per-type temperatures were fitted on training data. The fine-tuning run fitted [1.0148, 1.0374, 1.0575] on a slice of the same items it had just trained on, which is why they sit so close to 1.0 (#186). The notebook now holds that slice out of training. Until this checkpoint is refit, treat its confidence as uncalibrated.
  • English only. Use laya-multilingual for other languages.
  • Keep choice questions under ~20 options. Options share a fixed 256-token head budget, so a large label space leaves few tokens per label and accuracy falls off sharply.

Apache 2.0 · Convai Innovations

Files

8 files · 846 MBWeights 843 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 8 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md6.34 KB83e67a995a70a9a9ef6cc1f8c68da654f11eee081c9bb14de07c37b08fcc3113
config.json160 B7add7c041b53f7091e65908553af79ab3f077946e5f2312d510ae13b17c7c134
encoder/config.json2.08 KB5268d24ad3b77c8151de5dcb0762ba4391619aad9ab0bda33e36fb083cfeae6d
model.safetensors843 MB4fa56de72383a9d3efa9cfa78955733c81b9fc8067a587ca4beb82c78107a24e
rl_agent_config.json847 Bebf0cd524d92342a6be5e48e9fca3d7c2babfb5a56ccd79d2171ef5d8c7f7be8
tokenizer/tokenizer.json3.58 MB6c8aaa9a542084f2457eab775d4eeb51f92a70c0fd9de28d5edb0ddec3c08d30
tokenizer/tokenizer_config.json337 B08d4cf3ac4dca381759441b85b91a6d40e688471dcd33d15d6649eb0a9a854d1
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
e929ae5cf6 pinned now2026-11-15 03:21 UTC8 files · 846 MB

Use it

$ fw get convaiinnovations/laya-typed-decisions
# manifest sha256 32c6ebe74eae… · 846 MB · 8 files
$ fw verify ./laya-typed-decisions convaiinnovations/laya-typed-decisions
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/convaiinnovations/laya-typed-decisions.json --dir ./laya-typed-decisions $ python3 fw.py verify ./laya-typed-decisions ./convaiinnovations__laya-typed-decisions.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download convaiinnovations/laya-typed-decisions --revision e929ae5cf69bc34259cd2f95c9e91145b818b1f0 --local-dir ./laya-typed-decisions

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
83e67a995a70a9a9ef6cc1f8c68da654f11eee081c9bb14de07c37b08fcc3113
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: convaiinnovations <huggingface.co/convaiinnovations>Newsgroups: alt.freeweights.visionSubject: laya-typed-decisionsDate: 2026-11-15Commit: e929ae5Signed: 2DC28CC7B26A283B ✓
Upstream
convaiinnovations/laya-typed-decisions
Pinned commit
e929ae5cf69bc34259cd2f95c9e91145b818b1f0
Manifest
laya-typed-decisions.json · .minisig
Manifest sha256
32c6ebe74eae1deb72a8afa2bb5916073843c5e81328fc385ce09c6795f125ee
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:21 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/convaiinnovations/laya-typed-decisions.json $ curl -O https://freeweights.allternit.com/manifests/convaiinnovations/laya-typed-decisions.json.minisig $ minisign -Vm laya-typed-decisions.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

1 model in the catalog name this one as their parent.

Quantizations
1
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download convaiinnovations/laya-typed-decisions
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.json. Provenance. Takedown history: none.

Variants

1 quantized or adapter build of laya-typed-decisions. Each has its own license check and page.

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