Imperium — typed decision model for support tickets (PT-BR/EN)

This repository = Imperium fine-tuned for platform triage (LoRA task specialists over the public Imperium base). The teacher itself lives at vllm-sr/d3.

by Syvor AI (Raphael Pizzo) · status: candidate

Imperium (this repo) is a LoRA fine-tune of the public Imperium teacher (our 26B public decision model — a Qwen3.8-27B backbone with a 255-way code readout for typed decisions) that turns the teacher into a working support-triage engine for our platform: one forward pass answers three typed questions — category (17 classes), decision (5 classes), urgency (0–3 score) — with a probability per answer. No text generation.

Results (our measured régua — private, never used in training)

Development régua (1,523 real cases / 4,569 questions; gates were pre-declared in writing before any measurement):

metric gate result
overall accuracy ≥ 0.8327 0.8731
urgency accuracy ≥ 0.8438 0.8858
high+critical urgency recall ≥ 0.7311 0.8972
category / decision accuracy not below champion −1pp 0.9002 / 0.8332 (above champion)
mirror families: overall ≥ 0.8867 0.9544
mirror families: critical recall ≥ 0.7686 0.9531
gold: false critical alarms (low/moderate cases flagged as critical) 0 target 0 / 239

Held-out gold test (753 real cases / 2,259 questions, frozen, judged by an external frontier API — "juiz-D" in our write-ups; single report-only session, never seen in training):

model category decision urgency overall
Imperium-Triage (this repo) 0.8207 0.7092 0.7556 0.7618
juiz-D — frontier LLM judge 0.7238 0.6892 0.7251 0.7127
Veredicto Trium (9B, release composition) 0.7012 0.6892 0.7450 0.7118
Veredicto v4 (legacy urgency adapter alone) 0.2470 0.1633 0.7450 0.3851
Decisum (322M System-1 ensemble, production) 0.5604 0.6375 0.6866 0.6282
v11e (production ensemble, v10+v11c) 0.5604 0.6375 0.6866 0.6282
v10 (prior generation, alone) 0.5471 0.6441 0.6786 0.6233
v11c (prior generation, alone) 0.5564 0.6109 0.6707 0.6127
clef-flash (public, zero-shot) — — — 0.4772

Δ vs juiz-D (frontier): category +9.7 pp · decision +2.0 pp · urgency +3.1 pp · overall +4.9 pp — the sweep that unlocked production candidacy. Δ vs our production ensemble (v11e): overall +13.4 pp (0.7618 vs 0.6282 — a figure that exactly reproduces the historically documented v11e number). Urgency also passes the 0.745 record set by Veredicto, our dedicated 9B urgency specialist.

Zero-shot d3 on this gold test: not evaluated (our protocol spends one gold session per finalist; the un-fine-tuned base was measured on the dev régua instead: overall 0.6089, urgency accuracy 0.6257, high+critical recall 0.8583 — the complementarity finding that motivated hard-target training).

Footnotes: the Decisum/v11e row is our production System-1 ensemble (v10+v11c, probability-average) recomputed on these exact 753-case questions — a figure that reproduces the historically documented v11e number (62.8% overall); its per-column values were never published before this table. Veredicto Trium values from its release card (same gold).

The key finding: soft targets collapse critical recall

Our first fine-tune used soft consensus targets (probability distributions from a 5-judge panel). Overall accuracy jumped — and high+critical urgency recall collapsed from 0.858 (zero-shot) to 0.597. Retraining the urgency head with one-hot hard targets (everything else identical) restored recall to 0.897 and raised urgency accuracy (0.808 → 0.886). If a critical class matters to your product, do not feed it soft-averaged labels. Full write-up: our technical series, part 6.

Training recipe (summary)

  • Base: vllm-sr/d3 (26B; hybrid linear attention, 255-way code readout).
  • Train through the exact inference forward path (same prompt builder, same encoder, same FP32 readout) with a numeric fidelity gate before training: without adapters, the training forward must reproduce served predictions within max |Δp| ≤ 2.5e-02 — otherwise abort.
  • LoRA: r=32, α=64, dropout 0.05, all-linear (~249 M trainable), readout frozen FP32; AdamW 1e-4, cosine, seed fixed; ~8 s/step at ~8 k tokens on one RTX PRO 6000 96 GB with per-layer gradient checkpointing.
  • Data: private, explicitly redacted support-ticket corpus (753-case gold excluded), one-hot hard labels for urgency; consensus labels for the auxiliary tasks. Three LoRA specialists (urgency/category/decision); served assembled per task.
  • The 256-case frozen mirror sample and the gold test are excluded from training by construction and verified by hash.

Intended use

  • Single-pass triage of support conversations in PT-BR (or EN) against our published decision schema above; any-schema typed questions over a text state are supported by the base architecture.
  • Serving: vLLM systemone endpoint, or the d3 runtime with the LoRA adapters applied per task (see files).

Operating characteristics (measured on the gold test)

  • Zero false critical alarms: among the 239 low/moderate-urgency gold cases, the model flagged 0 as crítica. When it says critical, it means it.
  • One level conservative on the rare critical slice: gold contains only 18 crítica cases (2.4%). On them the model answers alta 13×, crítica 4×, baixa 1× — a deliberate consequence of hard-target urgency training (the alternative, soft consensus targets, collapsed this behavior in earlier experiments — see part 6 of our write-ups).
  • High+critical recall: 0.6525 on gold (118 cases), 0.8972 on the dev régua, 0.9531 on the mirror families.
  • Policy-specific decision column: the decision labels encode our platform's escalation policy — it will not transfer to another platform without retraining (category transfers much more easily).
  • Complete-case accuracy (all three answers simultaneously correct) on gold: 0.458.
  • Serving shape: the measured performance comes from per-task specialists (urgency/category/decision LoRA adapters, see adapters/) applied by a thin router over the public d3 runtime — a single merged model would blend the specialists and NOT reproduce these numbers. Pair probabilities with your routing rules; on our régua the model raised the auto-resolution bar (production ensemble: 0.6282 overall on gold — this model: 0.7618).

Privacy

Fine-tuned exclusively on private, explicitly redacted support tickets (credential masking applied before any use). No customer, company or third-party platform names are part of the model, the data or this card. The gold/holdout test never entered training and was consumed only as a single report-only evaluation.

How to use (reproduces the measured numbers)

Why base + 3 adapters + router: the measured numbers come from per-task specialists — urgency uses a hard-target-trained adapter, category and decision use their own specialists. Merging the three LoRAs into a single weight set would blend the specialists and would not reproduce these numbers. The correct package is: the public base + these three adapters + a thin router that applies the right specialist per question (inference_example.py, included).

Step by step:

# 1. base (public, ~49 GB)
huggingface-cli download vllm-sr/d3 --local-dir ./d3

# 2. adapters (this repo, ~2.6 GB total)
#    adapters/urgency · adapters/category · adapters/decision

# 3. environment (python 3.12)
pip install "transformers>=5.17" "torch>=2.8" peft accelerate             "flash-linear-attention==0.5.2" einops safetensors

# 4. run (answers category + decision + urgency for one ticket state)
python3 inference_example.py --d3 ./d3 --state-file ticket.txt
  • One d3 runtime; the three specialists attach as named PEFT adapters and are switched per question (backbone.set_adapter(task)).
  • Serving at scale: the same runtime batches prompts; put the router in front (per question → its specialist). Numbers in the tables above were produced by exactly this path.
  • Prompts follow the base model's public contract (system + State: + Question: + coded options, temperature 0).

Files

Files

path what
adapters/urgency/ LoRA specialist for the urgencia question (hard-target trained — see the key finding above)
adapters/category/ LoRA specialist for categoria
adapters/decision/ LoRA specialist for decisao
inference_example.py serving snippet that reproduces the measured numbers (one runtime, per-task specialist switching)

Apply one specialist per question via a thin router (see inference_example.py) over the public d3 runtime. A single merged model would blend the specialists and not reproduce these numbers.

Family

Family

model size role
Decisum 322M ×2 (ensemble) System 1: always-on triage
Veredicto 9B urgency specialist / System 2
Imperium 26B teacher & arbiter (public)
Imperium-Triage 26B + LoRA single-pass triage engine (this model)

Citation

@misc{imperium_triage_2026,
  title = {Imperium-Triage: LoRA-trained typed decision model for support triage (PT-BR)},
  author = {Raphael Pizzo},
  year = {2026},
  publisher = {Syvor AI},
  howpublished = {\url{https://huggingface.co/syvorai/}},
  note = {LoRA fine-tune of vllm-sr/d3; hard-target urgency head; single-pass typed decisions}
}
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for syvorai/imperium

Base model

Qwen/Qwen3.8-27B
Finetuned
vllm-sr/d3
Adapter
(2)
this model