lamaabdulaziz
commited on
Commit
•
77583e8
1
Parent(s):
ea620f0
update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- generated_from_trainer
|
4 |
+
metrics:
|
5 |
+
- accuracy
|
6 |
+
- precision
|
7 |
+
- recall
|
8 |
+
model-index:
|
9 |
+
- name: AraBERT-finetuned-fnd
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# AraBERT-finetuned-fnd
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [aubmindlab/bert-base-arabertv02](https://huggingface.co/aubmindlab/bert-base-arabertv02) on an unknown dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.5846
|
21 |
+
- Macro F1: 0.7751
|
22 |
+
- Accuracy: 0.7803
|
23 |
+
- Precision: 0.7740
|
24 |
+
- Recall: 0.7767
|
25 |
+
|
26 |
+
## Model description
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Intended uses & limitations
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training and evaluation data
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Training procedure
|
39 |
+
|
40 |
+
### Training hyperparameters
|
41 |
+
|
42 |
+
The following hyperparameters were used during training:
|
43 |
+
- learning_rate: 2e-05
|
44 |
+
- train_batch_size: 16
|
45 |
+
- eval_batch_size: 16
|
46 |
+
- seed: 25
|
47 |
+
- gradient_accumulation_steps: 2
|
48 |
+
- total_train_batch_size: 32
|
49 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
50 |
+
- lr_scheduler_type: linear
|
51 |
+
- num_epochs: 5
|
52 |
+
|
53 |
+
### Training results
|
54 |
+
|
55 |
+
| Training Loss | Epoch | Step | Validation Loss | Macro F1 | Accuracy | Precision | Recall |
|
56 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|:---------:|:------:|
|
57 |
+
| 0.5538 | 1.0 | 1597 | 0.5104 | 0.7183 | 0.7352 | 0.7323 | 0.7142 |
|
58 |
+
| 0.4689 | 2.0 | 3194 | 0.4849 | 0.7435 | 0.7574 | 0.7551 | 0.7392 |
|
59 |
+
| 0.3876 | 3.0 | 4791 | 0.4828 | 0.7693 | 0.7747 | 0.7682 | 0.7708 |
|
60 |
+
| 0.3152 | 4.0 | 6388 | 0.5412 | 0.7702 | 0.7747 | 0.7686 | 0.7729 |
|
61 |
+
| 0.2627 | 5.0 | 7985 | 0.5846 | 0.7751 | 0.7803 | 0.7740 | 0.7767 |
|
62 |
+
|
63 |
+
|
64 |
+
### Framework versions
|
65 |
+
|
66 |
+
- Transformers 4.20.1
|
67 |
+
- Pytorch 1.11.0
|
68 |
+
- Datasets 2.1.0
|
69 |
+
- Tokenizers 0.12.1
|