Add fraud-detection
Browse files- README.md +5 -7
- config.json +5 -9
- examples.json +0 -0
- model.safetensors +2 -2
README.md
CHANGED
@@ -16,17 +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 |
-
needs_investigation: 80 examples (25.0%)
|
29 |
-
suspicious: 80 examples (25.0%)
|
30 |
```
|
31 |
|
32 |
## Usage
|
@@ -50,7 +48,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: 2
|
20 |
+
- Total Examples: 161
|
21 |
- Embedding Dimension: 768
|
22 |
|
23 |
## Class Distribution
|
24 |
|
25 |
```
|
26 |
+
fraudulent: 80 examples (49.7%)
|
27 |
+
legitimate: 81 examples (50.3%)
|
|
|
|
|
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
@@ -32,17 +32,13 @@
|
|
32 |
},
|
33 |
"embedding_dim": 768,
|
34 |
"id_to_label": {
|
35 |
-
"0": "
|
36 |
-
"1": "
|
37 |
-
"2": "legitimate",
|
38 |
-
"3": "likely_fraud"
|
39 |
},
|
40 |
"label_to_id": {
|
41 |
-
"
|
42 |
-
"
|
43 |
-
"needs_investigation": 1,
|
44 |
-
"suspicious": 0
|
45 |
},
|
46 |
"model_name": "answerdotai/ModernBERT-base",
|
47 |
-
"train_steps":
|
48 |
}
|
|
|
32 |
},
|
33 |
"embedding_dim": 768,
|
34 |
"id_to_label": {
|
35 |
+
"0": "legitimate",
|
36 |
+
"1": "fraudulent"
|
|
|
|
|
37 |
},
|
38 |
"label_to_id": {
|
39 |
+
"fraudulent": 1,
|
40 |
+
"legitimate": 0
|
|
|
|
|
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:65773e1ee4b2d3bc1c047b5b15431ec024c6beaab697a092e31584310e56f7a1
|
3 |
+
size 3553512
|