Text Classification
Transformers
Safetensors
Indonesian
deberta-v2
indonesian
fiqhqa
mdeberta
Generated from Trainer
text-embeddings-inference
Instructions to use mhdafifan/mdeberta-fiqhqa-classifier-tuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mhdafifan/mdeberta-fiqhqa-classifier-tuned with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mhdafifan/mdeberta-fiqhqa-classifier-tuned")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mhdafifan/mdeberta-fiqhqa-classifier-tuned") model = AutoModelForSequenceClassification.from_pretrained("mhdafifan/mdeberta-fiqhqa-classifier-tuned") - Notebooks
- Google Colab
- Kaggle
mdeberta-fiqhqa-classifier-tuned
This model is a fine-tuned version of mdeberta-v3-base on the FiqhQA dataset. It achieves the following results on the evaluation set:
- Loss: 0.6232
- Accuracy: 0.8783
- F1 Macro: 0.8649
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
- num_epochs: 10
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Macro |
|---|---|---|---|---|---|
| 1.6062 | 1.0 | 114 | 1.4980 | 0.4609 | 0.1052 |
| 1.1833 | 2.0 | 228 | 0.9288 | 0.6870 | 0.3725 |
| 0.6318 | 3.0 | 342 | 0.5938 | 0.8435 | 0.7396 |
| 0.6006 | 4.0 | 456 | 0.5262 | 0.8696 | 0.8435 |
| 0.206 | 5.0 | 570 | 0.5887 | 0.8696 | 0.8346 |
| 0.066 | 6.0 | 684 | 0.6569 | 0.8783 | 0.8640 |
| 0.1233 | 7.0 | 798 | 0.6173 | 0.8783 | 0.8622 |
| 0.0479 | 8.0 | 912 | 0.7066 | 0.8783 | 0.8649 |
| 0.2031 | 9.0 | 1026 | 0.5485 | 0.8870 | 0.8723 |
| 0.075 | 10.0 | 1140 | 0.6232 | 0.8783 | 0.8649 |
Framework versions
- Transformers 4.57.1
- Pytorch 2.9.1+cu128
- Datasets 4.4.1
- Tokenizers 0.22.1
- Downloads last month
- 1