CoolFace
Modelpublic

daspartho/text-emotion

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

text-emotion

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

  • Loss: 0.1414
  • Accuracy: 0.9367

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: 0.0001
  • trainbatchsize: 256
  • evalbatchsize: 512
  • seed: 42
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lrschedulertype: cosine
  • lrschedulerwarmup_ratio: 0.1
  • num_epochs: 5
  • mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossAccuracy
1.02321.0630.24240.917
0.19252.01260.16000.934
0.11343.01890.14180.935
0.0764.02520.14610.931
0.06045.03150.14140.9367

Framework versions

  • Transformers 4.24.0
  • Pytorch 1.12.1+cu113
  • Datasets 2.6.1
  • Tokenizers 0.13.2