metadata
library_name: transformers
tags:
- generated_from_trainer
metrics:
- accuracy
- f1
- precision
- recall
model-index:
- name: hate_speech
results: []
hate_speech
This model was trained from scratch on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.8688
- Accuracy: 0.7970
- Auc Score: 0.8778
- F1: 0.8222
- Precision: 0.7921
- Recall: 0.8546
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: 3e-05
- train_batch_size: 8
- eval_batch_size: 8
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 3
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Auc Score | F1 | Precision | Recall |
|---|---|---|---|---|---|---|---|---|
| 0.6298 | 0.0923 | 100 | 0.5147 | 0.75 | 0.8339 | 0.7734 | 0.7696 | 0.7773 |
| 0.5265 | 0.1845 | 200 | 0.5786 | 0.7279 | 0.8387 | 0.7065 | 0.8659 | 0.5966 |
| 0.53 | 0.2768 | 300 | 0.4984 | 0.7721 | 0.8519 | 0.8072 | 0.7536 | 0.8689 |
| 0.533 | 0.3690 | 400 | 0.4937 | 0.7620 | 0.8575 | 0.8008 | 0.7407 | 0.8714 |
| 0.484 | 0.4613 | 500 | 0.5134 | 0.7597 | 0.8538 | 0.8045 | 0.7268 | 0.9008 |
| 0.4723 | 0.5535 | 600 | 0.4743 | 0.7818 | 0.8623 | 0.8015 | 0.8005 | 0.8025 |
| 0.4753 | 0.6458 | 700 | 0.6482 | 0.7274 | 0.8661 | 0.7921 | 0.6812 | 0.9462 |
| 0.5042 | 0.7380 | 800 | 0.4545 | 0.7864 | 0.8671 | 0.8021 | 0.8164 | 0.7882 |
| 0.5203 | 0.8303 | 900 | 0.4609 | 0.7837 | 0.8684 | 0.8119 | 0.7767 | 0.8504 |
| 0.454 | 0.9225 | 1000 | 0.4819 | 0.7754 | 0.8671 | 0.7765 | 0.8554 | 0.7109 |
| 0.4599 | 1.0148 | 1100 | 0.5349 | 0.7864 | 0.8717 | 0.8010 | 0.8197 | 0.7832 |
| 0.3534 | 1.1070 | 1200 | 0.5687 | 0.7818 | 0.8706 | 0.8040 | 0.7931 | 0.8151 |
| 0.328 | 1.1993 | 1300 | 0.6812 | 0.7809 | 0.8649 | 0.8093 | 0.7748 | 0.8471 |
| 0.3662 | 1.2915 | 1400 | 0.5995 | 0.7837 | 0.8799 | 0.8172 | 0.7622 | 0.8807 |
| 0.385 | 1.3838 | 1500 | 0.4919 | 0.7929 | 0.8747 | 0.8150 | 0.7995 | 0.8311 |
| 0.3312 | 1.4760 | 1600 | 0.6258 | 0.7947 | 0.8778 | 0.8142 | 0.8091 | 0.8193 |
| 0.3924 | 1.5683 | 1700 | 0.5400 | 0.7924 | 0.8731 | 0.8154 | 0.7965 | 0.8353 |
| 0.3304 | 1.6605 | 1800 | 0.6309 | 0.7929 | 0.8831 | 0.8178 | 0.7906 | 0.8471 |
| 0.3599 | 1.7528 | 1900 | 0.6720 | 0.7966 | 0.8793 | 0.8165 | 0.8087 | 0.8244 |
| 0.4077 | 1.8450 | 2000 | 0.6728 | 0.7883 | 0.8833 | 0.8217 | 0.7639 | 0.8891 |
| 0.3038 | 1.9373 | 2100 | 0.6785 | 0.7938 | 0.8854 | 0.8216 | 0.7825 | 0.8647 |
| 0.2641 | 2.0295 | 2200 | 0.7032 | 0.7984 | 0.8821 | 0.816 | 0.8177 | 0.8143 |
| 0.2258 | 2.1218 | 2300 | 0.8256 | 0.7860 | 0.8774 | 0.8180 | 0.7669 | 0.8765 |
| 0.2048 | 2.2140 | 2400 | 0.8105 | 0.8026 | 0.8747 | 0.8197 | 0.8218 | 0.8176 |
| 0.23 | 2.3063 | 2500 | 0.9278 | 0.7892 | 0.8731 | 0.8211 | 0.7685 | 0.8815 |
| 0.2274 | 2.3985 | 2600 | 0.8879 | 0.7911 | 0.8733 | 0.8011 | 0.8390 | 0.7664 |
| 0.1667 | 2.4908 | 2700 | 0.9328 | 0.7915 | 0.8784 | 0.8192 | 0.7817 | 0.8605 |
| 0.2208 | 2.5830 | 2800 | 0.8900 | 0.7989 | 0.8797 | 0.8185 | 0.8111 | 0.8261 |
| 0.2478 | 2.6753 | 2900 | 0.9207 | 0.7947 | 0.8799 | 0.8229 | 0.7816 | 0.8689 |
| 0.26 | 2.7675 | 3000 | 0.8699 | 0.7943 | 0.8759 | 0.8202 | 0.7884 | 0.8546 |
| 0.2079 | 2.8598 | 3100 | 0.8664 | 0.7952 | 0.8768 | 0.8202 | 0.7914 | 0.8513 |
| 0.1781 | 2.9520 | 3200 | 0.8688 | 0.7970 | 0.8778 | 0.8222 | 0.7921 | 0.8546 |
Framework versions
- Transformers 4.53.0
- Pytorch 2.7.1+cu126
- Datasets 3.6.0
- Tokenizers 0.21.2