metadata
license: apache-2.0
base_model: bert-base-uncased
tags:
- generated_from_trainer
metrics:
- accuracy
model-index:
- name: bert-base-uncased-hate-offensive-normal-speech-lr-2e-05
results: []
bert-base-uncased-hate-offensive-normal-speech-lr-2e-05
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.0164
- Accuracy: 0.9935
- Weighted f1: 0.9935
- Weighted recall: 0.9935
- Weighted precision: 0.9935
- Micro f1: 0.9935
- Micro recall: 0.9935
- Micro precision: 0.9935
- Macro f1: 0.9933
- Macro recall: 0.9931
- Macro precision: 0.9936
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: 2e-05
- train_batch_size: 16
- eval_batch_size: 16
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 5
Training results
Training Loss | Epoch | Step | Validation Loss | Accuracy | Weighted f1 | Weighted recall | Weighted precision | Micro f1 | Micro recall | Micro precision | Macro f1 | Macro recall | Macro precision |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0.6115 | 1.0 | 153 | 0.0883 | 0.9739 | 0.9742 | 0.9739 | 0.9753 | 0.9739 | 0.9739 | 0.9739 | 0.9729 | 0.9749 | 0.9719 |
0.0759 | 2.0 | 306 | 0.0295 | 0.9935 | 0.9935 | 0.9935 | 0.9936 | 0.9935 | 0.9935 | 0.9935 | 0.9932 | 0.9938 | 0.9927 |
0.0279 | 3.0 | 459 | 0.0277 | 0.9870 | 0.9870 | 0.9870 | 0.9875 | 0.9870 | 0.9870 | 0.9870 | 0.9860 | 0.9869 | 0.9857 |
0.0207 | 4.0 | 612 | 0.0266 | 0.9935 | 0.9935 | 0.9935 | 0.9935 | 0.9935 | 0.9935 | 0.9935 | 0.9933 | 0.9931 | 0.9936 |
0.0099 | 5.0 | 765 | 0.0164 | 0.9935 | 0.9935 | 0.9935 | 0.9935 | 0.9935 | 0.9935 | 0.9935 | 0.9933 | 0.9931 | 0.9936 |
Framework versions
- Transformers 4.34.0.dev0
- Pytorch 2.0.1+cu118
- Datasets 2.14.6.dev0
- Tokenizers 0.13.3