Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,22 +1,50 @@
|
|
| 1 |
---
|
| 2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
| 4 |
|
| 5 |
-
# Customer Service Intelligence Model
|
| 6 |
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
## Label Maps
|
| 22 |
```json
|
|
@@ -69,11 +97,3 @@
|
|
| 69 |
}
|
| 70 |
}
|
| 71 |
```
|
| 72 |
-
|
| 73 |
-
## Usage Example
|
| 74 |
-
```python
|
| 75 |
-
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
| 76 |
-
|
| 77 |
-
model = AutoModelForSequenceClassification.from_pretrained("raghavdw/cci-capstone")
|
| 78 |
-
tokenizer = AutoTokenizer.from_pretrained("raghavdw/cci-capstone")
|
| 79 |
-
```
|
|
|
|
| 1 |
---
|
| 2 |
+
tags:
|
| 3 |
+
- text-classification
|
| 4 |
+
library_name: transformers
|
| 5 |
+
language: en
|
| 6 |
+
license: apache-2.0
|
| 7 |
---
|
| 8 |
|
| 9 |
+
# Customer Service Intelligence Model v1.0.0
|
| 10 |
|
| 11 |
+
A multi-task model for customer service interaction analysis.
|
| 12 |
+
|
| 13 |
+
## Model Description
|
| 14 |
+
This model performs multiple classification tasks on customer service conversations:
|
| 15 |
+
- Intent Classification
|
| 16 |
+
- Topic Classification
|
| 17 |
+
- Sentiment Analysis
|
| 18 |
+
- Fallback Type Detection
|
| 19 |
+
- Empathy Score Prediction
|
| 20 |
+
- Listening Score Assessment
|
| 21 |
+
|
| 22 |
+
## Performance Metrics
|
| 23 |
|
| 24 |
+
Latest evaluation results:
|
| 25 |
+
- intent_accuracy: 0.038
|
| 26 |
+
- sentiment_accuracy: 0.537
|
| 27 |
+
- empathy_rmse: 0.331
|
| 28 |
+
- listening_rmse: 0.485
|
| 29 |
+
|
| 30 |
+
## Usage
|
| 31 |
+
|
| 32 |
+
```python
|
| 33 |
+
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
| 34 |
+
|
| 35 |
+
model = AutoModelForSequenceClassification.from_pretrained("raghavdw/cci-capstone")
|
| 36 |
+
tokenizer = AutoTokenizer.from_pretrained("raghavdw/cci-capstone")
|
| 37 |
+
|
| 38 |
+
text = "I need help with my flight booking"
|
| 39 |
+
inputs = tokenizer(text, return_tensors="pt")
|
| 40 |
+
outputs = model(**inputs)
|
| 41 |
+
```
|
| 42 |
+
|
| 43 |
+
## Training Details
|
| 44 |
+
- Base Model: RoBERTa
|
| 45 |
+
- Total Labels: 38
|
| 46 |
+
- Updated: 2025-01-07
|
| 47 |
+
- Version: 1.0.0
|
| 48 |
|
| 49 |
## Label Maps
|
| 50 |
```json
|
|
|
|
| 97 |
}
|
| 98 |
}
|
| 99 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|