0ca635d1db96ca293cb53ae7f71f1685
This model is a fine-tuned version of google-bert/bert-base-multilingual-uncased on the contemmcm/hate-speech-and-offensive-language dataset. It achieves the following results on the evaluation set:
- Loss: 0.2894
- Data Size: 1.0
- Epoch Runtime: 34.1527
- Accuracy: 0.9158
- F1 Macro: 0.7478
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.0112 | 0 | 2.8801 | 0.7650 | 0.2905 |
| No log | 1 | 619 | 0.6756 | 0.0078 | 4.4614 | 0.7672 | 0.2894 |
| No log | 2 | 1238 | 0.5174 | 0.0156 | 3.7309 | 0.7983 | 0.4878 |
| 0.0133 | 3 | 1857 | 0.5643 | 0.0312 | 4.4103 | 0.8265 | 0.4779 |
| 0.0133 | 4 | 2476 | 0.3522 | 0.0625 | 5.6207 | 0.8864 | 0.6658 |
| 0.3298 | 5 | 3095 | 0.3025 | 0.125 | 7.8197 | 0.8914 | 0.7115 |
| 0.0248 | 6 | 3714 | 0.2787 | 0.25 | 11.5661 | 0.9097 | 0.6373 |
| 0.2846 | 7 | 4333 | 0.2615 | 0.5 | 19.7650 | 0.9040 | 0.7303 |
| 0.2522 | 8.0 | 4952 | 0.2696 | 1.0 | 36.7692 | 0.9117 | 0.7785 |
| 0.19 | 9.0 | 5571 | 0.2827 | 1.0 | 34.5305 | 0.9058 | 0.7400 |
| 0.2103 | 10.0 | 6190 | 0.3087 | 1.0 | 34.9319 | 0.9083 | 0.7694 |
| 0.1826 | 11.0 | 6809 | 0.2894 | 1.0 | 34.1527 | 0.9158 | 0.7478 |
Framework versions
- Transformers 4.57.0
- Pytorch 2.8.0+cu128
- Datasets 4.3.0
- Tokenizers 0.22.1
- Downloads last month
- 11
Model tree for contemmcm/0ca635d1db96ca293cb53ae7f71f1685
Base model
google-bert/bert-base-multilingual-uncased