File size: 1,563 Bytes
39a5630
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
---

license: mit
language:
- en
tags:
- ticket-classification
- it-support
- distilbert
- text-classification
datasets:
- custom
metrics:
- f1
- accuracy
---


# IT Service Desk Ticket Classifier

A DistilBERT-based model for classifying IT support tickets into 12 categories.

## Model Description

This model classifies IT service desk tickets into the following categories:

| Category | Description |
|----------|-------------|
| Access Management | Login, permissions, MFA issues |
| Backup | Backup and restore operations |
| Database | SQL, database connectivity |
| Email | Outlook, calendar, mailbox |
| General Inquiry | How-to questions |
| Hardware | Physical device issues |
| Network | WiFi, VPN, connectivity |
| Other | Miscellaneous |
| Printing | Printer and scanning |
| Security | Threats, breaches, security |
| Software | Application issues |
| Storage | OneDrive, SharePoint, drives |

## Training Details

- **Base Model**: DistilBERT (distilbert-base-uncased)
- **Training Data**: 5,760 IT support tickets
- **Loss Function**: Focal Loss (for class imbalance)
- **Framework**: PyTorch + Transformers

## Usage

```python

from huggingface_hub import hf_hub_download

import torch



# Download model

model_path = hf_hub_download(

    repo_id="YOUR_USERNAME/ticket-classifier",

    filename="ticket_classifier.pt"

)



# Load model

checkpoint = torch.load(model_path, map_location="cpu")

```

## Performance

Achieves 85%+ macro F1 score across 12 categories.

## License

MIT