CoolFace
Modelpublic

asadfgglie/mDeBERTa-v3-base-xnli-multilingual-zeroshot-v5.0-nli-downsample-and-non-nli

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

mDeBERTa-v3-base-xnli-multilingual-zeroshot-v5.0-nli-downsample-and-non-nli

This model is merge dataset stratege version of v3.0 and v4.0.

This model is a fine-tuned version of MoritzLaurer/mDeBERTa-v3-base-xnli-multilingual-nli-2mil7 on the None dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.4531
  • —F1 Macro: 0.8330
  • —F1 Micro: 0.8337
  • —Accuracy Balanced: 0.8331
  • —Accuracy: 0.8337
  • —Precision Macro: 0.8330
  • —Recall Macro: 0.8331
  • —Precision Micro: 0.8337
  • —Recall Micro: 0.8337

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: 16
  • —evalbatchsize: 128
  • —seed: 20241201
  • —gradientaccumulationsteps: 2
  • —totaltrainbatch_size: 32
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —lrschedulerwarmup_ratio: 0.06
  • —num_epochs: 3

Training results

Training LossEpochStepValidation LossF1 MacroF1 MicroAccuracy BalancedAccuracyPrecision MacroRecall MacroPrecision MicroRecall Micro
0.37480.852000.42180.79710.79990.79700.79990.79730.79700.79990.7999
0.26931.694000.45230.80610.80780.80770.80780.80530.80770.80780.8078
0.19052.546000.47200.82260.82420.82410.82420.82170.82410.82420.8242

Eval results

Datasetsasadfgglie/nli-zh-tw-all/testasadfgglie/BanBan_2024-10-17-facial_expressions-nli/testeval_datasettest_dataset
eval_loss0.480.2690.4840.453
evalf1macro0.8210.9090.8160.833
evalf1micro0.8220.9090.8180.834
evalaccuracybalanced0.8210.9090.8160.833
eval_accuracy0.8220.9090.8180.834
evalprecisionmacro0.8210.9090.8160.833
evalrecallmacro0.8210.9090.8160.833
evalprecisionmicro0.8220.9090.8180.834
evalrecallmicro0.8220.9090.8180.834
eval_runtime239.874.06658.954236.797
evalsamplesper_second35.436232.63332.04231.913
evalstepsper_second0.2791.9670.2540.253
epoch2.992.992.992.99
Size of dataset850094618897557

Framework versions

  • —Transformers 4.33.3
  • —Pytorch 2.5.1+cu121
  • —Datasets 2.14.7
  • —Tokenizers 0.13.3