hadith-finetuned-ner4
This model is a fine-tuned version of CAMeL-Lab/bert-base-arabic-camelbert-msa-ner on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.1479
- Precision: 0.8989
- Recall: 0.9582
- F1: 0.9276
- Accuracy: 0.9486
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
- gradient_accumulation_steps: 2
- total_train_batch_size: 16
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 5
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| 0.6108 | 1.0 | 468 | 0.4402 | 0.7599 | 0.8198 | 0.7887 | 0.8487 |
| 0.3044 | 2.0 | 937 | 0.2592 | 0.8558 | 0.9055 | 0.8800 | 0.9163 |
| 0.3269 | 3.0 | 1405 | 0.2096 | 0.8656 | 0.9329 | 0.8980 | 0.9300 |
| 0.1709 | 4.0 | 1874 | 0.1588 | 0.8953 | 0.9557 | 0.9245 | 0.9465 |
| 0.1363 | 4.99 | 2340 | 0.1479 | 0.8989 | 0.9582 | 0.9276 | 0.9486 |
Framework versions
- Transformers 4.35.0
- Pytorch 2.0.0
- Datasets 2.1.0
- Tokenizers 0.14.1
- Downloads last month
- 2
Model tree for AhmedTaha012/hadith-finetuned-ner4
Base model
CAMeL-Lab/bert-base-arabic-camelbert-msa-ner