ArseneLupinstral v1.0

ArseneLupinstral is the ArseneLupin decision model built on a Mistral base: you give it a state (a document, a ticket, a trace, a JSON record) and typed questions, and it returns a probability distribution for each question, in a single forward pass per option, with no generated text. Three question types:

type answer example
noul yes / no "Does this alert describe unauthorized activity?"
choice one option among several "Which department should handle this ticket?"
score an ordered level "How severe is this incident, from Low to Critical?"

It exposes the same request shape as a System One API: POST /v1/systemone with {"state": ..., "questions": {...}}.

Model

This repository is the complete model, weights in bfloat16 (17.9 GB), served by the code in code/ (the arsenelupin package).

  • Base: mistralai/Ministral-3-8B-Instruct-2512-BF16 (Apache 2.0), revision f6fae9795746f63c9be8344932f01275f3c63734; same architecture, same tokenizer, in the Hugging Face format. The checkpoint keeps the structure of its base: 8.92B parameters, of which 8.49B are used for decisions.
  • Fine-tuning: LoRA rank 32, α 64, on all linear layers, merged into the weights.
  • Read-out: a small trained head (readout/head.safetensors) turns the model's last hidden state into the probability of yes for each option.
  • Calibration: optional per-workflow temperature files (calibration/).

Results

All figures below were measured by us, with the same inputs for every system; each row gives the question type and the number of options. Accuracy counts the option given the highest probability; when several options tie at the top, they share the point. Higher is better. B/2 (half Brier score against a reference distribution): lower is better.

benchmark ArseneLupinstral v1.0 ArseneLupin v1.1 Jev 1.13 openjev 26B laya 421M
Multi-family decisions, yes/no, choice and score (173) — proprietary task 93.1 % 93.1 % 93.6 % 92.5 % 74.0 %
Transfer to an untrained decision, choice and yes/no (200) — proprietary task 93.0 % 92.0 % 85.0 % 91.5 % 47.0 %
Median without list, list mode, choice (50) — proprietary task 100.0 % 98.0 % 98.0 % 86.0 % 14.0 %
jabr v2 — public external benchmark, 49 tasks (869), macro accuracy per task 85.1 % 88.4 % 97.1 % 95.3 % 58.5 %
jabr v2 — choice subset, 20 tasks, macro accuracy per task 93.6 % 92.3 % 97.7 % 98.6 % 70.8 %
Banking77 intents, choice among 12 (800) 88.2 % 88.5 % 92.8 % 88.9 % 86.4 %
CLINC150 intents, choice among 12 (800) 95.9 % 97.0 % 98.4 % 95.4 % 98.8 %
Amazon ESCI product relevance, ja, choice among 4 (500) 64.6 % 69.6 % 64.8 % 62.8 % 32.0 %
MASSIVE intents, 4 languages, choice among 2 to 9 (482) 82.6 % 82.0 % 81.7 % 80.5 % 65.8 %
French search intent, human gold, choice among 10 (1,016) 50.0 % 50.7 % 43.9 % 43.8 % 15.5 %
Hate speech, 3-level score, B/2 (300) 0.0725 0.0658 0.2016 0.1531 0.2511
Security incidents workflow, yes/no and score, B/2 (26), calibrated 0.0783 0.0844 0.0385 0.1076 0.1449
Agent traces workflow, yes/no, choice and score, B/2 (52), calibrated 0.1036 0.0780 0.0701 0.1176 0.2164
Customer service workflow, yes/no, choice and score, B/2 (84), calibrated 0.0652 0.0564 0.0346 0.0712 0.2382

Highlights: ahead of Jev 1.13 on transfer to an untrained decision (93.0 vs 85.0) and on hate speech (B/2 0.0725 vs 0.2016).

Speed

By default, the server of the complete model reads the text shared by the options of a request once, then scores all the options together (engine.mode: shared_prefix in serve.yaml). Measured on one NVIDIA RTX PRO 6000 (Blackwell, 96 GB), bfloat16, transformers 5.17.0, against scoring one option at a time:

one option at a time default
time per option, over 390 real Decision Index requests 84 ms 15 ms
time per request of 32 yes/no questions on a short text 0.74 s 0.08 s
time per request of 32 yes/no questions on a text of about 2,500 tokens 4.24 s 0.44 s

On those 390 requests, 99.4 % of the decisions are the same in both modes; the others were near ties, whose probabilities moved by at most 0.04. The results tables above were computed one option at a time: to compute them the same way, set engine.mode: independent and engine.branch_microbatch: 1 in serve.yaml. If the card runs out of memory, lower engine.max_batch_tokens.

Calibration

Each file in calibration/ holds one correction factor (a temperature), fitted on one kind of workflow so that the probabilities better match how often the answer is right on that workflow. It changes the probabilities, never the chosen answer. Pass the file for your workflow with --calibration, or calibration/default.json for any other workflow.

Usage

Install the serving code (it needs transformers 5.17.0, the version the model was trained and measured with), then run the commands from the repository folder: in serve.yaml, the model is ., this folder. The model needs about 18 GB of GPU memory in bfloat16.

hf download IBOU-SEARCH/ArseneLupinstral-v1.0 --local-dir arsenelupinstral && cd arsenelupinstral
pip install ./code "transformers==5.17.0"
# serve; set model.device in serve.yaml to cuda:0, mps (Mac) or cpu
python -m arsenelupin serve --config serve.yaml --calibration calibration/default.json --port 8000

The request and response formats are those of ArseneLupin v1.1 (see its card). Each option's prompt can hold up to 32,768 tokens (limits.max_branch_tokens in serve.yaml). The other limits sit in the same limits section: by default up to 256 questions and 4,096 options per request, 255 options per choice question and 10 levels per score question. GET /health reports the limits in force.

Integrity: SHA256SUMS lists every file of the model; at start-up the server also checks the fingerprints of readout/token_ids.json and readout/head.safetensors against readout/environment.json, which records how the model was built.

Licence

Apache 2.0, like the base model (licence text in LICENSE).

Downloads last month
16
Safetensors
Model size
9B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for IBOU-SEARCH/ArseneLupinstral-v1.0

Collection including IBOU-SEARCH/ArseneLupinstral-v1.0