Text Classification
Transformers
Safetensors
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use panchsan123/urgency-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use panchsan123/urgency-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="panchsan123/urgency-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("panchsan123/urgency-classifier") model = AutoModelForSequenceClassification.from_pretrained("panchsan123/urgency-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
urgency-classifier
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.1170
- Accuracy: 1.0
- F1 Macro: 1.0
- F1 Low: 1.0
- F1 Medium: 1.0
- F1 High: 1.0
- F1 Critical: 1.0
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: 3e-05
- train_batch_size: 16
- eval_batch_size: 32
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 20
- num_epochs: 8
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Macro | F1 Low | F1 Medium | F1 High | F1 Critical |
|---|---|---|---|---|---|---|---|---|---|
| 1.3641 | 1.0 | 25 | 1.3020 | 0.48 | 0.3102 | 0.0 | 0.6452 | 0.5957 | 0.0 |
| 0.8949 | 2.0 | 50 | 0.7792 | 0.7 | 0.6170 | 0.7368 | 0.8125 | 0.7368 | 0.1818 |
| 0.5136 | 3.0 | 75 | 0.3411 | 0.96 | 0.9606 | 0.9091 | 0.9333 | 1.0 | 1.0 |
| 0.1633 | 4.0 | 100 | 0.1170 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
| 0.0605 | 5.0 | 125 | 0.0441 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
| 0.0273 | 6.0 | 150 | 0.0245 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
| 0.0232 | 7.0 | 175 | 0.0201 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
Framework versions
- Transformers 5.12.1
- Pytorch 2.12.1+cpu
- Datasets 5.0.0
- Tokenizers 0.22.2
- Downloads last month
- 4
Model tree for panchsan123/urgency-classifier
Base model
distilbert/distilbert-base-uncased