Add customer-intent
Browse files- README.md +7 -9
- config.json +9 -13
- examples.json +0 -0
- model.safetensors +2 -2
README.md
CHANGED
|
@@ -16,19 +16,17 @@ 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 |
-
|
| 29 |
-
|
| 30 |
-
support: 80 examples (16.7%)
|
| 31 |
-
upgrade: 80 examples (16.7%)
|
| 32 |
```
|
| 33 |
|
| 34 |
## Usage
|
|
@@ -52,7 +50,7 @@ classifier.add_examples(texts, labels)
|
|
| 52 |
|
| 53 |
## Training Details
|
| 54 |
|
| 55 |
-
- Training Steps:
|
| 56 |
- Examples per Class: See distribution above
|
| 57 |
- Prototype Memory: Active
|
| 58 |
- Neural Adaptation: Active
|
|
|
|
| 16 |
## Model Details
|
| 17 |
|
| 18 |
- Base Model: answerdotai/ModernBERT-base
|
| 19 |
+
- Number of Classes: 4
|
| 20 |
+
- Total Examples: 324
|
| 21 |
- Embedding Dimension: 768
|
| 22 |
|
| 23 |
## Class Distribution
|
| 24 |
|
| 25 |
```
|
| 26 |
+
complaint: 81 examples (25.0%)
|
| 27 |
+
information: 80 examples (24.7%)
|
| 28 |
+
purchase: 82 examples (25.3%)
|
| 29 |
+
support: 81 examples (25.0%)
|
|
|
|
|
|
|
| 30 |
```
|
| 31 |
|
| 32 |
## Usage
|
|
|
|
| 50 |
|
| 51 |
## Training Details
|
| 52 |
|
| 53 |
+
- Training Steps: 11
|
| 54 |
- Examples per Class: See distribution above
|
| 55 |
- Prototype Memory: Active
|
| 56 |
- Neural Adaptation: Active
|
config.json
CHANGED
|
@@ -32,21 +32,17 @@
|
|
| 32 |
},
|
| 33 |
"embedding_dim": 768,
|
| 34 |
"id_to_label": {
|
| 35 |
-
"0": "
|
| 36 |
-
"1": "
|
| 37 |
-
"2": "
|
| 38 |
-
"3": "
|
| 39 |
-
"4": "support",
|
| 40 |
-
"5": "upgrade"
|
| 41 |
},
|
| 42 |
"label_to_id": {
|
| 43 |
-
"
|
| 44 |
-
"
|
| 45 |
-
"
|
| 46 |
-
"
|
| 47 |
-
"support": 4,
|
| 48 |
-
"upgrade": 5
|
| 49 |
},
|
| 50 |
"model_name": "answerdotai/ModernBERT-base",
|
| 51 |
-
"train_steps":
|
| 52 |
}
|
|
|
|
| 32 |
},
|
| 33 |
"embedding_dim": 768,
|
| 34 |
"id_to_label": {
|
| 35 |
+
"0": "support",
|
| 36 |
+
"1": "purchase",
|
| 37 |
+
"2": "information",
|
| 38 |
+
"3": "complaint"
|
|
|
|
|
|
|
| 39 |
},
|
| 40 |
"label_to_id": {
|
| 41 |
+
"complaint": 3,
|
| 42 |
+
"information": 2,
|
| 43 |
+
"purchase": 1,
|
| 44 |
+
"support": 0
|
|
|
|
|
|
|
| 45 |
},
|
| 46 |
"model_name": "answerdotai/ModernBERT-base",
|
| 47 |
+
"train_steps": 11
|
| 48 |
}
|
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:fd5b5f49c44a70e89a96e58d1a80b760b864d5f0c428d83cb11b030d7b12773a
|
| 3 |
+
size 3562904
|