| --- |
| library_name: transformers |
| license: apache-2.0 |
| base_model: AnonymousCS/populism_english_bert_base_uncased |
| tags: |
| - generated_from_trainer |
| metrics: |
| - accuracy |
| model-index: |
| - name: populism_classifier_bsample_354 |
| 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_354 |
| |
| This model is a fine-tuned version of [AnonymousCS/populism_english_bert_base_uncased](https://huggingface.co/AnonymousCS/populism_english_bert_base_uncased) on the None dataset. |
| It achieves the following results on the evaluation set: |
| - Loss: 0.9262 |
| - Accuracy: 0.6157 |
| - 1-f1: 0.3268 |
| - 1-recall: 1.0 |
| - 1-precision: 0.1953 |
| - Balanced Acc: 0.7881 |
| |
| ## 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: 32 |
| - eval_batch_size: 32 |
| - 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: 20 |
| - mixed_precision_training: Native AMP |
| |
| ### Training results |
| |
| | Training Loss | Epoch | Step | Validation Loss | Accuracy | 1-f1 | 1-recall | 1-precision | Balanced Acc | |
| |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:--------:|:-----------:|:------------:| |
| | 0.0624 | 1.0 | 4 | 1.1452 | 0.5746 | 0.3049 | 1.0 | 0.1799 | 0.7654 | |
| | 0.0305 | 2.0 | 8 | 0.7519 | 0.6679 | 0.3504 | 0.96 | 0.2143 | 0.7989 | |
| | 0.0865 | 3.0 | 12 | 0.6648 | 0.6940 | 0.3692 | 0.96 | 0.2286 | 0.8133 | |
| | 0.0234 | 4.0 | 16 | 0.8460 | 0.6381 | 0.3401 | 1.0 | 0.2049 | 0.8004 | |
| | 0.0433 | 5.0 | 20 | 0.9262 | 0.6157 | 0.3268 | 1.0 | 0.1953 | 0.7881 | |
| |
| |
| ### Framework versions |
| |
| - Transformers 4.46.3 |
| - Pytorch 2.4.1+cu121 |
| - Datasets 3.1.0 |
| - Tokenizers 0.20.3 |
| |