Instructions to use BruthaCool/bert-goemotions with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BruthaCool/bert-goemotions with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="BruthaCool/bert-goemotions")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("BruthaCool/bert-goemotions") model = AutoModelForSequenceClassification.from_pretrained("BruthaCool/bert-goemotions", device_map="auto") - Notebooks
- Google Colab
- Kaggle
bert-goemotions
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.0866
- F1 Micro: 0.5878
- Precision Micro: 0.6644
- Recall Micro: 0.5271
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: 64
- 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: 3
Training results
| Training Loss | Epoch | Step | Validation Loss | F1 Micro | Precision Micro | Recall Micro |
|---|---|---|---|---|---|---|
| 0.0869 | 1.0 | 2714 | 0.0872 | 0.5595 | 0.7067 | 0.4630 |
| 0.0749 | 2.0 | 5428 | 0.0828 | 0.5825 | 0.7059 | 0.4958 |
| 0.0607 | 3.0 | 8142 | 0.0866 | 0.5878 | 0.6644 | 0.5271 |
Framework versions
- Transformers 4.51.3
- Pytorch 2.6.0+cu124
- Datasets 3.6.0
- Tokenizers 0.21.1
- Downloads last month
- 10
Model tree for BruthaCool/bert-goemotions
Base model
google-bert/bert-base-uncased