smerchi's picture
Model save
de37d1f verified
---
library_name: transformers
base_model: SI2M-Lab/DarijaBERT
tags:
- generated_from_trainer
metrics:
- accuracy
model-index:
- name: question_classification
results: []
---
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->
# question_classification
This model is a fine-tuned version of [SI2M-Lab/DarijaBERT](https://huggingface.co/SI2M-Lab/DarijaBERT) on the None dataset.
It achieves the following results on the evaluation set:
- Loss: 0.0856
- Accuracy: 0.9924
## 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: 5e-05
- train_batch_size: 8
- eval_batch_size: 8
- seed: 42
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 8
### Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
| No log | 1.0 | 264 | 0.0688 | 0.9905 |
| 0.0366 | 2.0 | 528 | 0.0684 | 0.9924 |
| 0.0366 | 3.0 | 792 | 0.0770 | 0.9924 |
| 0.0 | 4.0 | 1056 | 0.0806 | 0.9924 |
| 0.0 | 5.0 | 1320 | 0.0829 | 0.9924 |
| 0.0 | 6.0 | 1584 | 0.0844 | 0.9924 |
| 0.0 | 7.0 | 1848 | 0.0852 | 0.9924 |
| 0.0 | 8.0 | 2112 | 0.0856 | 0.9924 |
### Framework versions
- Transformers 4.47.1
- Pytorch 2.5.1+cu121
- Datasets 2.21.0
- Tokenizers 0.21.0