|
|
--- |
|
|
library_name: transformers |
|
|
license: apache-2.0 |
|
|
base_model: answerdotai/ModernBERT-base |
|
|
tags: |
|
|
- generated_from_trainer |
|
|
metrics: |
|
|
- accuracy |
|
|
- f1 |
|
|
- recall |
|
|
- precision |
|
|
model-index: |
|
|
- name: populism_model106 |
|
|
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_model106 |
|
|
|
|
|
This model is a fine-tuned version of [answerdotai/ModernBERT-base](https://huggingface.co/answerdotai/ModernBERT-base) on the None dataset. |
|
|
It achieves the following results on the evaluation set: |
|
|
- Loss: 0.6019 |
|
|
- Accuracy: 0.9411 |
|
|
- F1: 0.2105 |
|
|
- Recall: 0.2 |
|
|
- Precision: 0.2222 |
|
|
|
|
|
## 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: 5 |
|
|
- mixed_precision_training: Native AMP |
|
|
|
|
|
### Training results |
|
|
|
|
|
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Recall | Precision | |
|
|
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:------:|:---------:| |
|
|
| 0.4525 | 1.0 | 64 | 0.4482 | 0.9037 | 0.1404 | 0.2 | 0.1081 | |
|
|
| 0.3934 | 2.0 | 128 | 0.4251 | 0.8664 | 0.2093 | 0.45 | 0.1364 | |
|
|
| 0.5642 | 3.0 | 192 | 0.4319 | 0.9194 | 0.2545 | 0.35 | 0.2 | |
|
|
| 0.2694 | 4.0 | 256 | 0.6179 | 0.9470 | 0.1290 | 0.1 | 0.1818 | |
|
|
| 0.2547 | 5.0 | 320 | 0.6019 | 0.9411 | 0.2105 | 0.2 | 0.2222 | |
|
|
|
|
|
|
|
|
### Framework versions |
|
|
|
|
|
- Transformers 4.48.0.dev0 |
|
|
- Pytorch 2.5.1+cu121 |
|
|
- Datasets 3.2.0 |
|
|
- Tokenizers 0.21.0 |
|
|
|