CoolFace
Modelpublic

aomar85/improved_stance_detection_v2-fold2

sourceHugging Faceupdated 7mo 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. -->

improvedstancedetection_v2-fold2

This model is a fine-tuned version of aubmindlab/bert-large-arabertv02-twitter on an unknown dataset. It achieves the following results on the evaluation set:

  • Loss: 0.2078
  • Accuracy: 0.8098
  • Macro F1: 0.8108
  • Weighted F1: 0.8124
  • F1 Pro: 0.8372
  • F1 Against: 0.8261
  • F1 Neutral: 0.7692

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: 3e-05
  • trainbatchsize: 8
  • evalbatchsize: 16
  • seed: 42
  • gradientaccumulationsteps: 4
  • totaltrainbatch_size: 32
  • optimizer: Use OptimizerNames.ADAMWTORCHFUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
  • lrschedulertype: cosine
  • lrschedulerwarmup_steps: 0.1
  • num_epochs: 15
  • mixedprecisiontraining: Native AMP
  • labelsmoothingfactor: 0.1

Training results

Training LossEpochStepValidation LossAccuracyMacro F1Weighted F1F1 ProF1 AgainstF1 Neutral
2.08931.9320500.41210.50730.48220.47760.57140.30930.5658
1.51033.85441000.31070.68780.68860.69100.74380.70060.6212
1.01025.77671500.26880.72200.72520.72730.76920.73970.6667
0.81397.69902000.21520.79510.79650.79760.82540.79710.7671
0.64079.62142500.23800.79510.79720.79800.82930.79100.7712
0.558411.54373000.20760.80980.81080.81240.83720.82610.7692
0.494513.46603500.21230.79510.79690.79860.84130.80280.7465

Framework versions

  • Transformers 5.0.0
  • Pytorch 2.9.0+cu128
  • Datasets 4.0.0
  • Tokenizers 0.22.2