Instructions to use chendren/cx-decider-applied-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use chendren/cx-decider-applied-v1 with PEFT:
Task type is invalid.
- Strands Decider
How to use chendren/cx-decider-applied-v1 with Strands Decider:
# pip install strands-decider strands-decider ask chendren/cx-decider-applied-v1 \ --state "Help! My payouts have been failing for 3 days!" \ --choice "Which team should handle this?=billing,sales,retail" \ --noul "Does this convey urgency?"
- Notebooks
- Google Colab
- Kaggle
chendren/cx-decider-applied-v1
20 applied CX decisions (intent, channel, category, human-handoff, self-serve, escalation, churn, complaint, approval, fraud, sentiment, priority, CSAT-risk, VIP, callback, PII, translation, repeat-contact, SLA-risk, next-best-action) with calibrated confidence.
This is not a live contact-center router. Labels are LLM-judged synthetic states. PCI pause, TCPA, distress containment, and pairing stay on deterministic engines. Do not put this adapter on an Amazon Connect path.
Held-out: 0.9417 accuracy, ECE 0.0703, n=240 (12 per task, unseen in training).
Loop gate
A joint 24-decision head was trained and rejected: adding the 20 applied tasks dragged loop safe_to_log 1.0000 to 0.7819. The unpublished loop-gate checkpoint is documented at chendren/cx-decider-2b-v1 (card only, no weights). Process-control gold labels live in Immortalis/cx-comply.
Try it
Use the exact rubric text from chendren/cx-decisions-v2-data. Paraphrased probes underperform that wording.
from strands_decider.infer import load_engine
eng = load_engine("chendren/cx-decider-applied-v1", device="mps") # cuda | mps | cpu
r = eng.ask(
"Maya R. via live chat requests her 6th refund in 3 weeks for $400 headphones, each claimed as never arrived though carrier shows delivered.",
{"fraud": {"type": "noul", "instructions": "This shows signs of fraud or account takeover."},
"intent": {"type": "choice", "instructions": "What is the customer intent?",
"criteria": {"billing": "money, invoices, charges", "technical": "bugs, outages",
"account": "login, profile", "order_status": "where is my order",
"product_info": "product questions", "cancellation": "cancel service",
"complaint": "unhappy, formal complaint", "other": "anything else"}}})
Training
- Init:
checkpoints/cx-decider-v1-maclineage onQwen/Qwen3.5-2B-Base. LoRA + head trainable (17,872,384 / 1,899,697,472, 0.94%). - Data: 2,160 train / 240 val from
cx-decisions-v2-data(LLM-inferred states, even score spreads). - 135 optimizer steps, micro-batch 8 x grad-accum 2, head LR 5e-4, LoRA LR 2.5e-5, KL 0.3 every 2nd step. Apple M2 Max, MPS, torch 2.14.1.
- Calibration refit on 400 held-out applied rows: ECE 0.0838 to 0.0413 on the fit set.
Test results
| eval | result |
|---|---|
| Applied val, overall (n=240, 12/task unseen) | acc 0.9417, ECE 0.0703 |
| Per-task highs (1.000) | callback, category, complaint, nba, repeat, sla, translate |
| Per-task lows | priority 0.767, channel 0.842, churn/vip ~0.86-0.91, escalation 0.900 |
| Loop-heldout via this checkpoint (n=4,328) | acc 0.8953. Do not use it for gating. |
When not to use it
- Loop gating, PCI, TCPA, distress. Use engines / Immortalis/cx-comply.
- Paraphrased questions.
- Priority or channel below 0.9 confidence.
- Commercial routing without a shadow replay on real exported contacts.
Files
head.safetensors+lora/weights forQwen/Qwen3.5-2B-Basestrands_decider_config.jsonarchitecture + fitted temperaturestrain_config.json/history.json/provenance.jsonrun record
- Downloads last month
- -
Model tree for chendren/cx-decider-applied-v1
Base model
Qwen/Qwen3.5-2B-BaseDataset used to train chendren/cx-decider-applied-v1
Evaluation results
- Accuracy (n=240, 12/task) on chendren/cx-decisions-v2-data held-outvalidation set self-reported0.942
- Expected calibration error on chendren/cx-decisions-v2-data held-outvalidation set self-reported0.070