XLM-RoBERTa-2
This model is a fine-tuned version of xlm-roberta-large on the Czech Relationship Extraction Dataset (http://hdl.handle.net/11234/1-3265). It achieves the following results on the test set:
- Loss: 0.6614
- Accuracy: 0.9100
- Micro Precision: 0.9100
- Micro Recall: 0.9100
- Micro F1: 0.9100
- Macro Precision: 0.8823
- Macro Recall: 0.8656
- Macro F1: 0.8703
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: 1e-05
- train_batch_size: 12
- eval_batch_size: 12
- seed: 42
- gradient_accumulation_steps: 2
- total_train_batch_size: 24
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 500
- num_epochs: 8
Training results
Training Loss | Epoch | Step | Validation Loss | Accuracy | Micro Precision | Micro Recall | Micro F1 | Macro Precision | Macro Recall | Macro F1 |
---|---|---|---|---|---|---|---|---|---|---|
0.4142 | 1.0 | 15074 | 0.3827 | 0.8873 | 0.8873 | 0.8873 | 0.8873 | 0.8729 | 0.8334 | 0.8429 |
0.3407 | 2.0 | 30148 | 0.3548 | 0.8965 | 0.8965 | 0.8965 | 0.8965 | 0.8663 | 0.8600 | 0.8586 |
0.2327 | 3.0 | 45222 | 0.3800 | 0.9015 | 0.9015 | 0.9015 | 0.9015 | 0.8816 | 0.8550 | 0.8623 |
0.1701 | 4.0 | 60296 | 0.4035 | 0.9062 | 0.9062 | 0.9062 | 0.9062 | 0.8730 | 0.8707 | 0.8684 |
0.1281 | 5.0 | 75370 | 0.4522 | 0.9109 | 0.9109 | 0.9109 | 0.9109 | 0.8751 | 0.8833 | 0.8755 |
0.1007 | 6.0 | 90444 | 0.5409 | 0.9109 | 0.9109 | 0.9109 | 0.9109 | 0.8741 | 0.8776 | 0.8723 |
0.0598 | 7.0 | 105518 | 0.5965 | 0.9115 | 0.9115 | 0.9115 | 0.9115 | 0.8773 | 0.8803 | 0.8751 |
0.0519 | 8.0 | 120592 | 0.6388 | 0.9131 | 0.9131 | 0.9131 | 0.9131 | 0.8736 | 0.8817 | 0.8738 |
Framework versions
- Transformers 4.46.2
- Pytorch 2.5.1+cu124
- Datasets 3.1.0
- Tokenizers 0.20.3
- Downloads last month
- 49
Inference Providers
NEW
This model is not currently available via any of the supported Inference Providers.
The model cannot be deployed to the HF Inference API:
The model has no pipeline_tag.
Model tree for stulcrad/XLM-RoBERTa-2
Base model
FacebookAI/xlm-roberta-large