Laya Decision Models with OpenVINO™
Laya is a multilingual, non-autoregressive System 1 decision model from Convai Innovations. Instead of generating text token by token, it scores answer options in a single forward pass, which makes it a
Content
Laya Decision Models with OpenVINO™
Laya is a multilingual, non-autoregressive System 1 decision model from Convai Innovations. Instead of generating text token by token, it scores answer options in a single forward pass, which makes it a fast and reliable building block for routing, triage and filtering tasks:
- Single-pass decisions: no autoregressive decoding — one forward pass scores all answer options at once.
- No hallucinations by design: the model never generates free-form text, it only scores the options you provide.
- Three question types:
choice(pick one of N options),score(rate on a fixed scale) andnoul(none-of-the-above / binary uncertainty). - Calibrated probabilities: trained and calibrated with RLCD (RL from Contrastive Distillation), so confidence scores are meaningful.
- Multilingual: strong out-of-the-box quality in English plus 100+ other languages.
More details can be found in the original model card.
In this tutorial, we will:
- Install required dependencies
- Download the Laya checkpoint from the Hugging Face Hub
- Convert the model to OpenVINO IR with
optimum-cli, choosing between fp16, int8 and int4 weight compression - Run an email-triage example with the official
system_oneAPI on CPU or Intel GPU, measure inference latency and triage custom emails interactively
The notebook installs optimum-intel from the fork branch that adds Laya export and inference support, until it is upstreamed.
Source and license
- Source
- Intel OpenVINO Notebooks
- Original
- openvinotoolkit/openvino_notebooks/notebooks/laya-decision-models
- License
- Apache-2.0