codelion commited on
Commit
26330eb
·
verified ·
1 Parent(s): 59dd8b6

Add compliance-classification

Browse files
Files changed (4) hide show
  1. README.md +8 -7
  2. config.json +11 -9
  3. examples.json +0 -0
  4. model.safetensors +2 -2
README.md CHANGED
@@ -16,17 +16,18 @@ You can install it with `pip install adaptive-classifier`.
16
  ## Model Details
17
 
18
  - Base Model: answerdotai/ModernBERT-base
19
- - Number of Classes: 4
20
- - Total Examples: 352
21
  - Embedding Dimension: 768
22
 
23
  ## Class Distribution
24
 
25
  ```
26
- compliant: 88 examples (25.0%)
27
- needs_review: 88 examples (25.0%)
28
- non_compliant: 88 examples (25.0%)
29
- unclear: 88 examples (25.0%)
 
30
  ```
31
 
32
  ## Usage
@@ -50,7 +51,7 @@ classifier.add_examples(texts, labels)
50
 
51
  ## Training Details
52
 
53
- - Training Steps: 11
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: 5
20
+ - Total Examples: 403
21
  - Embedding Dimension: 768
22
 
23
  ## Class Distribution
24
 
25
  ```
26
+ gdpr: 81 examples (20.1%)
27
+ hipaa: 81 examples (20.1%)
28
+ other: 80 examples (19.9%)
29
+ pci: 80 examples (19.9%)
30
+ sox: 81 examples (20.1%)
31
  ```
32
 
33
  ## Usage
 
51
 
52
  ## Training Details
53
 
54
+ - Training Steps: 13
55
  - Examples per Class: See distribution above
56
  - Prototype Memory: Active
57
  - Neural Adaptation: Active
config.json CHANGED
@@ -32,17 +32,19 @@
32
  },
33
  "embedding_dim": 768,
34
  "id_to_label": {
35
- "0": "unclear",
36
- "1": "compliant",
37
- "2": "needs_review",
38
- "3": "non_compliant"
 
39
  },
40
  "label_to_id": {
41
- "compliant": 1,
42
- "needs_review": 2,
43
- "non_compliant": 3,
44
- "unclear": 0
 
45
  },
46
  "model_name": "answerdotai/ModernBERT-base",
47
- "train_steps": 11
48
  }
 
32
  },
33
  "embedding_dim": 768,
34
  "id_to_label": {
35
+ "0": "hipaa",
36
+ "1": "other",
37
+ "2": "pci",
38
+ "3": "gdpr",
39
+ "4": "sox"
40
  },
41
  "label_to_id": {
42
+ "gdpr": 3,
43
+ "hipaa": 0,
44
+ "other": 1,
45
+ "pci": 2,
46
+ "sox": 4
47
  },
48
  "model_name": "answerdotai/ModernBERT-base",
49
+ "train_steps": 13
50
  }
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:c4ae42f6d568a10be53194e84b5f0c095b594fc70719e2c7e2bd9f9e88e8dd43
3
- size 3562912
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:addd4ecc7c58937a375dc6c7591096f6fad2ca93abfe2119102b8473f3dabd84
3
+ size 3567580