MoDe-S
MoDe-S is a sparse mixture-of-experts decision model for text and JSON, built on MobileMoE-S. It returns calibrated answers in one forward pass, without generating tokens.
- Fastest decision model we tested: 11.0 ms median, 1.5x faster than Liquid AI's d1-2B, 3.8x faster than GLiDE, and 5x faster than InternLM's Intern-Decision-4B, which it also outscores (42.02 vs 38.00). It matches vLLM-SR's d3-nano on the Decision Index (42.02 vs 42.22) at 3.6x its speed.
- Sparse: 0.28B of its 1.27B parameters are active per token, 7x fewer than d1-2B (1.92B), 8x fewer than d3-nano (2.21B), 3-7x fewer than GLiDE (0.75-1.88B) and 17x fewer than Intern-Decision-4B (4.66B): 4 of 60 routed experts plus one shared expert in each layer.
- Calibrated: probabilities are temperature-scaled per question type, so they work as confidence scores.
Model details
The MoDe family has three sizes: MoDe-S, MoDe-M, MoDe-L. All three share the request format, the inference package and the calibration method; larger sizes are more accurate and slower.
MoDe-S is designed for any pipeline step that needs a decision: routing and triage, intent and topic classification, moderation, tool selection, and judging. It is not a chat model.
Knowledge-heavy questions and multi-step reasoning favor larger models (see the knowledge score below). It is tested in English and reads text only.
Inference
MoDe-S runs with the MoDe package, which loads the weights, prepares the GPU, and reads the answers from one
forward pass, so there are no sampling parameters to set.
Quick start:
pip install "MoDe @ git+https://github.com/newrexlabs/MoDe"
from mode_decider import MoDe
model = MoDe.from_pretrained("newrexlabs/MoDe-S")
# Several named questions over one state, answered in one pass
decision = model.decide(
state={"ticket": "I was charged twice for order #4417. I need the duplicate refunded before my rent is due on Friday.",
"customer": {"plan": "premium", "orders_last_year": 23}},
questions={
"team": {"type": "choice", "instructions": "Which team should handle this ticket?",
"criteria": {"billing": "Payments, refunds and invoices", "shipping": "Deliveries and returns",
"tech": "App, login and account problems"}},
"refund": {"type": "noul", "instructions": "Is the customer asking for a refund?"}, # yes/no
"urgency": {"type": "score", "instructions": "How urgent is this ticket?", "criteria": ["Routine", "Soon", "Today"]},
},
)
team billing ████████████████████████ 0.998 ◀ decision
shipping ░░░░░░░░░░░░░░░░░░░░░░░░ 0.002
tech ░░░░░░░░░░░░░░░░░░░░░░░░ 0.000
refund true ████████████████████████ 0.995 ◀ decision
false ░░░░░░░░░░░░░░░░░░░░░░░░ 0.005
urgency 0 Routine ███████░░░░░░░░░░░░░░░░░ 0.280
1 Soon ███████████████░░░░░░░░░ 0.608 ◀ decision
2 Today ███░░░░░░░░░░░░░░░░░░░░░ 0.111
tickets = ["Where is my parcel? It was due Monday.", "The app crashes when I open settings."]
team = {"team": {"type": "choice", "criteria": {"billing": "Payments", "shipping": "Deliveries", "tech": "App problems"}}}
for decision in model.decide_batch([{"state": t, "questions": team} for t in tickets]):
print(max(decision["team"], key=decision["team"].get))
- The request becomes one token sequence:
STATE: <state>(a non-string state as compact JSON with sorted keys), then for each question a line[Q<i>|<type>] <instructions>followed by one line per option,(<j>) <option id>: <description>. - One causal forward pass through the backbone. On a GPU, a single request of up to 8,192 tokens is replayed from a CUDA graph captured at load.
- The hidden state is read at the end of each question line and each option line. A small pointer head (one transformer layer) lets a question's options attend to each other and to the question, then scores every option.
- Each question's scores are divided by its type's temperature, and a softmax is taken over that question's options.
Nothing is generated or sampled, and no answer is inserted into the input. A request longer than the context is answered in smaller groups of questions, each with the full state; a single question that does not fit on its own is rejected.
decide returns {question_id: {option_id: probability}}, in request order; each question's probabilities sum to 1.
Supply at least one question; choice and score need at least two options. Calibrate any decision threshold on data from
your own use.
p = softmax(scores / T), with one temperature per question type, fitted for this checkpoint by minimising log-loss on
held-out calibration records (never a benchmark test set) and clamped to T ≥ 1. It changes confidence, never which option
is most likely. Stored in mode_config.json:
Performance
Benchmarks
Accuracy rises with size on the Decision Index and on all five of its areas. On the Intern-Decision suites, MoDe-M and MoDe-L are level (77.26 and 76.98 on average), each ahead on three of the seven.
Speed
All models below ran on the same card, a split (MIG) NVIDIA RTX PRO 6000, one request at a time, each with its authors' own inference engine. Sorted by median latency per request.
Bold: best in the column; underline: second best. MoDe rows are shaded. c compiled with model.compile(), the d1 card's fast path; the mean includes recompiles on new input shapes. h served over HTTP by the authors' own server, as submitted to the Decision Index. r refused 70 of the 700 requests (over 16 questions or 8,192 tokens); timed on the rest, which are the shorter ones.
License and acknowledgment
MoDe-S is derived from MobileMoE-S by Meta and is released under the
FAIR Noncommercial Research License (LICENSE), the licence of the base model: noncommercial research use only,
subject to the FAIR Acceptable Use Policy. The weights were modified by decision fine-tuning, and this release adds the
option-scoring head, the calibration and this model card. configuration_mobilemoe.py and modeling_mobilemoe.py are Meta's
model code, loaded with trust_remote_code=True. We thank Meta for the MobileMoE models; please acknowledge MobileMoE in any
publication that uses MoDe.
Citation
@misc{mode_2026,
title = {{MoDe}: Mixture of Deciders},
author = {{newrexlabs}},
year = {2026},
howpublished = {\url{https://huggingface.co/newrexlabs/MoDe-S}}
}
For questions and feedback, open an issue on GitHub.