95afc4583321fcbc5b7c331ed6b55db6
This model is a fine-tuned version of distilbert/distilbert-base-cased on the contemmcm/hate-speech-and-offensive-language dataset. It achieves the following results on the evaluation set:
- Loss: 0.5173
- Data Size: 1.0
- Epoch Runtime: 18.8580
- Accuracy: 0.9060
- F1 Macro: 0.7495
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 5e-05
- train_batch_size: 8
- eval_batch_size: 8
- seed: 42
- distributed_type: multi-GPU
- num_devices: 4
- total_train_batch_size: 32
- total_eval_batch_size: 32
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: constant
- num_epochs: 50
Training results
| Training Loss | Epoch | Step | Validation Loss | Data Size | Epoch Runtime | Accuracy | F1 Macro |
|---|---|---|---|---|---|---|---|
| No log | 0 | 0 | 1.1431 | 0 | 1.8394 | 0.0601 | 0.0378 |
| No log | 1 | 619 | 0.7100 | 0.0078 | 2.3465 | 0.7672 | 0.2894 |
| No log | 2 | 1238 | 0.5886 | 0.0156 | 2.3147 | 0.7849 | 0.3818 |
| 0.0141 | 3 | 1857 | 0.3756 | 0.0312 | 2.6685 | 0.8734 | 0.5694 |
| 0.0141 | 4 | 2476 | 0.3124 | 0.0625 | 3.2216 | 0.8973 | 0.5978 |
| 0.2991 | 5 | 3095 | 0.2774 | 0.125 | 4.1704 | 0.9062 | 0.7161 |
| 0.0253 | 6 | 3714 | 0.2884 | 0.25 | 6.1394 | 0.9075 | 0.6092 |
| 0.2587 | 7 | 4333 | 0.2803 | 0.5 | 10.1484 | 0.9018 | 0.7613 |
| 0.2336 | 8.0 | 4952 | 0.2439 | 1.0 | 17.7953 | 0.9140 | 0.7217 |
| 0.1428 | 9.0 | 5571 | 0.2682 | 1.0 | 18.7443 | 0.9087 | 0.7615 |
| 0.1165 | 10.0 | 6190 | 0.3254 | 1.0 | 18.5759 | 0.9103 | 0.7424 |
| 0.0855 | 11.0 | 6809 | 0.4262 | 1.0 | 18.8087 | 0.9034 | 0.7541 |
| 0.0555 | 12.0 | 7428 | 0.5173 | 1.0 | 18.8580 | 0.9060 | 0.7495 |
Framework versions
- Transformers 4.57.0
- Pytorch 2.8.0+cu128
- Datasets 4.3.0
- Tokenizers 0.22.1
- Downloads last month
- 2
Model tree for contemmcm/95afc4583321fcbc5b7c331ed6b55db6
Base model
distilbert/distilbert-base-cased