Woolv7007/Egyptian_text_classification
06
<!-- This model card has been generated automatically according to the information the Trainer had access to. You should probably proofread and complete it, then remove this comment. -->
arabert-hate-speech
This model is a fine-tuned version of aubmindlab/bert-base-arabertv2 on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.5588
- Accuracy: 0.9451
- Precision: 0.9464
- Recall: 0.9451
- F1: 0.9450
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: 2e-05
- trainbatchsize: 32
- evalbatchsize: 64
- seed: 42
- gradientaccumulationsteps: 2
- totaltrainbatch_size: 64
- optimizer: Use OptimizerNames.ADAMWTORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizerargs=No additional optimizer arguments
- lrschedulertype: cosine
- lrschedulerwarmup_steps: 500
- num_epochs: 20
- mixedprecisiontraining: Native AMP
- labelsmoothingfactor: 0.1
Training results
Framework versions
- Transformers 4.52.4
- Pytorch 2.6.0+cu124
- Datasets 3.6.0
- Tokenizers 0.21.1
