|
|
--- |
|
|
license: cc-by-sa-4.0 |
|
|
tags: |
|
|
- generated_from_trainer |
|
|
metrics: |
|
|
- accuracy |
|
|
model-index: |
|
|
- name: xlm_2 |
|
|
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_2 |
|
|
|
|
|
This model is a fine-tuned version of [classla/xlm-roberta-base-multilingual-text-genre-classifier](https://huggingface.co/classla/xlm-roberta-base-multilingual-text-genre-classifier) on the None dataset. |
|
|
It achieves the following results on the evaluation set: |
|
|
- Loss: 0.4441 |
|
|
- Accuracy: 0.8746 |
|
|
|
|
|
## 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: 4 |
|
|
- eval_batch_size: 4 |
|
|
- seed: 42 |
|
|
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 |
|
|
- lr_scheduler_type: linear |
|
|
- num_epochs: 2 |
|
|
|
|
|
### Training results |
|
|
|
|
|
| Training Loss | Epoch | Step | Validation Loss | Accuracy | |
|
|
|:-------------:|:-----:|:----:|:---------------:|:--------:| |
|
|
| No log | 0.02 | 200 | 0.4441 | 0.8746 | |
|
|
| No log | 0.05 | 400 | 0.6870 | 0.5556 | |
|
|
| 0.6128 | 0.07 | 600 | 0.6872 | 0.5556 | |
|
|
| 0.6128 | 0.09 | 800 | 0.6870 | 0.5556 | |
|
|
| 0.6922 | 0.12 | 1000 | 0.6881 | 0.5556 | |
|
|
| 0.6922 | 0.14 | 1200 | 0.6873 | 0.5556 | |
|
|
|
|
|
|
|
|
### Framework versions |
|
|
|
|
|
- Transformers 4.26.1 |
|
|
- Pytorch 1.13.1+cu116 |
|
|
- Datasets 2.10.1 |
|
|
- Tokenizers 0.13.2 |
|
|
|