Decision-1.0-Lex-0.6B
Lex — Latin for law. Give your decisions a rule.
Open Decision Foundation Models
Turn operational context into structured decisions. Lex is a specialist fine-tuned from Kai to select actions, test conditions and apply scoring rubrics across four operational workflows.
Try Decision Studio · Decision collection.
A sharper specialist
78.15% accuracy — 1.55 points above Laya Typed Decisions.
Lex contains 571,909,635 parameters. Both models were evaluated on the original 2,000-decision English typed-decisions test split, with complete inputs and the official fine-tuned Laya checkpoint. Lex answers 31 more decisions correctly.
| Test accuracy | Lex · 0.6B | Laya Typed Decisions |
|---|---|---|
| Overall | 78.15% | 76.60% |
| Choice · 600 decisions | 74.00% | 73.33% |
| Noul · 600 decisions | 84.67% | 85.67% |
| Score · 800 decisions | 76.38% | 72.25% |
Observed accuracy gain; the paired 95% interval is −0.20 to +3.15 points. Laya leads on Noul and probability-quality metrics. Full evaluation.
Built for operational decisions
| Customer service | Invoice processing | Security incidents | Agent traces |
|---|---|---|---|
| Select an action or escalation. | Check conditions and route exceptions. | Assess a signal against a rubric. | Classify outcomes and flag issues. |
Supply the context, question and candidate descriptions at runtime. Choice returns candidate probabilities, Noul estimates whether a condition holds, and Score returns an ordered distribution and expected value. Applications choose how to act on those outputs.
Lex is evaluated as an English specialist on these four workflows. For broader multilingual tasks, explore the general Kai model.
Optional larger batches: predict_auto_1k uses up to 32 same-type questions when padding does not increase. Earlier B8/B32 comparisons showed approximately 23% lower median latency for 32 short questions and 35% for the multi-context fixture; the final guard was validated separately, not timed. Usage and measurements.
128 mixed questions in 154 ms — 57% lower latency. Automatic typed scheduling accelerates the default SystemOne path with the same weights. Paired local AMD measurements on a fixed workload. Latency and scaling.
Use
Replace the placeholder with a SystemOne-compatible endpoint configured to serve Decision-1.0-Lex-0.6B, and set DECISION_API_KEY to that endpoint's key.
pip install typesafe-sdk
import os
from typesafe_sdk import TypeSafeClient, Choice, Noul
client = TypeSafeClient(
api_key=os.environ["DECISION_API_KEY"],
base_url="https://your-decision-endpoint.example",
model="Decision-1.0-Lex-0.6B",
)
questions = {
"route": Choice(instructions="Which team should handle this request?",
criteria={"delivery": "Damaged or missing parcels", "billing": "Payments and invoices"}),
"urgent": Noul(instructions="Does the customer request action today?"),
}
response = client.system_one(state="The parcel arrived damaged. Please send a replacement today.", questions=questions)
print(response.choices["route"].choice, response.nouls["urgent"].noul)
The same request with curl:
curl -X POST https://your-decision-endpoint.example/v1/systemone \
-H "Authorization: Bearer $DECISION_API_KEY" \
-H "Content-Type: application/json" \
--data '{
"model": "Decision-1.0-Lex-0.6B",
"state": "The parcel arrived damaged. Please send a replacement today.",
"questions": {
"route": {"type": "choice", "instructions": "Which team should handle this request?", "criteria": {"delivery": "Damaged or missing parcels", "billing": "Payments and invoices"}},
"urgent": {"type": "noul", "instructions": "Does the customer request action today?"}
}
}'
Official Python SDK · HTTP API · Usage and deployment details
Make it yours
One state. Many decisions. Use the System One API to submit up to 128 typed questions, or batch the same questions across independent contexts. Results return under your original question IDs.
Run the official SDK and curl examples, or adapt Lex to your own labels and rubrics with the included fine-tuning CLI. Both hard and soft training labels are supported, with checkpoint resume.
The complete 1,024-token budget includes context, instructions, all candidates and special tokens. Overlength requests return an error. Native Choice and Score support 2–255 candidates or ordered levels; the System One and Studio interfaces use 2–10 Score levels.
Architecture
Three 22-layer bidirectional encoder paths share multilingual input embeddings, with separate interaction layers and candidate readouts for Choice, Noul and Score. Lex retains Kai's architecture and specializes its weights through supervised fine-tuning.
Architecture details · Training and methods
Built on Kai and Vela Encoder. Probabilities are not calibrated confidence; candidate order and task wording can affect outputs. Attribution and retained third-party terms · License scope.
Model tree for llm-semantic-router/Decision-1.0-Lex-0.6B
Base model
jhu-clsp/mmBERT-base
