Skip to page content
SAVRN
Search Plan a project

Open-weight model · Text classification

Decision-1.0-Lex-0.6B

by vLLM Semantic Router llm-semantic-router/Decision-1.0-Lex-0.6B

Decision-1.0-Lex-0.6B is an open-weight model for text classification from vLLM Semantic Router, released under Apache License 2.0. Its published files total 2.3 GB.

Lex — Latin for law. Give your decisions a rule. Open Decision Foundation Models Turn operational context into structured decisions.

Parameters—
Context—
Weights2.3 GB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads—

Model Card

By vLLM Semantic Router, published under apache-2.0, revision 6c5e3d48b9e6.

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. 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. Observed accuracy gain; the paired 95% interval is −0.20 to +3.15 points. Laya leads on Noul and probability-quality metrics. Full…

Read vLLM Semantic Router's full model card

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

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.

Identity and Version

Repository
llm-semantic-router/Decision-1.0-Lex-0.6B
Publisher
vLLM Semantic Router
Task
Text classification
Modality
Text
Library
Not stated by the source
Parameters
Not stated by the source
Languages
Not stated by the source
Revision
6c5e3d48b9e67cd8bddbade3277e2e58506af8f0
First published
2026-09-21
Last updated
2026-09-27

Files and Weights

50 files, 2.3 GB in total. The weights are 4 files totalling 2.3 GB in safetensors.

Weights4 files · 2.3 GB
Configuration11 files · 67.9 KB
Tokenizer4 files · 34.4 MB
Documentation15 files · 75.3 KB
Other15 files · 2.3 MB
Repository1 file · 446 B
Every file
FileTypeSizeSHA-256
native/choice_encoder.safetensorsWeights441.3 MB 9516cc841c48
native/decision_heads.safetensorsWeights177.2 MB bce3ee658a97
native/encoder/model.safetensorsWeights1.2 GB daaafd81c4ed
native/score_encoder.safetensorsWeights441.3 MB 4f4579597784
NOTICE_SOURCES.jsonConfiguration9.3 KB —
TRAINING_PROVENANCE.jsonConfiguration2.3 KB —
config.jsonConfiguration707 B —
evaluation/MIXED_QUESTION_SCALING.jsonConfiguration32.8 KB —
evaluation/TECHNICAL_VALIDATION.jsonConfiguration1.5 KB —
native/decision_config.jsonConfiguration14.3 KB —
native/encoder/config.jsonConfiguration2.8 KB —
native/tokenizer/special_tokens_map.jsonConfiguration1.1 KB —
source-metadata/ENCODER_SOURCE.jsonConfiguration425 B —
source-metadata/MODEL_LICENSE_METADATA.jsonConfiguration1.5 KB —
source-metadata/TRANSFORMERS_LICENSE_SOURCE.jsonConfiguration1.2 KB —
ARCHITECTURE.mdDocumentation1.4 KB —
DISTRIBUTION_TERMS.mdDocumentation1.3 KB —
LICENSEDocumentation11.4 KB —
LICENSES/gemma/NoticeDocumentation1.1 KB —
LICENSING_STATUS.mdDocumentation1.5 KB —
NOTICEDocumentation4.4 KB —
README.mdDocumentation6.2 KB —
TRAINING_ATTRIBUTION.mdDocumentation5.8 KB —
evaluation/EVALUATION.mdDocumentation2.8 KB —
evaluation/METHODS.mdDocumentation2.5 KB —
evaluation/PERFORMANCE.mdDocumentation1.4 KB —
evaluation/VALIDATION.mdDocumentation1.9 KB —
source-metadata/ENCODER_README.mdDocumentation2.0 KB —
source-metadata/MMBERT_LICENSE_SOURCE_README.mdDocumentation29.6 KB —
source-metadata/VELA_LICENSE_SOURCE_README.mdDocumentation2.0 KB —
LICENSES/Transformers-Apache-2.0.txtOther11.4 KB —
LICENSES/Upstream-MIT.txtOther1.2 KB —
LICENSES/gemma/GEMMA_PROHIBITED_USE_POLICY.htmlOther4.6 KB —
LICENSES/gemma/GEMMA_TERMS.htmlOther13.5 KB —
assets/architecture-atlas.pdfOther635.3 KB ff64805a39d1
assets/architecture.pngOther432.4 KB daeed79f92a6
assets/architecture.svgOther23.4 KB —
assets/attention-geglu.svgOther10.3 KB —
assets/candidate-readout.pngOther309.7 KB ad4be86a2aa0
assets/decision-lex-header.pngOther682.7 KB cc7e67c62382
assets/mixed-question-scaling.pdfOther28.0 KB —
assets/mixed-question-scaling.pngOther121.6 KB 4efadb4888c4
assets/mixed-question-scaling.svgOther14.6 KB —
assets/residual-layers.svgOther11.0 KB —
source-metadata/TRANSFORMERS_MODERNBERT_SOURCE_HEADER.txtOther1.5 KB —
.gitattributesRepository446 B —
LICENSES/gemma/TOKENIZER_TERMS.mdTokenizer1.3 KB —
native/tokenizer/tokenizer.jsonTokenizer34.4 MB 609d8f4c067c
native/tokenizer/tokenizer_config.jsonTokenizer46.5 KB —
source-metadata/MMBERT_TOKENIZER_LINEAGE.yamlTokenizer2.8 KB —

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
2.3 GB
Download from vLLM Semantic Router

Released by vLLM Semantic Router through its official repository on Hugging Face. Read the license.

Built From

Memory Requirements

PrecisionWeights in memory
As published2.3 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About Decision-1.0-Lex-0.6B

Can I use Decision-1.0-Lex-0.6B commercially?

Yes. Decision-1.0-Lex-0.6B is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

Similar Models

Model · Text classification

twitter-roberta-base-sentiment-latest

Cardiff NLP

This is a RoBERTa-base model trained on ~124M tweets from January 2018 to December 2021, and finetuned for sentiment analysis with the TweetEval benchmark. The original Twitter-based RoBERTa model can be found here and the original reference paper is TweetEval. This model is suitable for English. 0 -> Negative; 1 -> Neutral; 2 -> Positive This sentiment analysis model has been integrated into TweetNLP. You can access the demo here.

Open weights cc-by-4.0 514 tokens transformers

Model · Text classification

finbert-tone

Yi

FinBERT is a BERT model pre-trained on financial communication text. The purpose is to enhance financial NLP research and practice. It is trained on the following three financial communication corpus. The total corpora size is 4.9B tokens. More technical details on FinBERT: Click Link This released finbert-tone model is the FinBERT model fine-tuned on 10,000 manually annotated (positive, negative, neutral) sentences from analyst reports. This model achieves superior performance on financial tone analysis task. If you are simply interested in using FinBERT for financial tone analysis, give it a try. If you use the model in your academic work, please cite the following paper: Huang, Allen H.…

Open weights 512 tokens transformers

Model · Text classification

ms-marco-MiniLM-L-6-v2

Joshua

https://huggingface.co/cross-encoder/ms-marco-MiniLM-L-6-v2 with ONNX weights to be compatible with Transformers.js. If you haven't already, you can install the Transformers.js JavaScript library from NPM using: Note: Having a separate repo for ONNX weights is intended to be a temporary solution until WebML gains more traction. If you would like to make your models web-ready, we recommend converting to ONNX using Optimum and structuring your repo like this one (with ONNX weights located in a subfolder named onnx).

Open weights 512 tokens transformers.js

Model · Text classification

twitter-xlm-roberta-base-sentiment

Cardiff NLP

This is a multilingual XLM-roBERTa-base model trained on ~198M tweets and finetuned for sentiment analysis. The sentiment fine-tuning was done on 8 languages (Ar, En, Fr, De, Hi, It, Sp, Pt) but it can be used for more languages (see paper for details). This model has been integrated into the TweetNLP library.

Open weights 514 tokens transformers

Model · Text classification

unbiased-toxic-roberta

Unitary

The huggingface models currently give different results to the detoxify library (see issue here). For the most up to date models we recommend using the models from https://github.com/unitaryai/detoxify Trained models & code to predict toxic comments on 3 Jigsaw challenges: Toxic comment classification, Unintended Bias in Toxic comments, Multilingual toxic comment classification. Built by Laura Hanu at Unitary, where we are working to stop harmful content online by interpreting visual content in context. Score not directly comparable since it is obtained on the validation set provided and not on the test set. To update when the test labels are made available. It is also noteworthy to mention…

Open weights apache-2.0 514 tokens transformers

Model · Text classification

emotion-english-distilroberta-base

Hartmann

With this model, you can classify emotions in English text data. The model was trained on 6 diverse datasets (see Appendix below) and predicts Ekman's 6 basic emotions, plus a neutral class: 1) anger 2) disgust 3) fear 4) joy 5) neutral 6) sadness 7) surprise The model is a fine-tuned checkpoint of DistilRoBERTa-base. For a 'non-distilled' emotion model, please refer to the model card of the RoBERTa-large version. a) Run emotion model with 3 lines of code on single text example using Hugging Face's pipeline command on Google Colab: b) Run emotion model on multiple examples and full datasets (e.g.,.csv files) on Google Colab: Please reach out to [email protected] if you have any…

Open weights 514 tokens transformers