Add compliance-classification
Browse files- README.md +8 -7
- config.json +11 -9
- examples.json +0 -0
- 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:
|
| 20 |
-
- Total Examples:
|
| 21 |
- Embedding Dimension: 768
|
| 22 |
|
| 23 |
## Class Distribution
|
| 24 |
|
| 25 |
```
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
|
|
|
| 30 |
```
|
| 31 |
|
| 32 |
## Usage
|
|
@@ -50,7 +51,7 @@ classifier.add_examples(texts, labels)
|
|
| 50 |
|
| 51 |
## Training Details
|
| 52 |
|
| 53 |
-
- Training Steps:
|
| 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": "
|
| 36 |
-
"1": "
|
| 37 |
-
"2": "
|
| 38 |
-
"3": "
|
|
|
|
| 39 |
},
|
| 40 |
"label_to_id": {
|
| 41 |
-
"
|
| 42 |
-
"
|
| 43 |
-
"
|
| 44 |
-
"
|
|
|
|
| 45 |
},
|
| 46 |
"model_name": "answerdotai/ModernBERT-base",
|
| 47 |
-
"train_steps":
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:addd4ecc7c58937a375dc6c7591096f6fad2ca93abfe2119102b8473f3dabd84
|
| 3 |
+
size 3567580
|