This checkpoint uses
ModernBERT-large
, a
512-token total context
, and Laya's decision Transformer, scoring head and action head. It supports
choice
, ordinal
score
, and boolean
noul
questions. All model computation runs in MLX; the runtime does not require PyTorch or Transformers.
Usage
Install the dedicated runtime on an Apple silicon Mac with macOS 26+ and Python 3.11+:
import laya_mlx as laya
agent = laya.load("aac6fef/laya-mlx")
result = agent.predict(
"I was billed twice. Please refund the duplicate today.",
{
"department": {
"type": "choice",
"instructions": "Which department should handle this request?",
"criteria": ["billing", "technical", "sales"],
},
"refund": {
"type": "noul",
"instructions": "Does the customer ask for money back?",
},
},
)
print(result["answers"])
Use
dtype="float32"
for closer agreement with upstream FP32 arithmetic. The source weights themselves are FP16. Question formatting, tokenizer behavior, calibration temperatures and output schema are preserved.
This is a bidirectional decision encoder loaded with
laya_mlx
. The package provides the custom architecture needed to interpret the checkpoint. The repository does not include a generative language model or training implementation.
Validation
Tested locally on Apple M3 Max, 40-core GPU, 128 GB unified memory, macOS 27.2, Python 3.12.13 and MLX 0.32.2.
FP16 agrees with upstream PyTorch MPS FP32 on the argmax of
63/63
decision distributions across 16 cases.
Maximum calibrated probability difference:
0.0054443
.
100 repeated calls
produced finite, deterministic public outputs; measured MLX active-memory growth after clearing caches was
0 bytes
.
Every exported tensor was checked for exact equality with the corresponding source tensor cast to FP16.
The included
validation.json
contains numerical and stability measurements for both FP32 and FP16 arithmetic.
Full performance report and raw timing samples
compare MLX with the original runtime on the same machine. These checks establish port fidelity, not that every model answer is correct.
Provenance and limits
Source checkpoint:
convaiinnovations/laya
at
c5d78730f3493e4fe16d61507ef4b78eef7318cf
.
Conversion changes parameter names for MLX and preserves FP16 weights. It does not retrain or quantize to fewer bits.
This is an independent port. Model quality, calibration and language/task limitations remain those of the original checkpoint. Questions and options share the context budget with the input state.
The typed-decisions checkpoint is specialized for upstream workflows; the multilingual checkpoint is the intended choice for non-English text.
Apache-2.0. Original Laya models and code are by Convai Innovations and contributors. See
LICENSE
,
NOTICE
,
mlx_config.json
and
manifest.json
for attribution and export details.
Runs of aac6fef laya-mlx on huggingface.co
0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs
More Information About laya-mlx huggingface.co Model
laya-mlx huggingface.co is an AI model on huggingface.co that provides laya-mlx's model effect (), which can be used instantly with this aac6fef laya-mlx model. huggingface.co supports a free trial of the laya-mlx model, and also provides paid use of the laya-mlx. Support call laya-mlx model through api, including Node.js, Python, http.
laya-mlx huggingface.co is an online trial and call api platform, which integrates laya-mlx's modeling effects, including api services, and provides a free online trial of laya-mlx, you can try laya-mlx online for free by clicking the link below.
aac6fef laya-mlx online free url in huggingface.co:
laya-mlx is an open source model from GitHub that offers a free installation service, and any user can find laya-mlx on GitHub to install. At the same time, huggingface.co provides the effect of laya-mlx install, users can directly use laya-mlx installed effect in huggingface.co for debugging and trial. It also supports api for free installation.