Text Classification
Transformers
Safetensors
Indonesian
bert
indonesian
fiqhqa
indobert
Generated from Trainer
text-embeddings-inference
Instructions to use mhdafifan/indobert-fiqhqa-classifier-tuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mhdafifan/indobert-fiqhqa-classifier-tuned with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mhdafifan/indobert-fiqhqa-classifier-tuned")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mhdafifan/indobert-fiqhqa-classifier-tuned") model = AutoModelForSequenceClassification.from_pretrained("mhdafifan/indobert-fiqhqa-classifier-tuned", device_map="auto") - Notebooks
- Google Colab
- Kaggle
indobert-fiqhqa-classifier-tuned
This model is a fine-tuned version of indobenchmark/indobert-base-p1 on the FiqhQA dataset. It achieves the following results on the evaluation set:
- Loss: 0.6032
- Accuracy: 0.8609
- F1 Macro: 0.8400
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: 1e-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.4363 | 1.0 | 114 | 1.2878 | 0.4696 | 0.1435 |
| 0.472 | 2.0 | 228 | 0.5526 | 0.8522 | 0.8422 |
| 0.285 | 3.0 | 342 | 0.4545 | 0.8522 | 0.8176 |
| 0.2446 | 4.0 | 456 | 0.5125 | 0.8870 | 0.8673 |
| 0.1045 | 5.0 | 570 | 0.5242 | 0.8783 | 0.8617 |
| 0.0202 | 6.0 | 684 | 0.6032 | 0.8609 | 0.8400 |
Framework versions
- Transformers 4.57.1
- Pytorch 2.9.1+cu128
- Datasets 4.4.1
- Tokenizers 0.22.1
- Downloads last month
- 5
Model tree for mhdafifan/indobert-fiqhqa-classifier-tuned
Base model
indobenchmark/indobert-base-p1