CoolFace
Modelpublic

alexc09/MiniLM-L12-H384-uncased_Nvidia-Aegis-AI-Safety-v2

sourceHugging Faceupdated 2y agoView on Hugging Face
1likes21downloads
Model Card

Model Card for AC/MiniLM-L12-H384-uncased_Nvidia-Aegis-AI-Safety-v2

A further finetuned model from AC/MiniLM-L12-H384-uncased_Nvidia-Aegis-AI-Safety.

`AC/MiniLM-L12-H384-uncased_Nvidia-Aegis-AI-Safety` is trained on 50 epochs, while `AC/MiniLM-L12-H384-uncased_Nvidia-Aegis-AI-Safety-v2` is trained on 750 epochs.

Evaluation

Evaluation is conducted on the test set in nvidia/Aegis-AI-Content-Safety-Dataset-1.0 dataset. A total of 359 examples are in the test set.

For AI safety use case, having false negatives (text was actually toxic but model predicted it as safe) is worse than having false positives (text was actually safe but model predicted it as unsafe)

Precision: Out of all text predicted as toxic, how many were actually toxic? Recall: Out of all text that were actually toxic, how many were predicted toxic?

As we want to reduce false negatives, we will focus on recall.

MetricMiniLM-L12-H384-uncased_Nvidia-Aegis-AI-Safety-v2 (This Version)MiniLM-L12-H384-uncased_Nvidia-Aegis-AI-Safety (Original Version)
accuracy0.95324313569438910.9514524472741743
f10.61538461538461540.5325670498084292
precision0.6329966329966330.668269230769
recall0.59872611464968150.442675159235668
TP46034643
TN188139
FP10969
FN126175