CoolFace
Modelpublic

Shefreie/empathetic_dialogues_context_classification

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

empatheticdialoguescontext_classification

This model is a fine-tuned version of albert-base-v2 on empatheticDialogues dataset. It achieves the following results on the evaluation set:

  • —Loss: 1.6758
  • —F1: 0.5315
  • —Accuracy: 0.5315

Access to Code

https://gist.github.com/zolfaShefreie/ae87ac2944e4f7b24609e0c28fde8449

Training hyperparameters

The following hyperparameters were used during training:

  • —learning_rate: 1e-05
  • —trainbatchsize: 32
  • —evalbatchsize: 32
  • —seed: 42
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: constant
  • —num_epochs: 10

Training results

Training LossEpochStepValidation LossF1Accuracy
2.39731.05582.25060.40800.4080
1.76242.011161.80440.48700.4870
1.53623.016741.63120.50940.5094
1.34434.022321.62250.51450.5145
1.20835.027901.58580.53550.5355
1.0796.033481.57210.54090.5409
0.95227.039061.58880.53080.5308
0.80758.044641.67580.53150.5315

Evaloation Result

on EmpatheticDialogues dataset (test split) and using whole history as input:

image/png

on empathetic-dialogues-contexts dataset (test split):

image/png

Framework versions

  • —Transformers 4.44.2
  • —Pytorch 2.5.0+cu121
  • —Datasets 3.0.2
  • —Tokenizers 0.19.1