hatemnoaman commited on
Commit
a3ad2fc
1 Parent(s): e505231

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +83 -0
README.md ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - generated_from_trainer
4
+ datasets:
5
+ - emotone_ar
6
+ metrics:
7
+ - accuracy
8
+ - f1
9
+ model-index:
10
+ - name: bert-base-arabic-finetuned-emotion
11
+ results:
12
+ - task:
13
+ name: Text Classification
14
+ type: text-classification
15
+ dataset:
16
+ name: emotone_ar
17
+ type: emotone_ar
18
+ config: default
19
+ split: train[:90%]
20
+ args: default
21
+ metrics:
22
+ - name: Accuracy
23
+ type: accuracy
24
+ value: 0.7266401590457257
25
+ - name: F1
26
+ type: f1
27
+ value: 0.7258317874418239
28
+ ---
29
+
30
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
31
+ should probably proofread and complete it, then remove this comment. -->
32
+
33
+ # bert-base-arabic-finetuned-emotion
34
+
35
+ This model is a fine-tuned version of [asafaya/bert-base-arabic](https://huggingface.co/asafaya/bert-base-arabic) on the emotone_ar dataset.
36
+ It achieves the following results on the evaluation set:
37
+ - Loss: 0.9079
38
+ - Accuracy: 0.7266
39
+ - F1: 0.7258
40
+
41
+ ## Model description
42
+
43
+ More information needed
44
+
45
+ ## Intended uses & limitations
46
+
47
+ More information needed
48
+
49
+ ## Training and evaluation data
50
+
51
+ More information needed
52
+
53
+ ## Training procedure
54
+
55
+ ### Training hyperparameters
56
+
57
+ The following hyperparameters were used during training:
58
+ - learning_rate: 2e-05
59
+ - train_batch_size: 64
60
+ - eval_batch_size: 64
61
+ - seed: 42
62
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
63
+ - lr_scheduler_type: linear
64
+ - num_epochs: 6
65
+
66
+ ### Training results
67
+
68
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
69
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
70
+ | 1.2471 | 1.0 | 142 | 0.8635 | 0.7078 | 0.6951 |
71
+ | 0.7906 | 2.0 | 284 | 0.8124 | 0.7266 | 0.7202 |
72
+ | 0.5983 | 3.0 | 426 | 0.8331 | 0.7336 | 0.7262 |
73
+ | 0.4615 | 4.0 | 568 | 0.8542 | 0.7266 | 0.7240 |
74
+ | 0.3573 | 5.0 | 710 | 0.8924 | 0.7286 | 0.7274 |
75
+ | 0.2969 | 6.0 | 852 | 0.9079 | 0.7266 | 0.7258 |
76
+
77
+
78
+ ### Framework versions
79
+
80
+ - Transformers 4.25.1
81
+ - Pytorch 1.13.0+cu116
82
+ - Datasets 2.8.0
83
+ - Tokenizers 0.13.2