IMDB-Bert-CLSModel-v2
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.1989
- Accuracy: 0.9366
- F1: 0.9366
- Precision: 0.9374
- Recall: 0.9366
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: 32
- eval_batch_size: 128
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 100
- num_epochs: 2
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
|---|---|---|---|---|---|---|---|
| 0.31 | 0.6394 | 500 | 0.2119 | 0.9178 | 0.9176 | 0.9216 | 0.9177 |
| 0.1723 | 1.2788 | 1000 | 0.2163 | 0.9338 | 0.9338 | 0.9343 | 0.9338 |
| 0.1234 | 1.9182 | 1500 | 0.1989 | 0.9366 | 0.9366 | 0.9374 | 0.9366 |
Framework versions
- Transformers 4.41.2
- Pytorch 2.1.2
- Datasets 2.19.2
- Tokenizers 0.19.1
- Downloads last month
- 7
Model tree for haihuynh/IMDB-Bert-CLSModel-v2
Base model
google-bert/bert-base-uncased