Text Classification
Transformers
Safetensors
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use falling5cm/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 falling5cm/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="falling5cm/distilbert-base-uncased_emotion_ft_0416")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("falling5cm/distilbert-base-uncased_emotion_ft_0416") model = AutoModelForSequenceClassification.from_pretrained("falling5cm/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.1519
- Accuracy: 0.9445
- F1: 0.9447
- Precision: 0.9238
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 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.1242 | 1.0 | 250 | 0.1530 | 0.937 | 0.9372 | 0.9058 |
| 0.0937 | 2.0 | 500 | 0.1526 | 0.9415 | 0.9421 | 0.9090 |
| 0.0723 | 3.0 | 750 | 0.1474 | 0.942 | 0.9422 | 0.9166 |
| 0.0566 | 4.0 | 1000 | 0.1519 | 0.9445 | 0.9447 | 0.9238 |
Framework versions
- Transformers 4.49.0
- Pytorch 2.6.0+cu126
- Datasets 3.3.2
- Tokenizers 0.21.0
- Downloads last month
- 11
Model tree for falling5cm/distilbert-base-uncased_emotion_ft_0416
Base model
distilbert/distilbert-base-uncased