xlm-roberta-large-xnli-anli-v3.0

This model is a fine-tuned version of vicgalle/xlm-roberta-large-xnli-anli on the None dataset. It achieves the following results on the evaluation set:

  • Loss: 0.2506
  • F1 Macro: 0.9286
  • F1 Micro: 0.9287
  • Accuracy Balanced: 0.9297
  • Accuracy: 0.9287
  • Precision Macro: 0.9289
  • Recall Macro: 0.9297
  • Precision Micro: 0.9287
  • Recall Micro: 0.9287

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: 9e-06
  • train_batch_size: 8
  • eval_batch_size: 64
  • seed: 40
  • gradient_accumulation_steps: 4
  • total_train_batch_size: 32
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • lr_scheduler_warmup_ratio: 0.06
  • num_epochs: 3

Training results

Training Loss Epoch Step Validation Loss F1 Macro F1 Micro Accuracy Balanced Accuracy Precision Macro Recall Macro Precision Micro Recall Micro
0.235 1.69 200 0.2951 0.8888 0.8889 0.8896 0.8889 0.8920 0.8896 0.8889 0.8889

eval result

Datasets asadfgglie/nli-zh-tw-all/test asadfgglie/BanBan_2024-10-17-facial_expressions-nli/test eval_dataset test_dataset
eval_loss 0.971 0.268 0.335 0.251
eval_f1_macro 0.653 0.923 0.894 0.929
eval_f1_micro 0.655 0.923 0.894 0.929
eval_accuracy_balanced 0.666 0.923 0.894 0.93
eval_accuracy 0.655 0.923 0.894 0.929
eval_precision_macro 0.675 0.923 0.894 0.929
eval_recall_macro 0.666 0.923 0.894 0.93
eval_precision_micro 0.655 0.923 0.894 0.929
eval_recall_micro 0.655 0.923 0.894 0.929
eval_runtime 50.812 0.644 0.129 0.526
eval_samples_per_second 167.284 1468.616 1468.939 1440.156
eval_steps_per_second 2.617 23.287 23.316 22.829
Size of dataset 8500 946 189 757

Framework versions

  • Transformers 4.33.3
  • Pytorch 2.5.1+cu121
  • Datasets 2.14.7
  • Tokenizers 0.13.3
Downloads last month
5
Inference API
Unable to determine this model's library. Check the docs .

Model tree for 61347023S/xlm-roberta-large-xnli-anli-v3.0

Finetuned
(4)
this model