codelion commited on
Commit
f8d457e
·
verified ·
1 Parent(s): 3d5548a

Add vendor-classification

Browse files
Files changed (4) hide show
  1. README.md +5 -8
  2. config.json +3 -9
  3. examples.json +0 -0
  4. 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: 5
20
- - Total Examples: 25
21
  - Embedding Dimension: 768
22
 
23
  ## Class Distribution
24
 
25
  ```
26
- blacklisted: 5 examples (20.0%)
27
- established_vendor: 5 examples (20.0%)
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: 13
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": "established_vendor",
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": 2
47
  },
48
  "model_name": "answerdotai/ModernBERT-base",
49
- "train_steps": 13
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:7de0dc8b8270f483f76564a7170bc300713e79183818988e4896772757f9b6ec
3
- size 3567620
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c32887843cdbc3430fab106e26284f8f01411de3a17f47b601c18ef8b18fda7
3
+ size 3553520