File size: 1,411 Bytes
e35f1d1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "checkpoint": "checkpoints_b3e/best.pt",
  "device": "cuda",
  "results": {
    "toxigen_test": {
      "n": 940,
      "unsafe": 402,
      "at_0.5": {
        "threshold": 0.5,
        "accuracy": 0.6138297872340426,
        "precision": 0.5467625899280576,
        "recall": 0.5671641791044776,
        "f1": 0.5567765567765568,
        "tp": 228,
        "fp": 189,
        "tn": 349,
        "fn": 174,
        "total": 940
      },
      "best": {
        "threshold": 0.18,
        "accuracy": 0.5159574468085106,
        "precision": 0.4670807453416149,
        "recall": 0.9353233830845771,
        "f1": 0.6230323115161557,
        "tp": 376,
        "fp": 429,
        "tn": 109,
        "fn": 26,
        "total": 940
      }
    },
    "hatexplain_test": {
      "n": 1924,
      "unsafe": 1376,
      "at_0.5": {
        "threshold": 0.5,
        "accuracy": 0.5888773388773388,
        "precision": 0.6943521594684385,
        "recall": 0.7594476744186046,
        "f1": 0.7254425546685179,
        "tp": 1045,
        "fp": 460,
        "tn": 88,
        "fn": 331,
        "total": 1924
      },
      "best": {
        "threshold": 0.05,
        "accuracy": 0.7151767151767152,
        "precision": 0.7151767151767152,
        "recall": 1.0,
        "f1": 0.833939393939394,
        "tp": 1376,
        "fp": 548,
        "tn": 0,
        "fn": 0,
        "total": 1924
      }
    }
  }
}