hadith-finetuned-ner5
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.1474
- Precision: 0.9051
- Recall: 0.9571
- F1: 0.9304
- Accuracy: 0.9515
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.6051 | 1.0 | 468 | 0.4087 | 0.7964 | 0.8190 | 0.8076 | 0.8642 |
0.3247 | 2.0 | 937 | 0.2471 | 0.8617 | 0.9112 | 0.8858 | 0.9226 |
0.1684 | 3.0 | 1405 | 0.1951 | 0.8843 | 0.9319 | 0.9075 | 0.9370 |
0.1163 | 4.0 | 1874 | 0.1581 | 0.8992 | 0.9545 | 0.9260 | 0.9489 |
0.1649 | 4.99 | 2340 | 0.1474 | 0.9051 | 0.9571 | 0.9304 | 0.9515 |
Framework versions
- Transformers 4.35.0
- Pytorch 2.0.0
- Datasets 2.1.0
- Tokenizers 0.14.1
- Downloads last month
- 3
Model tree for AhmedTaha012/hadith-finetuned-ner5
Base model
CAMeL-Lab/bert-base-arabic-camelbert-msa-ner