CoolFace
Modelpublic

raffel-22/Raffel_bert_emotion_classification

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

Raffelbertemotion_classification

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

  • Loss: 0.3423
  • Accuracy: 0.9596

I train this model from kaggle dataset, you can access the dataset via this link : https://www.kaggle.com/datasets/abdallahwagih/emotion-dataset

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

Training results

Training LossEpochStepValidation LossAccuracy
No log1.01670.12120.9579
No log2.03340.13620.9596
0.16223.05010.20340.9596
0.16224.06680.20350.9630
0.16225.08350.21530.9630
0.0176.010020.20100.9613
0.0177.011690.27180.9579
0.0178.013360.26410.9613
0.00999.015030.25240.9613
0.009910.016700.29180.9579
0.009911.018370.27490.9562
0.002912.020040.31330.9562
0.002913.021710.29520.9579
0.002914.023380.33340.9596
0.002215.025050.32860.9596
0.002216.026720.33400.9596
0.002217.028390.33440.9596
0.001318.030060.33950.9596
0.001319.031730.34230.9596
0.001320.033400.34230.9596

Framework versions

  • Transformers 4.34.1
  • Pytorch 2.1.0+cu118
  • Datasets 2.14.6
  • Tokenizers 0.14.1