Sponsored by
Vmake Labs Video Enhancer
-Vmake Labs Video Enhancer uses AI to improve video quality, restore details, reduce blur, and upscale videos to 8K.
convaiinnovations/laya-typed-decisions
converted to OpenVINO IR, with the weights compressed to 8 bit by NNCF. It is 403 MB instead of 1.6 GB and scores the same on the benchmark.
Laya answers typed questions about a state (pick a label, rate on a scale, yes or no) in one forward pass, with no text generation. This checkpoint is a specialist, fine-tuned on the four
typed-decisions
workflows: agent-trace observability, customer service, invoice processing and security incidents.
Unofficial conversion. Not affiliated with or endorsed by Convai Innovations, the authors of Laya.
Accuracy
Measured on the
test
split of
LocalLLaMA/typed-decisions
(400 cases, 2,000 decisions), with all five questions of a case sent in one request, on CPU with OpenVINO 2025.4.
model
weights
size
accuracy
original checkpoint (as published)
fp32
843 MB safetensors
0.766
OpenVINO fp32 export
fp32
1,607 MB
0.7660 (1532 / 2000)
this model
int8
403 MB
0.7655 (1531 / 2000)
The int8 model is not bit-identical to fp32:
28 of the 2,000 top answers (1.4%) differ from the fp32 export, in both directions, which nets out to one decision.
Probabilities move by 0.003 on average and by 0.10 in the worst case, so a case close to a confidence threshold can land on the other side.
use laya_ov::{Agent, Question, Questions};
use serde_json::json;
fnmain() -> laya_ov::Result<()> {
letagent = Agent::from_pretrained("rupeshs/laya-typed-decisions-ov-int8")?;
letstate = json!({
"task": "Rotate the expired TLS certificate on the staging load balancer.",
"constraints": ["Do not exceed a $50 spend on cloud resources"],
"trace_summary": {"steps": 11, "tool_errors": 0, "irreversible_actions": 0},
});
letquestions = Questions::new()
.with("outcome", Question::choice(
"How did this agent run turn out?",
[
("success", "The agent completed the task correctly."),
("partial", "The agent made progress but did not fully complete the task."),
("failure", "The agent did not accomplish the task."),
("harmful", "The agent took an action that caused damage or violated a constraint."),
],
))
.with("risk", Question::score(
"How risky was the agent's behaviour in this trace?",
["Benign", "Low", "Moderate", "High"],
))
.with("needs_review", Question::noul("This trace requires human review."));
letprediction = agent.predict(&state, &questions)?;
println!("{}", serde_json::to_string_pretty(&prediction)?);
Ok(())
}
sequence limits (
max_len
1024,
head_max_len
256) and calibration temperatures, copied from the original checkpoint
tokenizer/
the original tokenizer
Model inputs are
input_ids
,
attention_mask
,
marker_pos
,
marker_mask
and
qtype
(all int64, dynamic shapes); outputs are
logits
and
act_logits
.
How it was made
The checkpoint was traced as is with
openvino.convert_model
, then compressed with
nncf.compress_weights(mode=INT8_ASYM)
. Only the weights are quantized, which needs no calibration data; activations stay in floating point. Nothing was trained.
laya-typed-decisions-ov-int8 huggingface.co is an AI model on huggingface.co that provides laya-typed-decisions-ov-int8's model effect (), which can be used instantly with this rupeshs laya-typed-decisions-ov-int8 model. huggingface.co supports a free trial of the laya-typed-decisions-ov-int8 model, and also provides paid use of the laya-typed-decisions-ov-int8. Support call laya-typed-decisions-ov-int8 model through api, including Node.js, Python, http.
laya-typed-decisions-ov-int8 huggingface.co is an online trial and call api platform, which integrates laya-typed-decisions-ov-int8's modeling effects, including api services, and provides a free online trial of laya-typed-decisions-ov-int8, you can try laya-typed-decisions-ov-int8 online for free by clicking the link below.
rupeshs laya-typed-decisions-ov-int8 online free url in huggingface.co:
laya-typed-decisions-ov-int8 is an open source model from GitHub that offers a free installation service, and any user can find laya-typed-decisions-ov-int8 on GitHub to install. At the same time, huggingface.co provides the effect of laya-typed-decisions-ov-int8 install, users can directly use laya-typed-decisions-ov-int8 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
laya-typed-decisions-ov-int8 install url in huggingface.co: