xlm-roberta-code-switching

This model is a fine-tuned version of xlm-roberta-base on the None dataset. It achieves the following results on the evaluation set:

  • Loss: 0.5855
  • Precision: 0.7474
  • Recall: 0.5917
  • F1: 0.6605
  • Accuracy: 0.8173

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
  • train_batch_size: 16
  • eval_batch_size: 16
  • seed: 42
  • optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
  • lr_scheduler_type: linear
  • num_epochs: 5

Training results

Training Loss Epoch Step Validation Loss Precision Recall F1 Accuracy
No log 1.0 8 0.8365 0.0 0.0 0.0 0.6041
No log 2.0 16 0.7222 0.0 0.0 0.0 0.6041
No log 3.0 24 0.6662 0.3488 0.125 0.1840 0.6497
No log 4.0 32 0.6191 0.7273 0.5333 0.6154 0.7970
No log 5.0 40 0.5855 0.7474 0.5917 0.6605 0.8173

Framework versions

  • Transformers 5.13.1
  • Pytorch 2.11.0+cu128
  • Datasets 4.0.0
  • Tokenizers 0.22.2
Downloads last month
11
Safetensors
Model size
0.3B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Maryam657775/xlm-roberta-code-switching

Finetuned
(4177)
this model