--- license: apache-2.0 base_model: bert-base-uncased tags: - generated_from_trainer metrics: - accuracy - f1 - precision - recall model-index: - name: IMDB-Bert-CLSModel-v3 results: [] --- # IMDB-Bert-CLSModel-v3 This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset. It achieves the following results on the evaluation set: - Loss: 0.1955 - Accuracy: 0.9274 - F1: 0.9274 - Precision: 0.9281 - Recall: 0.9274 ## 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-06 - 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.3758 | 0.6394 | 500 | 0.2138 | 0.9192 | 0.9192 | 0.9198 | 0.9191 | | 0.2114 | 1.2788 | 1000 | 0.2041 | 0.9218 | 0.9218 | 0.9233 | 0.9218 | | 0.1835 | 1.9182 | 1500 | 0.1955 | 0.9274 | 0.9274 | 0.9281 | 0.9274 | ### Framework versions - Transformers 4.41.2 - Pytorch 2.1.2 - Datasets 2.19.2 - Tokenizers 0.19.1