Edit model card

xlm-roberta-base-finetuned-t_product

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

  • Loss: 0.4492
  • Accuracy: 0.82
  • F1: 0.8206

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: 64
  • eval_batch_size: 64
  • seed: 42
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • num_epochs: 5

Training results

Training Loss Epoch Step Validation Loss Accuracy F1
0.699 1.0 26 0.6862 0.425 0.2648
0.6128 2.0 52 0.5535 0.74 0.7313
0.4945 3.0 78 0.4897 0.775 0.7733
0.4365 4.0 104 0.4565 0.82 0.8197
0.3832 5.0 130 0.4492 0.82 0.8206

Framework versions

  • Transformers 4.41.2
  • Pytorch 2.3.0+cu121
  • Tokenizers 0.19.1
Downloads last month
1
Safetensors
Model size
278M params
Tensor type
F32
·
Inference API
This model can be loaded on Inference API (serverless).

Finetuned from