A specialist for the Typed Decisions
benchmark: one AdaptiveClassifier head per
(workflow, question) on a frozen sentence-transformers/all-MiniLM-L6-v2 encoder, 20 heads in total. Each head takes the rendered
state, the question text and its options, and returns a probability distribution over the question's labels.
This is not zero-shot. It was fitted on the 1,200-case train split of Typed Decisions and is scored on the
400-case test split. Per the benchmark's own rules it is a specialist, and should not be compared with
generalist models that answer unseen question schemas.
test split, 400 cases, 2,000 decisions)| Metric | This run | Benchmark README |
|---|---|---|
| Accuracy | 0.607 | 0.587 |
| KL from gold (lower is better) | 0.249 | 0.262 |
| Brier (lower is better) | 0.136 | 0.143 |
| ECE (lower is better) | 0.136 | 0.108 |
"This run" is the model in this repository, fitted and scored from the public dataset with
adaptive-classifier 0.2.0 on Apple MPS, and scored by the benchmark maintainers on the test split.
Full per-question numbers are in results.json.
sentence-transformers/all-MiniLM-L6-v2, frozen, max_length 512, mean pooling.score questions are treated as ordinal classes and decoded to an expected score.train, never on test.# pip install adaptive-classifier==0.2.0 torch transformers
from predict import Specialist
m = Specialist("."); print(m.predict(workflow, state, questions)) # questions in the benchmark's wire format
python3 predict.py case.json does the same from a JSON file. python3 predict.py --test-ref checks that the
reloaded heads reproduce the saved predictions for the first 20 test cases. The encoder is downloaded from the Hub
on first load and shared by all heads.
agent_trace_observability, customer_service, invoice_processing, security_incidents). Any other question gets a uniform answer.heads/customer_service__action/model.safetensors 899.6 kBheads/customer_service__category/model.safetensors 899.5 kBheads/security_incidents__severity/model.safetensors 899.5 kBheads/agent_trace_observability__action/model.safetensors 897.2 kBheads/security_incidents__disposition/model.safetensors 897.2 kBheads/agent_trace_observability__outcome/model.safetensors 897.2 kBheads/invoice_processing__disposition/model.safetensors 897.2 kBheads/agent_trace_observability__risk/model.safetensors 897.1 kBheads/agent_trace_observability__urgency/model.safetensors 897.1 kBheads/customer_service__churn_risk/model.safetensors 897.1 kBheads/customer_service__urgency/model.safetensors 897.1 kBheads/invoice_processing__discrepancy_severity/model.safetensors 897.1 kBheads/invoice_processing__urgency/model.safetensors 897.1 kBheads/security_incidents__urgency/model.safetensors 897.1 kBheads/agent_trace_observability__needs_review/model.safetensors 892.4 kBheads/customer_service__needs_human/model.safetensors 892.4 kBheads/invoice_processing__duplicate/model.safetensors 892.4 kBheads/invoice_processing__matches_order/model.safetensors 892.4 kBheads/security_incidents__credential_compromise/model.safetensors 892.4 kBheads/security_incidents__true_positive/model.safetensors 892.4 kB