<!-- This model card has been generated automatically according to the information the Trainer had access to. You should probably proofread and complete it, then remove this comment. -->
finetuning-sentiment-model-1000-samples-imdb-v1
This model is a fine-tuned version of distilbert-base-uncased on the imdb dataset. It achieves the following results on the evaluation set:
- Loss: 0.7453
- Accuracy: 0.8667
- F1: 0.8701
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: 8
- eval_batch_size: 8
- 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 | F1 |
---|---|---|---|---|---|
No log | 1.0 | 125 | 0.4510 | 0.88 | 0.8816 |
No log | 2.0 | 250 | 0.5184 | 0.8833 | 0.8736 |
No log | 3.0 | 375 | 0.5525 | 0.8967 | 0.8920 |
0.1 | 4.0 | 500 | 0.5790 | 0.8967 | 0.8912 |
0.1 | 5.0 | 625 | 0.5501 | 0.8967 | 0.8927 |
Framework versions
- Transformers 4.25.1
- Pytorch 1.12.1+cu113
- Datasets 2.7.1
- Tokenizers 0.13.2