Add vendor-classification
Browse files- README.md +5 -8
- config.json +3 -9
- examples.json +0 -0
- model.safetensors +2 -2
README.md
CHANGED
@@ -16,18 +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 |
-
high_risk: 5 examples (20.0%)
|
29 |
-
new_vendor: 5 examples (20.0%)
|
30 |
-
trusted_partner: 5 examples (20.0%)
|
31 |
```
|
32 |
|
33 |
## Usage
|
@@ -51,7 +48,7 @@ classifier.add_examples(texts, labels)
|
|
51 |
|
52 |
## Training Details
|
53 |
|
54 |
-
- Training Steps:
|
55 |
- Examples per Class: See distribution above
|
56 |
- Prototype Memory: Active
|
57 |
- Neural Adaptation: Active
|
|
|
16 |
## Model Details
|
17 |
|
18 |
- Base Model: answerdotai/ModernBERT-base
|
19 |
+
- Number of Classes: 2
|
20 |
+
- Total Examples: 161
|
21 |
- Embedding Dimension: 768
|
22 |
|
23 |
## Class Distribution
|
24 |
|
25 |
```
|
26 |
+
new_vendor: 81 examples (50.3%)
|
27 |
+
trusted_partner: 80 examples (49.7%)
|
|
|
|
|
|
|
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
@@ -33,18 +33,12 @@
|
|
33 |
"embedding_dim": 768,
|
34 |
"id_to_label": {
|
35 |
"0": "new_vendor",
|
36 |
-
"1": "
|
37 |
-
"2": "trusted_partner",
|
38 |
-
"3": "high_risk",
|
39 |
-
"4": "blacklisted"
|
40 |
},
|
41 |
"label_to_id": {
|
42 |
-
"blacklisted": 4,
|
43 |
-
"established_vendor": 1,
|
44 |
-
"high_risk": 3,
|
45 |
"new_vendor": 0,
|
46 |
-
"trusted_partner":
|
47 |
},
|
48 |
"model_name": "answerdotai/ModernBERT-base",
|
49 |
-
"train_steps":
|
50 |
}
|
|
|
33 |
"embedding_dim": 768,
|
34 |
"id_to_label": {
|
35 |
"0": "new_vendor",
|
36 |
+
"1": "trusted_partner"
|
|
|
|
|
|
|
37 |
},
|
38 |
"label_to_id": {
|
|
|
|
|
|
|
39 |
"new_vendor": 0,
|
40 |
+
"trusted_partner": 1
|
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:3c32887843cdbc3430fab106e26284f8f01411de3a17f47b601c18ef8b18fda7
|
3 |
+
size 3553520
|