Team Ai
Modelpublic

Athipan01/codebert-emotion-model

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes4downloads
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. -->

codebert-emotion-model

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

  • —Loss: 1.5182
  • —Accuracy: 0.415
  • —F1: 0.2434
  • —Precision: 0.1722
  • —Recall: 0.415

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
  • —gradientaccumulationsteps: 4
  • —totaltrainbatch_size: 16
  • —optimizer: Use OptimizerNames.ADAMWTORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizerargs=No additional optimizer arguments
  • —lrschedulertype: linear
  • —num_epochs: 3

Training results

Training LossEpochStepValidation LossAccuracyF1PrecisionRecall
1.7271.0631.51820.4150.24340.17220.415
1.59642.01261.49620.4150.24340.17220.415
1.61952.961861.49450.4150.24340.17220.415

Framework versions

  • —PEFT 0.15.2
  • —Transformers 4.51.3
  • —Pytorch 2.6.0+cu124
  • —Datasets 3.6.0
  • —Tokenizers 0.21.1