Prashobnarendran's picture
queue classifier, macro-F1 0.494
aa2d60e verified
|
Raw History Blame Contribute Delete
1.72 kB
metadata
license: cc-by-nc-4.0
base_model: microsoft/deberta-v3-base
datasets:
  - Tobi-Bueck/customer-support-tickets
language:
  - en
pipeline_tag: text-classification

Service-desk queue classifier (Group 60, AIMLZG549)

Fine-tuned microsoft/deberta-v3-base that assigns a customer-support ticket to a queue. Input format: subject + "\n\n" + body, max 128 tokens.

Data

English tickets from Tobi-Bueck/customer-support-tickets (CC BY-NC 4.0), deduplicated and split 80/10/10 stratified by queue (seed 42). Train 18,997 路 validation 2,375 路 test 2,375.

Training

learning rate 5e-05 路 batch size 32 路 up to 8 epochs 路 warm-up 10% 路 weight decay 0.01 路 class-weighted cross-entropy 路 early stopping (patience 2) on validation macro-F1 路 fp16=True 路 seed 42 路 training time 30.9 min.

Test results

Accuracy 0.434 路 macro-F1 0.494 路 weighted-F1 0.426

Class Precision Recall F1 Support
Billing and Payments 0.625 0.798 0.701 242
Customer Service 0.382 0.345 0.362 357
General Inquiry 0.469 0.441 0.455 34
Human Resources 0.525 0.674 0.590 46
IT Support 0.290 0.528 0.375 284
Product Support 0.410 0.327 0.364 443
Returns and Exchanges 0.398 0.581 0.472 117
Sales and Pre-Sales 0.556 0.685 0.613 73
Service Outages and Maintenance 0.646 0.667 0.656 93
Technical Support 0.459 0.284 0.351 686

Intended use and limits

Suggests a queue to a human agent; predictions below 0.5 confidence are flagged for manual routing. Trained on synthetic-style tickets in English; accuracy on a real organisation's tickets must be re-measured.