Text Classification
Transformers
Safetensors
deberta-v2
Generated from Trainer
text-embeddings-inference
Instructions to use mljn/mdeberta-v3-base-finetuned-econ_frame-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mljn/mdeberta-v3-base-finetuned-econ_frame-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mljn/mdeberta-v3-base-finetuned-econ_frame-classification")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mljn/mdeberta-v3-base-finetuned-econ_frame-classification") model = AutoModelForSequenceClassification.from_pretrained("mljn/mdeberta-v3-base-finetuned-econ_frame-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
mdeberta-v3-base-finetuned-econ_frame-classification
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.3764
- Accuracy: 0.9146
- Accuracy Balanced: 0.9064
- F1 Macro: 0.9013
- F1 Weighted: 0.9151
- F1 Positive: 0.8652
- Precision Positive: 0.8462
- Recall Positive: 0.8851
- Precision Weighted: 0.9160
- Recall Weighted: 0.9146
- Mcc: 0.8031
- Roc Auc: 0.9577
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: 8
- 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_ratio: 0.06
- num_epochs: 4
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Accuracy Balanced | F1 Macro | F1 Weighted | F1 Positive | Precision Positive | Recall Positive | Precision Weighted | Recall Weighted | Mcc | Roc Auc |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| No log | 1.0 | 164 | 0.3778 | 0.8363 | 0.8085 | 0.8085 | 0.8363 | 0.7356 | 0.7356 | 0.7356 | 0.8363 | 0.8363 | 0.6171 | 0.8876 |
| No log | 2.0 | 328 | 0.2666 | 0.9110 | 0.8944 | 0.8956 | 0.9109 | 0.8555 | 0.8605 | 0.8506 | 0.9108 | 0.9110 | 0.7913 | 0.9567 |
| No log | 3.0 | 492 | 0.3173 | 0.9217 | 0.8989 | 0.9066 | 0.9209 | 0.8690 | 0.9012 | 0.8391 | 0.9211 | 0.9217 | 0.8144 | 0.9543 |
| 0.4019 | 4.0 | 656 | 0.3764 | 0.9146 | 0.9064 | 0.9013 | 0.9151 | 0.8652 | 0.8462 | 0.8851 | 0.9160 | 0.9146 | 0.8031 | 0.9577 |
Framework versions
- Transformers 4.57.6
- Pytorch 2.11.0+cu128
- Datasets 4.0.0
- Tokenizers 0.22.2
- Downloads last month
- 29
Model tree for mljn/mdeberta-v3-base-finetuned-econ_frame-classification
Base model
microsoft/mdeberta-v3-base