Instructions to use LUOSYrrrrr/distilbert-base-uncased_emotion_ft_0416 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LUOSYrrrrr/distilbert-base-uncased_emotion_ft_0416 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="LUOSYrrrrr/distilbert-base-uncased_emotion_ft_0416")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("LUOSYrrrrr/distilbert-base-uncased_emotion_ft_0416") model = AutoModelForSequenceClassification.from_pretrained("LUOSYrrrrr/distilbert-base-uncased_emotion_ft_0416", device_map="auto") - Notebooks
- Google Colab
- Kaggle
distilbert-base-uncased_emotion_ft_0416
This model is a fine-tuned version of distilbert-base-uncased on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.1490
- Accuracy: 0.9335
- F1: 0.9336
- Precision: 0.9067
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: 64
- eval_batch_size: 64
- seed: 42
- optimizer: Use adamw_torch_fused with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 4
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision |
|---|---|---|---|---|---|---|
| 0.7570 | 1.0 | 250 | 0.2596 | 0.9185 | 0.9182 | 0.8935 |
| 0.2063 | 2.0 | 500 | 0.1717 | 0.932 | 0.9324 | 0.9006 |
| 0.1371 | 3.0 | 750 | 0.1549 | 0.9325 | 0.9332 | 0.8974 |
| 0.1104 | 4.0 | 1000 | 0.1490 | 0.9335 | 0.9336 | 0.9067 |
Framework versions
- Transformers 5.0.0
- Pytorch 2.10.0
- Datasets 4.5.0
- Tokenizers 0.22.2
- Downloads last month
- 7
Model tree for LUOSYrrrrr/distilbert-base-uncased_emotion_ft_0416
Base model
distilbert/distilbert-base-uncased