Censer.8 / reports /external_eval.json
KucLab's picture
Add report external_eval.json
41e960e verified
Raw History Blame Contribute Delete
1.41 kB
{
"checkpoint": "checkpoints8f/epoch2.pt",
"device": "cuda",
"results": {
"toxigen_test": {
"n": 940,
"unsafe": 402,
"at_0.5": {
"threshold": 0.5,
"accuracy": 0.6170212765957447,
"precision": 0.5522388059701493,
"recall": 0.5522388059701493,
"f1": 0.5522388059701493,
"tp": 222,
"fp": 180,
"tn": 358,
"fn": 180,
"total": 940
},
"best": {
"threshold": 0.17,
"accuracy": 0.5255319148936171,
"precision": 0.4713541666666667,
"recall": 0.900497512437811,
"f1": 0.6188034188034187,
"tp": 362,
"fp": 406,
"tn": 132,
"fn": 40,
"total": 940
}
},
"hatexplain_test": {
"n": 1924,
"unsafe": 1376,
"at_0.5": {
"threshold": 0.5,
"accuracy": 0.5956340956340956,
"precision": 0.6988031914893617,
"recall": 0.7638081395348837,
"f1": 0.7298611111111111,
"tp": 1051,
"fp": 453,
"tn": 95,
"fn": 325,
"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
}
}
}
}