| | --- |
| | library_name: transformers |
| | license: mit |
| | base_model: FacebookAI/xlm-roberta-base |
| | tags: |
| | - generated_from_trainer |
| | metrics: |
| | - accuracy |
| | model-index: |
| | - name: populism_classifier_bsample_086 |
| | 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. --> |
| |
|
| | # populism_classifier_bsample_086 |
| | |
| | This model is a fine-tuned version of [FacebookAI/xlm-roberta-base](https://huggingface.co/FacebookAI/xlm-roberta-base) on the None dataset. |
| | It achieves the following results on the evaluation set: |
| | - Loss: 0.9131 |
| | - Accuracy: 0.8287 |
| | - 1-f1: 0.3960 |
| | - 1-recall: 1.0 |
| | - 1-precision: 0.2469 |
| | - Balanced Acc: 0.9092 |
| | |
| | ## 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: 16 |
| | - eval_batch_size: 16 |
| | - 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 |
| | - num_epochs: 15 |
| | - mixed_precision_training: Native AMP |
| | |
| | ### Training results |
| | |
| | | Training Loss | Epoch | Step | Validation Loss | Accuracy | 1-f1 | 1-recall | 1-precision | Balanced Acc | |
| | |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:--------:|:-----------:|:------------:| |
| | | 0.0089 | 1.0 | 12 | 0.8364 | 0.7921 | 0.3509 | 1.0 | 0.2128 | 0.8899 | |
| | | 0.0059 | 2.0 | 24 | 0.6757 | 0.8539 | 0.4348 | 1.0 | 0.2778 | 0.9226 | |
| | | 0.0034 | 3.0 | 36 | 0.6007 | 0.8961 | 0.5067 | 0.95 | 0.3455 | 0.9214 | |
| | | 0.0022 | 4.0 | 48 | 0.9966 | 0.8202 | 0.3846 | 1.0 | 0.2381 | 0.9048 | |
| | | 0.0027 | 5.0 | 60 | 0.9131 | 0.8287 | 0.3960 | 1.0 | 0.2469 | 0.9092 | |
| | |
| | |
| | ### Framework versions |
| | |
| | - Transformers 4.46.3 |
| | - Pytorch 2.4.1+cu121 |
| | - Datasets 3.1.0 |
| | - Tokenizers 0.20.3 |
| | |