--- library_name: transformers license: mit base_model: prajjwal1/bert-tiny tags: - generated_from_trainer metrics: - accuracy - f1 model-index: - name: emotion-classifier-demo results: [] datasets: - dair-ai/emotion --- # emotion-classifier-demo This model is a fine-tuned version of [prajjwal1/bert-tiny](https://huggingface.co/prajjwal1/bert-tiny) on an unknown dataset. It achieves the following results on the evaluation set: - Loss: 0.3399 - Accuracy: 0.8915 - F1: 0.8918 ## 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-05 - train_batch_size: 16 - eval_batch_size: 16 - seed: 42 - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments - lr_scheduler_type: linear - num_epochs: 5 ### Training results | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:| | 1.0102 | 1.0 | 1000 | 0.7880 | 0.7795 | 0.7662 | | 0.5796 | 2.0 | 2000 | 0.4849 | 0.868 | 0.8676 | | 0.4245 | 3.0 | 3000 | 0.3851 | 0.8865 | 0.8866 | | 0.3527 | 4.0 | 4000 | 0.3508 | 0.889 | 0.8889 | | 0.3237 | 5.0 | 5000 | 0.3399 | 0.8915 | 0.8918 | ### Framework versions - Transformers 4.52.4 - Pytorch 2.6.0+cu124 - Datasets 3.6.0 - Tokenizers 0.21.1