CoolFace
Modelpublic

SetFit/distilbert-base-uncased__hate_speech_offensive__train-8-4

sourceHugging Faceapache-2.0updated 5y agoView on Hugging Face
0likes50downloads
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-base-uncased_hatespeechoffensive_train-8-4

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

  • Loss: 1.1045
  • Accuracy: 0.128

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

Training results

Training LossEpochStepValidation LossAccuracy
1.11151.051.11740.0
1.05182.0101.13790.0
1.04453.0151.12870.0
0.93064.0201.13240.2
0.82425.0251.12190.2
0.79866.0301.13690.4
0.73697.0351.17320.2
0.5348.0401.18280.6
0.42859.0451.14820.6
0.369110.0501.14010.6
0.321511.0551.12860.6

Framework versions

  • Transformers 4.15.0
  • Pytorch 1.10.2+cu102
  • Datasets 1.18.2
  • Tokenizers 0.10.3