CoolFace
Modelpublic

tillschwoerer/distilbert-uncased-finetuned-toxic-comments-detection

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

distilbert-uncased-finetuned-toxic-comments-detection

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

  • —Loss: 0.1520
  • —Accuracy: 0.95
  • —Precision: 0.7391
  • —Recall: 0.8095
  • —F1: 0.7727

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: 1e-05
  • —trainbatchsize: 16
  • —evalbatchsize: 8
  • —seed: 42
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —num_epochs: 5

Training results

Training LossEpochStepValidation LossAccuracyPrecisionRecallF1
0.38921.0500.28080.8950.00.00.0
0.2192.01000.17320.930.81820.42860.5625
0.13133.01500.15150.950.73910.80950.7727
0.09244.02000.15200.950.73910.80950.7727
0.07495.02500.15400.960.80950.80950.8095

Framework versions

  • —Transformers 4.30.1
  • —Pytorch 2.0.1+cu118
  • —Tokenizers 0.13.3