Barist.4 / reports /external_eval.json
KucLab's picture
Add report external_eval.json
bd4de50 verified
Raw History Blame Contribute Delete
1.41 kB
{
"checkpoint": "checkpoints_b4b/best.pt",
"device": "cuda",
"results": {
"toxigen_test": {
"n": 940,
"unsafe": 402,
"at_0.5": {
"threshold": 0.5,
"accuracy": 0.6031914893617021,
"precision": 0.5336426914153132,
"recall": 0.572139303482587,
"f1": 0.552220888355342,
"tp": 230,
"fp": 201,
"tn": 337,
"fn": 172,
"total": 940
},
"best": {
"threshold": 0.18,
"accuracy": 0.5117021276595745,
"precision": 0.46494464944649444,
"recall": 0.9402985074626866,
"f1": 0.6222222222222222,
"tp": 378,
"fp": 435,
"tn": 103,
"fn": 24,
"total": 940
}
},
"hatexplain_test": {
"n": 1924,
"unsafe": 1376,
"at_0.5": {
"threshold": 0.5,
"accuracy": 0.5925155925155925,
"precision": 0.6957671957671958,
"recall": 0.7645348837209303,
"f1": 0.7285318559556788,
"tp": 1052,
"fp": 460,
"tn": 88,
"fn": 324,
"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
}
}
}
}