ModernBERT-hatespeech-classifier
This model is a fine-tuned version of answerdotai/ModernBERT-base on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.4785
- Accuracy: 0.7794
- F1: 0.7794
- Precision: 0.7794
- Recall: 0.7794
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: 32
- eval_batch_size: 16
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 5
Training results
Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
---|---|---|---|---|---|---|---|
0.482 | 1.0 | 2813 | 0.4935 | 0.7701 | 0.7702 | 0.7704 | 0.7701 |
0.4923 | 2.0 | 5626 | 0.4847 | 0.776 | 0.7758 | 0.7757 | 0.776 |
0.4866 | 3.0 | 8439 | 0.4806 | 0.7793 | 0.7791 | 0.7791 | 0.7793 |
0.4947 | 4.0 | 11252 | 0.4793 | 0.7778 | 0.7779 | 0.7780 | 0.7778 |
0.4728 | 5.0 | 14065 | 0.4785 | 0.7794 | 0.7794 | 0.7794 | 0.7794 |
Framework versions
- Transformers 4.49.0
- Pytorch 2.6.0+cu126
- Datasets 3.3.2
- Tokenizers 0.21.0
- Downloads last month
- 20
Inference Providers
NEW
This model is not currently available via any of the supported Inference Providers.
Model tree for Dauren-Nur/ModernBERT-hatespeech-classifier
Base model
answerdotai/ModernBERT-base