CoolFace
Modelpublic

gnurt2041/roberta-hate-speech-dynabench-r4-target-tuned

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes7downloads
Model Card

<!-- 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. -->

results

This model is a fine-tuned version of facebook/roberta-hate-speech-dynabench-r4-target on an unknown dataset. It achieves the following results on the evaluation set:

  • Loss: 0.1543
  • Accuracy: 0.975
  • Precision: 0.9761
  • Recall: 0.975
  • F1: 0.9750

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
  • trainbatchsize: 1
  • evalbatchsize: 1
  • seed: 42
  • gradientaccumulationsteps: 8
  • totaltrainbatch_size: 8
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lrschedulertype: linear
  • lrschedulerwarmup_steps: 5
  • num_epochs: 10
  • mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossAccuracyPrecisionRecallF1
0.49040.9895590.34920.90.90150.90.8997
0.13441.99581190.32670.93330.93740.93330.9330
0.06142.98531780.26950.93330.93390.93330.9334
0.0413.99162380.22030.95830.96140.95830.9582
0.06744.99792980.20790.96670.96870.96670.9666
0.00065.98743570.15430.9750.97610.9750.9750
0.00046.99374170.18830.9750.97510.9750.9750
0.00028.04770.16280.96670.96670.96670.9667
0.00018.98955360.29800.96670.96870.96670.9666
0.00019.89525900.23770.9750.97610.9750.9750

Framework versions

  • Transformers 4.44.2
  • Pytorch 2.5.0+cu121
  • Datasets 3.0.2
  • Tokenizers 0.19.1