codelion commited on
Commit
77f3d5b
·
verified ·
1 Parent(s): 2bf1bc8

Add fraud-detection

Browse files
Files changed (4) hide show
  1. README.md +5 -7
  2. config.json +5 -9
  3. examples.json +0 -0
  4. 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: 4
20
- - Total Examples: 320
21
  - Embedding Dimension: 768
22
 
23
  ## Class Distribution
24
 
25
  ```
26
- legitimate: 80 examples (25.0%)
27
- likely_fraud: 80 examples (25.0%)
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: 10
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": "suspicious",
36
- "1": "needs_investigation",
37
- "2": "legitimate",
38
- "3": "likely_fraud"
39
  },
40
  "label_to_id": {
41
- "legitimate": 2,
42
- "likely_fraud": 3,
43
- "needs_investigation": 1,
44
- "suspicious": 0
45
  },
46
  "model_name": "answerdotai/ModernBERT-base",
47
- "train_steps": 10
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:dd67e0a6638ae494588e7e664453913a55c06c6376800f753e5b157edfd21b41
3
- size 3562920
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65773e1ee4b2d3bc1c047b5b15431ec024c6beaab697a092e31584310e56f7a1
3
+ size 3553512