Downloads · 30 days
14
38% of all-time downloads
dipeshpandit/distilbert-toxic-comment
distilbert-toxic-comment is a text classification model from dipeshpandit. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
14
38% of all-time downloads
All-time downloads
37
Public
Parameters
67M
17.9 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors268 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of distilbert-base-uncased on the None dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Macro F1 | Micro F1 | Precision | Recall | Hamming Loss | Roc Auc Macro | Roc Auc Micro |
|---|---|---|---|---|---|---|---|---|---|---|
| 0.0402 | 1.0 | 2244 | 0.0387 | 0.6473 | 0.7850 | 0.6806 | 0.6427 | 0.0160 | 0.9901 | 0.9920 |
| 0.0336 | 2.0 | 4488 | 0.0385 | 0.6798 | 0.7912 | 0.6727 | 0.6974 | 0.0161 | 0.9898 | 0.9924 |
| 0.0259 | 3.0 | 6732 | 0.0414 | 0.6896 | 0.7872 | 0.6520 | 0.7360 | 0.0165 | 0.9900 | 0.9918 |
| 0.0199 | 4.0 | 8976 | 0.0463 | 0.6761 | 0.7852 | 0.6525 | 0.7041 | 0.0165 | 0.9887 | 0.9905 |
| 0.0151 | 5.0 | 11220 | 0.0510 | 0.6969 | 0.7858 | 0.6672 | 0.7298 | 0.0163 | 0.9885 | 0.9900 |
| Label ID | Label Name | Optimal Threshold | F1 Score (Validation) |
|---|---|---|---|
| 0 | toxic | 0.69 | 0.8312 |
| 1 | severe_toxic | 0.44 | 0.5564 |
| 2 | obscene | 0.60 | 0.8383 |
| 3 | threat | 0.47 | 0.6275 |
| 4 | insult | 0.32 | 0.7636 |
| 5 | identity_hate | 0.55 | 0.6179 |
| Metric | Value |
|---|---|
| F1 Score (Micro) | 0.6668 |
| F1 Score (Macro) | 0.6083 |
| Precision (Micro) | 0.5642 |
| Recall (Micro) | 0.8152 |
| Precision (Macro) | 0.5264 |
| Recall (Macro) | 0.7475 |