bert_base_for_whole_train_result_Spam-Ham1_1
This model is a fine-tuned version of bert-base-uncased on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.0360
- Accuracy: 0.995
- F1: 0.9953
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: 0.0001
- train_batch_size: 64
- eval_batch_size: 64
- seed: 42
- gradient_accumulation_steps: 64
- total_train_batch_size: 4096
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 1000
- num_epochs: 100
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|---|---|---|---|---|---|
| 0.624 | 6.8817 | 50 | 0.4941 | 0.8405 | 0.8422 |
| 0.2704 | 13.7634 | 100 | 0.0776 | 0.975 | 0.9762 |
| 0.0224 | 20.6452 | 150 | 0.0365 | 0.9905 | 0.9910 |
| 0.0037 | 27.5269 | 200 | 0.0330 | 0.993 | 0.9934 |
| 0.0016 | 34.4086 | 250 | 0.0432 | 0.9925 | 0.9929 |
| 0.0006 | 41.2903 | 300 | 0.0470 | 0.9925 | 0.9929 |
| 0.0009 | 48.1720 | 350 | 0.0471 | 0.9915 | 0.9920 |
| 0.0006 | 55.0538 | 400 | 0.0502 | 0.99 | 0.9905 |
| 0.0023 | 61.9355 | 450 | 0.0288 | 0.995 | 0.9953 |
| 0.0002 | 68.8172 | 500 | 0.0337 | 0.995 | 0.9953 |
| 0.0001 | 75.6989 | 550 | 0.0332 | 0.9955 | 0.9958 |
| 0.0001 | 82.5806 | 600 | 0.0342 | 0.9955 | 0.9958 |
| 0.0 | 89.4624 | 650 | 0.0354 | 0.9955 | 0.9958 |
| 0.0001 | 96.3441 | 700 | 0.0360 | 0.995 | 0.9953 |
Framework versions
- Transformers 4.40.0
- Pytorch 2.4.1+cu121
- Datasets 3.1.0
- Tokenizers 0.19.1
- Downloads last month
- -
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for CatBarks/bert_base_for_whole_train_result_Spam-Ham1_1
Base model
google-bert/bert-base-uncased