Update README.md
Browse files
README.md
CHANGED
|
@@ -15,7 +15,6 @@ metrics:
|
|
| 15 |
`bert-base-uncased` fine-tuned to route English customer support tickets to one of 10 queues.
|
| 16 |
|
| 17 |
- Code: https://github.com/im-preshanth/support-ticket-classifier
|
| 18 |
-
- Live demo: https://huggingface.co/spaces/preshanth09/support-ticket-classifier-demo
|
| 19 |
|
| 20 |
## Intended use
|
| 21 |
|
|
@@ -34,22 +33,24 @@ English subset of `Tobi-Bueck/customer-support-tickets` (synthetic). 23,745 tick
|
|
| 34 |
- Max sequence length 256, learning rate 3e-5, 700 warmup steps, weight decay 0.01
|
| 35 |
- Batch size 16, 6 epochs, fp16, Google Colab T4 GPU (about 19 minutes)
|
| 36 |
- Cross-entropy loss with inverse-frequency class weights
|
| 37 |
-
- Best epoch selected by validation macro-F1
|
| 38 |
|
| 39 |
## Evaluation (held-out test set, 2,375 tickets)
|
| 40 |
|
| 41 |
| Model | Accuracy | Macro-F1 | Weighted-F1 |
|
| 42 |
|---|---|---|---|
|
| 43 |
| TF-IDF + LogReg baseline | 0.504 | 0.507 | 0.505 |
|
| 44 |
-
| This model | 0.
|
| 45 |
|
| 46 |
-
Strongest queues: Billing and Payments (F1 0.
|
|
|
|
|
|
|
| 47 |
|
| 48 |
## Limitations
|
| 49 |
|
| 50 |
- Trained on synthetic tickets; performance on real tickets is unknown.
|
| 51 |
- Technical Support, IT Support and Product Support overlap heavily and are frequently confused with each other.
|
| 52 |
-
- English only.
|
| 53 |
|
| 54 |
## How to use
|
| 55 |
|
|
|
|
| 15 |
`bert-base-uncased` fine-tuned to route English customer support tickets to one of 10 queues.
|
| 16 |
|
| 17 |
- Code: https://github.com/im-preshanth/support-ticket-classifier
|
|
|
|
| 18 |
|
| 19 |
## Intended use
|
| 20 |
|
|
|
|
| 33 |
- Max sequence length 256, learning rate 3e-5, 700 warmup steps, weight decay 0.01
|
| 34 |
- Batch size 16, 6 epochs, fp16, Google Colab T4 GPU (about 19 minutes)
|
| 35 |
- Cross-entropy loss with inverse-frequency class weights
|
| 36 |
+
- Best epoch selected by validation macro-F1
|
| 37 |
|
| 38 |
## Evaluation (held-out test set, 2,375 tickets)
|
| 39 |
|
| 40 |
| Model | Accuracy | Macro-F1 | Weighted-F1 |
|
| 41 |
|---|---|---|---|
|
| 42 |
| TF-IDF + LogReg baseline | 0.504 | 0.507 | 0.505 |
|
| 43 |
+
| This model | 0.514 | 0.565 | 0.514 |
|
| 44 |
|
| 45 |
+
Strongest queues: Billing and Payments (F1 0.803), Service Outages and Maintenance (0.683). Weakest: Product Support (0.417), Customer Service (0.442).
|
| 46 |
+
|
| 47 |
+
Run-to-run variation: an earlier training run with identical settings and seed scored 0.579 macro-F1 (the run documented in the GitHub repo). GPU non-determinism causes differences of about one point between runs.
|
| 48 |
|
| 49 |
## Limitations
|
| 50 |
|
| 51 |
- Trained on synthetic tickets; performance on real tickets is unknown.
|
| 52 |
- Technical Support, IT Support and Product Support overlap heavily and are frequently confused with each other.
|
| 53 |
+
- English only. Scores vary by about one macro-F1 point between training runs.
|
| 54 |
|
| 55 |
## How to use
|
| 56 |
|