CoolFace
Modelpublic

domenicrosati/deberta-v3-xsmall-beavertails-harmful-qa-classifier

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes581downloads
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. -->

deberta-v3-xsmall-beavertails-harmful-qa-classifier

This model is a fine-tuned version of microsoft/deberta-v3-xsmall on an unknown dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.3043
  • —Accuracy: 0.8716
  • —Macro F1: 0.8716
  • —Macro Precision: 0.8738
  • —Macro Recall: 0.8736
  • —Micro F1: 0.8716
  • —Micro Precision: 0.8716
  • —Micro Recall: 0.8716

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

Training results

Training LossEpochStepValidation LossAccuracyMacro F1Macro PrecisionMacro RecallMicro F1Micro PrecisionMicro Recall
0.37261.023490.34090.85730.85730.85810.85870.85730.85730.8573
0.32992.046980.31860.86690.86690.86970.86920.86690.86690.8669
0.31813.070470.30920.86830.86820.87150.87070.86830.86830.8683
0.30644.093960.30430.87160.87160.87380.87360.87160.87160.8716

Framework versions

  • —Transformers 4.40.0
  • —Pytorch 2.2.2+cu121
  • —Datasets 2.19.0
  • —Tokenizers 0.19.1