File size: 2,625 Bytes
b5c45f8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
  "architectures": [
    "AbusePatternDetector"
  ],
  "model_type": "distilbert",
  "num_labels": 8,
  "id2label": {
    "0": "surveillance_accusation",
    "1": "darvo",
    "2": "gaslighting",
    "3": "boundary_violation",
    "4": "emotional_manipulation",
    "5": "victim_blaming",
    "6": "healthy_boundary_setting",
    "7": "no_abuse_pattern"
  },
  "label2id": {
    "surveillance_accusation": 0,
    "darvo": 1,
    "gaslighting": 2,
    "boundary_violation": 3,
    "emotional_manipulation": 4,
    "victim_blaming": 5,
    "healthy_boundary_setting": 6,
    "no_abuse_pattern": 7
  },
  "base_model": "distilbert-base-uncased",
  "task_specific_params": {
    "text-classification": {
      "problem_type": "multi_label_classification",
      "num_labels": 8
    }
  },
  "label_columns": [
    "surveillance_accusation",
    "darvo",
    "gaslighting",
    "boundary_violation",
    "emotional_manipulation",
    "victim_blaming",
    "healthy_boundary_setting",
    "no_abuse_pattern"
  ],
  "optimal_threshold": 0.05,
  "model_architecture": "AbusePatternDetector",
  "training_metrics": {
    "test_f1_macro": 0.27733516483516485,
    "test_f1_micro": 0.2857142857142857,
    "hamming_loss": 0.8333333333333334,
    "jaccard_score": 0.16666666666666666,
    "optimal_threshold": 0.05,
    "per_label_f1": {
      "surveillance_accusation": {
        "precision": 0.16666666666666666,
        "recall": 1.0,
        "f1": 0.2857142857142857,
        "support": 2
      },
      "darvo": {
        "precision": 0.08333333333333333,
        "recall": 1.0,
        "f1": 0.15384615384615385,
        "support": 1
      },
      "gaslighting": {
        "precision": 0.16666666666666666,
        "recall": 1.0,
        "f1": 0.2857142857142857,
        "support": 2
      },
      "boundary_violation": {
        "precision": 0.08333333333333333,
        "recall": 1.0,
        "f1": 0.15384615384615385,
        "support": 1
      },
      "emotional_manipulation": {
        "precision": 0.25,
        "recall": 1.0,
        "f1": 0.4,
        "support": 3
      },
      "victim_blaming": {
        "precision": 0.08333333333333333,
        "recall": 1.0,
        "f1": 0.15384615384615385,
        "support": 1
      },
      "healthy_boundary_setting": {
        "precision": 0.16666666666666666,
        "recall": 1.0,
        "f1": 0.2857142857142857,
        "support": 2
      },
      "no_abuse_pattern": {
        "precision": 0.3333333333333333,
        "recall": 1.0,
        "f1": 0.5,
        "support": 4
      }
    },
    "precision_macro": 0.16666666666666666,
    "recall_macro": 1.0
  }
}