Bmalmotairy commited on
Commit
9d4a106
·
1 Parent(s): bfb12ca

End of training

Browse files
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: aubmindlab/bert-base-arabertv02-twitter
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - accuracy
7
+ - precision
8
+ - recall
9
+ - f1
10
+ model-index:
11
+ - name: arabert-fully-supervised-arabic-propaganda
12
+ results: []
13
+ ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ # arabert-fully-supervised-arabic-propaganda
19
+
20
+ This model is a fine-tuned version of [aubmindlab/bert-base-arabertv02-twitter](https://huggingface.co/aubmindlab/bert-base-arabertv02-twitter) on the None dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 0.9417
23
+ - Accuracy: 0.9452
24
+ - Precision: 0.7812
25
+ - Recall: 0.6098
26
+ - F1: 0.6849
27
+
28
+ ## Model description
29
+
30
+ More information needed
31
+
32
+ ## Intended uses & limitations
33
+
34
+ More information needed
35
+
36
+ ## Training and evaluation data
37
+
38
+ More information needed
39
+
40
+ ## Training procedure
41
+
42
+ ### Training hyperparameters
43
+
44
+ The following hyperparameters were used during training:
45
+ - learning_rate: 5e-05
46
+ - train_batch_size: 32
47
+ - eval_batch_size: 32
48
+ - seed: 42
49
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
50
+ - lr_scheduler_type: linear
51
+ - lr_scheduler_warmup_ratio: 0.2
52
+ - num_epochs: 5
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
57
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
58
+ | 0.2106 | 1.0 | 40 | 0.3648 | 0.8881 | 0.4559 | 0.7561 | 0.5688 |
59
+ | 0.5647 | 2.0 | 80 | 0.5461 | 0.9286 | 0.6341 | 0.6341 | 0.6341 |
60
+ | 0.1487 | 3.0 | 120 | 0.5744 | 0.9286 | 0.6222 | 0.6829 | 0.6512 |
61
+ | 0.0015 | 4.0 | 160 | 0.7544 | 0.9429 | 0.7179 | 0.6829 | 0.7000 |
62
+ | 0.0013 | 5.0 | 200 | 0.9417 | 0.9452 | 0.7812 | 0.6098 | 0.6849 |
63
+
64
+
65
+ ### Framework versions
66
+
67
+ - Transformers 4.35.0
68
+ - Pytorch 2.1.0+cu121
69
+ - Datasets 2.14.6
70
+ - Tokenizers 0.14.1
config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "aubmindlab/bert-base-arabertv02-twitter",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "transparent",
14
+ "1": "propaganda"
15
+ },
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 3072,
18
+ "label2id": {
19
+ "propaganda": 1,
20
+ "transparent": 0
21
+ },
22
+ "layer_norm_eps": 1e-12,
23
+ "max_position_embeddings": 512,
24
+ "model_type": "bert",
25
+ "num_attention_heads": 12,
26
+ "num_hidden_layers": 12,
27
+ "pad_token_id": 0,
28
+ "position_embedding_type": "absolute",
29
+ "problem_type": "single_label_classification",
30
+ "torch_dtype": "float32",
31
+ "transformers_version": "4.35.0",
32
+ "type_vocab_size": 2,
33
+ "use_cache": true,
34
+ "vocab_size": 64000
35
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4334db93501631a2810cbd6a77988e3069c2d9d5ac8d4d873a8b73514f25d310
3
+ size 540803072
runs/Nov12_18-26-50_nf0gvn0hmp/events.out.tfevents.1699813615.nf0gvn0hmp.677.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77353dbc0cb6b0fad52cd24c3ec473ec6db015455451e24a9f976818fcf6bb89
3
+ size 38162
runs/Nov12_18-26-50_nf0gvn0hmp/events.out.tfevents.1699813658.nf0gvn0hmp.677.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5787cde0773f375a62639360370521948bee63026129365cf5070b9bae3a5d7a
3
+ size 512
runs/Nov12_18-28-49_nf0gvn0hmp/events.out.tfevents.1699813736.nf0gvn0hmp.826.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:54437cf30525d5a764ca453b7a8a2acf23550c2d7a7c3efb81344b2938c0c055
3
+ size 38162
runs/Nov12_18-28-49_nf0gvn0hmp/events.out.tfevents.1699813782.nf0gvn0hmp.826.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16d52f3a7d451b2deadca528c0399f0541f84a8617c6279432acaac817a0e4fa
3
+ size 512
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "4": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": false,
48
+ "mask_token": "[MASK]",
49
+ "max_len": 512,
50
+ "model_max_length": 512,
51
+ "never_split": [
52
+ "[بريد]",
53
+ "[مستخدم]",
54
+ "[رابط]"
55
+ ],
56
+ "pad_token": "[PAD]",
57
+ "sep_token": "[SEP]",
58
+ "strip_accents": null,
59
+ "tokenize_chinese_chars": true,
60
+ "tokenizer_class": "BertTokenizer",
61
+ "unk_token": "[UNK]",
62
+ "use_fast": true
63
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06a7d33b0558e2ac65cbca79b79ecef019f305b82cf39f124b69b472a071ddbe
3
+ size 4664
vocab.txt ADDED
The diff for this file is too large to render. See raw diff