Decision 1.0 — Lex-0.6B

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.

128 mixed questions in 154 ms — 57% lower latency. Automatic typed scheduling accelerates the measured SystemOne runtime with the same weights. Paired local AMD measurements on a fixed workload. Latency and scaling.

Download for local inference

hf download llm-semantic-router/Decision-1.0-Lex-0.6B --local-dir Decision-1.0-Lex-0.6B

This repository contains model files and provenance only. Local inference requires a compatible vLLM Semantic Router Decision runtime, distributed separately. Check its hardware support before serving. The runtime must support vllm-sr-decision format version 1 and the file map in config.json. transformers.AutoModel.from_pretrained does not load the complete decision model.

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

Make it yours

One state. Many decisions. A compatible System One endpoint can submit typed questions and return results under their original question IDs. Request limits and batching depend on that deployment.

Use the SDK and curl examples with a compatible endpoint. Lex's specialization recipe and source data are documented in Methods and Training provenance.

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

Lex 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.

Downloads last month
41
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for llm-semantic-router/Decision-1.0-Lex-0.6B

Spaces using llm-semantic-router/Decision-1.0-Lex-0.6B 3

Collection including llm-semantic-router/Decision-1.0-Lex-0.6B