CoolFace
Modelpublic

valurank/distilroberta-offensive

sourceHugging Faceotherupdated 4y agoView on Hugging Face
0likes45downloads
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. -->

distilroberta-offensive

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

  • Loss: 0.4526
  • Acc: 0.8975

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: 32
  • evalbatchsize: 32
  • seed: 12345
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lrschedulertype: linear
  • lrschedulerwarmup_steps: 16
  • num_epochs: 20
  • mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossAcc
0.23211.010300.24040.9044
0.25392.020600.21390.9098
0.19973.030900.25610.9090
0.16634.041200.24090.9030
0.15155.051500.30000.9055
0.10356.061800.41700.9027
0.04667.072100.45260.8975

Framework versions

  • Transformers 4.11.3
  • Pytorch 1.10.1
  • Datasets 1.17.0
  • Tokenizers 0.10.3