AhmedTaha012
commited on
Commit
•
c768839
1
Parent(s):
6041ba1
End of training
Browse files
README.md
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: CAMeL-Lab/bert-base-arabic-camelbert-msa-ner
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- precision
|
8 |
+
- recall
|
9 |
+
- f1
|
10 |
+
- accuracy
|
11 |
+
model-index:
|
12 |
+
- name: hadith-finetuned-ner2
|
13 |
+
results: []
|
14 |
+
---
|
15 |
+
|
16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
17 |
+
should probably proofread and complete it, then remove this comment. -->
|
18 |
+
|
19 |
+
# hadith-finetuned-ner2
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [CAMeL-Lab/bert-base-arabic-camelbert-msa-ner](https://huggingface.co/CAMeL-Lab/bert-base-arabic-camelbert-msa-ner) on the None dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.1591
|
24 |
+
- Precision: 0.8899
|
25 |
+
- Recall: 0.9602
|
26 |
+
- F1: 0.9237
|
27 |
+
- Accuracy: 0.9452
|
28 |
+
|
29 |
+
## Model description
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Intended uses & limitations
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training and evaluation data
|
38 |
+
|
39 |
+
More information needed
|
40 |
+
|
41 |
+
## Training procedure
|
42 |
+
|
43 |
+
### Training hyperparameters
|
44 |
+
|
45 |
+
The following hyperparameters were used during training:
|
46 |
+
- learning_rate: 2e-05
|
47 |
+
- train_batch_size: 8
|
48 |
+
- eval_batch_size: 8
|
49 |
+
- seed: 42
|
50 |
+
- gradient_accumulation_steps: 2
|
51 |
+
- total_train_batch_size: 16
|
52 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
53 |
+
- lr_scheduler_type: linear
|
54 |
+
- num_epochs: 5
|
55 |
+
- mixed_precision_training: Native AMP
|
56 |
+
|
57 |
+
### Training results
|
58 |
+
|
59 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
60 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
61 |
+
| 0.5252 | 1.0 | 468 | 0.4358 | 0.7801 | 0.7819 | 0.7810 | 0.8478 |
|
62 |
+
| 0.228 | 2.0 | 937 | 0.2789 | 0.8225 | 0.9172 | 0.8673 | 0.9055 |
|
63 |
+
| 0.1561 | 3.0 | 1405 | 0.2077 | 0.8648 | 0.9395 | 0.9006 | 0.9301 |
|
64 |
+
| 0.1759 | 4.0 | 1874 | 0.1692 | 0.8914 | 0.9506 | 0.9201 | 0.9434 |
|
65 |
+
| 0.1496 | 4.99 | 2340 | 0.1591 | 0.8899 | 0.9602 | 0.9237 | 0.9452 |
|
66 |
+
|
67 |
+
|
68 |
+
### Framework versions
|
69 |
+
|
70 |
+
- Transformers 4.35.0
|
71 |
+
- Pytorch 2.0.0
|
72 |
+
- Datasets 2.1.0
|
73 |
+
- Tokenizers 0.14.1
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 434041720
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fb5dcc20c892d7b3de7edd312e9301256f73b2a2f0f6e5d91b633f7037b7d795
|
3 |
size 434041720
|
runs/Nov16_13-02-26_c4f5ab141e62/events.out.tfevents.1700139782.c4f5ab141e62.47.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5e4cb83cdfb89aec58dfcd8dcbe9ee64149aa8f0b9d70021792462bbf1a38b6f
|
3 |
+
size 374693
|