FrinzTheCoder's picture
FrinzTheCoder/xlm-roberta-base-swe
0de5628 verified
---
library_name: transformers
license: mit
base_model: xlm-roberta-base
tags:
- generated_from_trainer
metrics:
- accuracy
- precision
- recall
model-index:
- name: xlm-roberta-base-swe
results: []
---
<!-- 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. -->
# xlm-roberta-base-swe
This model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base) on the None dataset.
It achieves the following results on the evaluation set:
- Loss: 0.0786
- Accuracy: 0.8697
- F1 Binary: 0.6679
- Precision: 0.5772
- Recall: 0.7924
## 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: 3e-05
- train_batch_size: 32
- eval_batch_size: 8
- seed: 42
- 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: 17
- num_epochs: 4
### Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Binary | Precision | Recall |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:---------:|:------:|
| No log | 1.0 | 178 | 0.1732 | 0.2080 | 0.2900 | 0.1702 | 0.9788 |
| No log | 2.0 | 356 | 0.1125 | 0.8410 | 0.6038 | 0.5134 | 0.7331 |
| 0.1289 | 3.0 | 534 | 0.1079 | 0.8452 | 0.6335 | 0.5204 | 0.8093 |
| 0.1289 | 4.0 | 712 | 0.0786 | 0.8697 | 0.6679 | 0.5772 | 0.7924 |
### Framework versions
- Transformers 4.48.0
- Pytorch 2.5.1+cu124
- Datasets 3.1.0
- Tokenizers 0.21.0