Text Classification
Transformers
Safetensors
deberta-v2
Generated from Trainer
text-embeddings-inference
Instructions to use mljn/mdeberta-economy-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mljn/mdeberta-economy-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mljn/mdeberta-economy-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mljn/mdeberta-economy-classifier") model = AutoModelForSequenceClassification.from_pretrained("mljn/mdeberta-economy-classifier") - Notebooks
- Google Colab
- Kaggle
mdeberta-economy-classifier
This model is a fine-tuned version of microsoft/mdeberta-v3-base on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.5882
- Accuracy: 0.7296
- Accuracy Balanced: 0.5
- F1 Positive: 0.0
- P Positive: 0.0
- R Positive: 0.0
- F1 Macro: 0.4218
- F1 Weighted: 0.6155
- Mcc: 0.0
- Roc Auc: 0.5
- Pr Auc: 0.2704
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: 8
- eval_batch_size: 16
- 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: 50
- num_epochs: 5
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Accuracy Balanced | F1 Positive | P Positive | R Positive | F1 Macro | F1 Weighted | Mcc | Roc Auc | Pr Auc |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0.7176 | 1.0 | 98 | 0.7254 | 0.7296 | 0.5 | 0.0 | 0.0 | 0.0 | 0.4218 | 0.6155 | 0.0 | 0.5 | 0.2704 |
| 0.9435 | 2.0 | 196 | 0.9822 | 0.7296 | 0.5 | 0.0 | 0.0 | 0.0 | 0.4218 | 0.6155 | 0.0 | 0.5129 | 0.2764 |
| 0.7660 | 3.0 | 294 | 0.5887 | 0.7296 | 0.5 | 0.0 | 0.0 | 0.0 | 0.4218 | 0.6155 | 0.0 | 0.5 | 0.2704 |
| 1.2351 | 4.0 | 392 | 0.8542 | 0.7296 | 0.5 | 0.0 | 0.0 | 0.0 | 0.4218 | 0.6155 | 0.0 | 0.4608 | 0.2616 |
| 0.6943 | 5.0 | 490 | 0.6057 | 0.7296 | 0.5 | 0.0 | 0.0 | 0.0 | 0.4218 | 0.6155 | 0.0 | 0.5 | 0.2704 |
Framework versions
- Transformers 5.0.0
- Pytorch 2.10.0+cu128
- Datasets 4.0.0
- Tokenizers 0.22.2
- Downloads last month
- 2
Model tree for mljn/mdeberta-economy-classifier
Base model
microsoft/mdeberta-v3-base