BERT-ukpolitics
This model is a fine-tuned version of bert-base-cased on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.1227
- Precision: 0.6648
- Recall: 0.6365
- F1: 0.6503
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: 5e-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: 3
Training results
Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 |
---|---|---|---|---|---|---|
No log | 1.0 | 306 | 0.0992 | 0.6679 | 0.5021 | 0.5732 |
0.1045 | 2.0 | 612 | 0.1061 | 0.6347 | 0.6269 | 0.6308 |
0.1045 | 3.0 | 918 | 0.1227 | 0.6648 | 0.6365 | 0.6503 |
Framework versions
- Transformers 4.40.2
- Pytorch 2.2.1+cu121
- Datasets 2.19.1
- Tokenizers 0.19.1
- Downloads last month
- 89