codelion commited on
Commit
7bf9f5b
·
verified ·
1 Parent(s): 7e44db7

Add product-category

Browse files
Files changed (4) hide show
  1. README.md +7 -9
  2. config.json +9 -13
  3. examples.json +0 -0
  4. 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: 6
20
- - Total Examples: 480
21
  - Embedding Dimension: 768
22
 
23
  ## Class Distribution
24
 
25
  ```
26
- consulting: 80 examples (16.7%)
27
- hardware: 80 examples (16.7%)
28
- other: 80 examples (16.7%)
29
- service: 80 examples (16.7%)
30
- software: 80 examples (16.7%)
31
- subscription: 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: 15
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: 321
21
  - Embedding Dimension: 768
22
 
23
  ## Class Distribution
24
 
25
  ```
26
+ books: 81 examples (25.2%)
27
+ clothing: 80 examples (24.9%)
28
+ electronics: 80 examples (24.9%)
29
+ home_garden: 80 examples (24.9%)
 
 
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": "consulting",
36
- "1": "hardware",
37
- "2": "service",
38
- "3": "subscription",
39
- "4": "other",
40
- "5": "software"
41
  },
42
  "label_to_id": {
43
- "consulting": 0,
44
- "hardware": 1,
45
- "other": 4,
46
- "service": 2,
47
- "software": 5,
48
- "subscription": 3
49
  },
50
  "model_name": "answerdotai/ModernBERT-base",
51
- "train_steps": 15
52
  }
 
32
  },
33
  "embedding_dim": 768,
34
  "id_to_label": {
35
+ "0": "clothing",
36
+ "1": "electronics",
37
+ "2": "books",
38
+ "3": "home_garden"
 
 
39
  },
40
  "label_to_id": {
41
+ "books": 2,
42
+ "clothing": 0,
43
+ "electronics": 1,
44
+ "home_garden": 3
 
 
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:7d4abe3b812a0c4c11c7a191b65df7ec90b051a2da44b53bf57ecae2b153df57
3
- size 3572296
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f788910ec9d2c7015d51fb712584303132ab75229723075e94fd41eee36f2f77
3
+ size 3562904