Instructions to use itoo944/emotion-classification-results with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use itoo944/emotion-classification-results with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="itoo944/emotion-classification-results")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("itoo944/emotion-classification-results") model = AutoModelForSequenceClassification.from_pretrained("itoo944/emotion-classification-results", device_map="auto") - Notebooks
- Google Colab
- Kaggle
emotion-classification-results
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.1785
- Accuracy: 0.9219
- F1: 0.9222
- Precision: 0.9242
- Recall: 0.9219
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: 32
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 3
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
|---|---|---|---|---|---|---|---|
| 0.2789 | 1.0 | 450 | 0.2322 | 0.9062 | 0.9059 | 0.9078 | 0.9062 |
| 0.1414 | 2.0 | 900 | 0.1815 | 0.92 | 0.9195 | 0.9201 | 0.92 |
| 0.1059 | 3.0 | 1350 | 0.1785 | 0.9219 | 0.9222 | 0.9242 | 0.9219 |
Framework versions
- Transformers 4.45.2
- Pytorch 2.3.1
- Datasets 3.0.1
- Tokenizers 0.20.1
- Downloads last month
- 2
Model tree for itoo944/emotion-classification-results
Base model
google-bert/bert-base-uncased