Add escalation-detection
Browse files- README.md +5 -7
- config.json +5 -9
- examples.json +0 -0
- model.safetensors +2 -2
README.md
CHANGED
|
@@ -16,17 +16,15 @@ You can install it with `pip install adaptive-classifier`.
|
|
| 16 |
## Model Details
|
| 17 |
|
| 18 |
- Base Model: answerdotai/ModernBERT-base
|
| 19 |
-
- Number of Classes:
|
| 20 |
-
- Total Examples:
|
| 21 |
- Embedding Dimension: 768
|
| 22 |
|
| 23 |
## Class Distribution
|
| 24 |
|
| 25 |
```
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
manager_review: 80 examples (25.0%)
|
| 29 |
-
no_escalation: 80 examples (25.0%)
|
| 30 |
```
|
| 31 |
|
| 32 |
## Usage
|
|
@@ -50,7 +48,7 @@ classifier.add_examples(texts, labels)
|
|
| 50 |
|
| 51 |
## Training Details
|
| 52 |
|
| 53 |
-
- Training Steps:
|
| 54 |
- Examples per Class: See distribution above
|
| 55 |
- Prototype Memory: Active
|
| 56 |
- Neural Adaptation: Active
|
|
|
|
| 16 |
## Model Details
|
| 17 |
|
| 18 |
- Base Model: answerdotai/ModernBERT-base
|
| 19 |
+
- Number of Classes: 2
|
| 20 |
+
- Total Examples: 162
|
| 21 |
- Embedding Dimension: 768
|
| 22 |
|
| 23 |
## Class Distribution
|
| 24 |
|
| 25 |
```
|
| 26 |
+
normal: 81 examples (50.0%)
|
| 27 |
+
urgent: 81 examples (50.0%)
|
|
|
|
|
|
|
| 28 |
```
|
| 29 |
|
| 30 |
## Usage
|
|
|
|
| 48 |
|
| 49 |
## Training Details
|
| 50 |
|
| 51 |
+
- Training Steps: 6
|
| 52 |
- Examples per Class: See distribution above
|
| 53 |
- Prototype Memory: Active
|
| 54 |
- Neural Adaptation: Active
|
config.json
CHANGED
|
@@ -32,17 +32,13 @@
|
|
| 32 |
},
|
| 33 |
"embedding_dim": 768,
|
| 34 |
"id_to_label": {
|
| 35 |
-
"0": "
|
| 36 |
-
"1": "
|
| 37 |
-
"2": "escalate_soon",
|
| 38 |
-
"3": "escalate_immediately"
|
| 39 |
},
|
| 40 |
"label_to_id": {
|
| 41 |
-
"
|
| 42 |
-
"
|
| 43 |
-
"manager_review": 0,
|
| 44 |
-
"no_escalation": 1
|
| 45 |
},
|
| 46 |
"model_name": "answerdotai/ModernBERT-base",
|
| 47 |
-
"train_steps":
|
| 48 |
}
|
|
|
|
| 32 |
},
|
| 33 |
"embedding_dim": 768,
|
| 34 |
"id_to_label": {
|
| 35 |
+
"0": "urgent",
|
| 36 |
+
"1": "normal"
|
|
|
|
|
|
|
| 37 |
},
|
| 38 |
"label_to_id": {
|
| 39 |
+
"normal": 1,
|
| 40 |
+
"urgent": 0
|
|
|
|
|
|
|
| 41 |
},
|
| 42 |
"model_name": "answerdotai/ModernBERT-base",
|
| 43 |
+
"train_steps": 6
|
| 44 |
}
|
examples.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0ef7a1a9ce25a269b56a66835d253b8c7068b4bec1f2d6c21ae152f3975d8378
|
| 3 |
+
size 3553504
|