bert-base-uncased-twitter-sentiment
This model is a fine-tuned version of bert-base-uncased on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.9054
- Accuracy: 0.725
- Precision: 0.7225
- Recall: 0.7196
- F1: 0.7201
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 OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- lr_scheduler_warmup_ratio: 0.1
- num_epochs: 8
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|---|---|---|---|---|---|---|---|
| 1.1045 | 1.0 | 30 | 1.0340 | 0.5 | 0.4409 | 0.4823 | 0.4344 |
| 0.9191 | 2.0 | 60 | 0.8546 | 0.5917 | 0.5848 | 0.5848 | 0.5805 |
| 0.6511 | 3.0 | 90 | 0.8594 | 0.6167 | 0.6104 | 0.6021 | 0.5880 |
| 0.4276 | 4.0 | 120 | 0.7454 | 0.6667 | 0.6760 | 0.6646 | 0.6657 |
| 0.2656 | 5.0 | 150 | 0.7335 | 0.7333 | 0.7304 | 0.7268 | 0.7258 |
| 0.151 | 6.0 | 180 | 0.8071 | 0.75 | 0.7455 | 0.7458 | 0.7453 |
| 0.0808 | 7.0 | 210 | 0.8805 | 0.7167 | 0.7084 | 0.7104 | 0.7089 |
| 0.0524 | 8.0 | 240 | 0.9054 | 0.725 | 0.7225 | 0.7196 | 0.7201 |
Framework versions
- Transformers 4.57.1
- Pytorch 2.8.0+cu128
- Datasets 4.2.0
- Tokenizers 0.22.1
- Downloads last month
- 6
Model tree for tillschwoerer/bert-base-uncased-twitter-sentiment
Base model
google-bert/bert-base-uncased