KucLab commited on
Commit
e35f1d1
·
verified ·
1 Parent(s): 5895119

Add report external_eval.json

Browse files
Files changed (1) hide show
  1. reports/external_eval.json +62 -0
reports/external_eval.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "checkpoint": "checkpoints_b3e/best.pt",
3
+ "device": "cuda",
4
+ "results": {
5
+ "toxigen_test": {
6
+ "n": 940,
7
+ "unsafe": 402,
8
+ "at_0.5": {
9
+ "threshold": 0.5,
10
+ "accuracy": 0.6138297872340426,
11
+ "precision": 0.5467625899280576,
12
+ "recall": 0.5671641791044776,
13
+ "f1": 0.5567765567765568,
14
+ "tp": 228,
15
+ "fp": 189,
16
+ "tn": 349,
17
+ "fn": 174,
18
+ "total": 940
19
+ },
20
+ "best": {
21
+ "threshold": 0.18,
22
+ "accuracy": 0.5159574468085106,
23
+ "precision": 0.4670807453416149,
24
+ "recall": 0.9353233830845771,
25
+ "f1": 0.6230323115161557,
26
+ "tp": 376,
27
+ "fp": 429,
28
+ "tn": 109,
29
+ "fn": 26,
30
+ "total": 940
31
+ }
32
+ },
33
+ "hatexplain_test": {
34
+ "n": 1924,
35
+ "unsafe": 1376,
36
+ "at_0.5": {
37
+ "threshold": 0.5,
38
+ "accuracy": 0.5888773388773388,
39
+ "precision": 0.6943521594684385,
40
+ "recall": 0.7594476744186046,
41
+ "f1": 0.7254425546685179,
42
+ "tp": 1045,
43
+ "fp": 460,
44
+ "tn": 88,
45
+ "fn": 331,
46
+ "total": 1924
47
+ },
48
+ "best": {
49
+ "threshold": 0.05,
50
+ "accuracy": 0.7151767151767152,
51
+ "precision": 0.7151767151767152,
52
+ "recall": 1.0,
53
+ "f1": 0.833939393939394,
54
+ "tp": 1376,
55
+ "fp": 548,
56
+ "tn": 0,
57
+ "fn": 0,
58
+ "total": 1924
59
+ }
60
+ }
61
+ }
62
+ }