CoolFace
Modelpublic

tillschwoerer/bert-base-uncased-finetuned-toxicity-detection-sose25

sourceHugging Faceapache-2.0updated 1y agoView on Hugging Face
0likes4downloads
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. -->

bert-base-uncased-finetuned-toxicity-detection-sose25

This model is a fine-tuned version of bert-base-uncased on the None dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.2215
  • —Accuracy: 0.93
  • —Precision: 0.8441
  • —Recall: 0.8196
  • —F1: 0.8312

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
  • —trainbatchsize: 16
  • —evalbatchsize: 16
  • —seed: 42
  • —optimizer: Use OptimizerNames.ADAMWTORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizerargs=No additional optimizer arguments
  • —lrschedulertype: linear
  • —lrschedulerwarmup_ratio: 0.1
  • —num_epochs: 8

Training results

Training LossEpochStepValidation LossAccuracyPrecisionRecallF1
0.35291.01000.33210.910.95350.63270.6853
0.22112.02000.31870.90250.950.60200.6432
0.11183.03000.22150.930.84410.81960.8312
0.06534.04000.25390.93250.86250.80350.8293
0.02915.05000.34590.93250.90230.75960.8104

Framework versions

  • —Transformers 4.51.1
  • —Pytorch 2.6.0+cu124
  • —Datasets 3.5.0
  • —Tokenizers 0.21.1