balhafni commited on
Commit
48c6fd1
1 Parent(s): a1c1f8b

Model upload

Browse files
Files changed (5) hide show
  1. config.json +114 -0
  2. pytorch_model.bin +3 -0
  3. tokenizer_config.json +17 -0
  4. trainer_state.json +82 -0
  5. vocab.txt +0 -0
config.json ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/scratch/ba63/BERT_models/bert-base-arabic-camelbert-msa",
3
+ "architectures": [
4
+ "BertForTokenClassificationSingleLabel"
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": "DELETE",
14
+ "1": "MERGE-B",
15
+ "2": "MERGE-I",
16
+ "3": "REPLACE_M",
17
+ "4": "REPLACE_MI",
18
+ "5": "REPLACE_MI+REPLACE_OH",
19
+ "6": "REPLACE_MT",
20
+ "7": "REPLACE_O",
21
+ "8": "REPLACE_OA",
22
+ "9": "REPLACE_OA+REPLACE_OH",
23
+ "10": "REPLACE_OA+REPLACE_OR",
24
+ "11": "REPLACE_OC",
25
+ "12": "REPLACE_OD",
26
+ "13": "REPLACE_OD+REPLACE_OG",
27
+ "14": "REPLACE_OD+REPLACE_OH",
28
+ "15": "REPLACE_OD+REPLACE_OM",
29
+ "16": "REPLACE_OD+REPLACE_OR",
30
+ "17": "REPLACE_OH",
31
+ "18": "REPLACE_OH+REPLACE_OM",
32
+ "19": "REPLACE_OH+REPLACE_OT",
33
+ "20": "REPLACE_OH+REPLACE_XC",
34
+ "21": "REPLACE_OM",
35
+ "22": "REPLACE_OM+REPLACE_OR",
36
+ "23": "REPLACE_OR",
37
+ "24": "REPLACE_OR+REPLACE_OT",
38
+ "25": "REPLACE_OT",
39
+ "26": "REPLACE_OW",
40
+ "27": "REPLACE_P",
41
+ "28": "REPLACE_S",
42
+ "29": "REPLACE_SF",
43
+ "30": "REPLACE_SW",
44
+ "31": "REPLACE_X",
45
+ "32": "REPLACE_XC",
46
+ "33": "REPLACE_XC+REPLACE_XG",
47
+ "34": "REPLACE_XC+REPLACE_XN",
48
+ "35": "REPLACE_XF",
49
+ "36": "REPLACE_XG",
50
+ "37": "REPLACE_XM",
51
+ "38": "REPLACE_XN",
52
+ "39": "REPLACE_XT",
53
+ "40": "SPLIT",
54
+ "41": "UC"
55
+ },
56
+ "initializer_range": 0.02,
57
+ "intermediate_size": 3072,
58
+ "label2id": {
59
+ "DELETE": 0,
60
+ "MERGE-B": 1,
61
+ "MERGE-I": 2,
62
+ "REPLACE_M": 3,
63
+ "REPLACE_MI": 4,
64
+ "REPLACE_MI+REPLACE_OH": 5,
65
+ "REPLACE_MT": 6,
66
+ "REPLACE_O": 7,
67
+ "REPLACE_OA": 8,
68
+ "REPLACE_OA+REPLACE_OH": 9,
69
+ "REPLACE_OA+REPLACE_OR": 10,
70
+ "REPLACE_OC": 11,
71
+ "REPLACE_OD": 12,
72
+ "REPLACE_OD+REPLACE_OG": 13,
73
+ "REPLACE_OD+REPLACE_OH": 14,
74
+ "REPLACE_OD+REPLACE_OM": 15,
75
+ "REPLACE_OD+REPLACE_OR": 16,
76
+ "REPLACE_OH": 17,
77
+ "REPLACE_OH+REPLACE_OM": 18,
78
+ "REPLACE_OH+REPLACE_OT": 19,
79
+ "REPLACE_OH+REPLACE_XC": 20,
80
+ "REPLACE_OM": 21,
81
+ "REPLACE_OM+REPLACE_OR": 22,
82
+ "REPLACE_OR": 23,
83
+ "REPLACE_OR+REPLACE_OT": 24,
84
+ "REPLACE_OT": 25,
85
+ "REPLACE_OW": 26,
86
+ "REPLACE_P": 27,
87
+ "REPLACE_S": 28,
88
+ "REPLACE_SF": 29,
89
+ "REPLACE_SW": 30,
90
+ "REPLACE_X": 31,
91
+ "REPLACE_XC": 32,
92
+ "REPLACE_XC+REPLACE_XG": 33,
93
+ "REPLACE_XC+REPLACE_XN": 34,
94
+ "REPLACE_XF": 35,
95
+ "REPLACE_XG": 36,
96
+ "REPLACE_XM": 37,
97
+ "REPLACE_XN": 38,
98
+ "REPLACE_XT": 39,
99
+ "SPLIT": 40,
100
+ "UC": 41
101
+ },
102
+ "layer_norm_eps": 1e-12,
103
+ "max_position_embeddings": 512,
104
+ "model_type": "bert",
105
+ "num_attention_heads": 12,
106
+ "num_hidden_layers": 12,
107
+ "pad_token_id": 0,
108
+ "position_embedding_type": "absolute",
109
+ "torch_dtype": "float32",
110
+ "transformers_version": "4.22.2",
111
+ "type_vocab_size": 2,
112
+ "use_cache": true,
113
+ "vocab_size": 30000
114
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a63b7098db258825b72b92f1febaab113381b6fadeeb21386b52beaa2ef568eb
3
+ size 434162609
tokenizer_config.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "do_basic_tokenize": true,
4
+ "do_lower_case": false,
5
+ "full_tokenizer_file": null,
6
+ "mask_token": "[MASK]",
7
+ "model_max_length": 512,
8
+ "name_or_path": "/scratch/ba63/BERT_models/bert-base-arabic-camelbert-msa",
9
+ "never_split": null,
10
+ "pad_token": "[PAD]",
11
+ "sep_token": "[SEP]",
12
+ "special_tokens_map_file": null,
13
+ "strip_accents": null,
14
+ "tokenize_chinese_chars": true,
15
+ "tokenizer_class": "BertTokenizer",
16
+ "unk_token": "[UNK]"
17
+ }
trainer_state.json ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 8.856682769726248,
5
+ "global_step": 5500,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 0.81,
12
+ "learning_rate": 4.597423510466989e-05,
13
+ "loss": 0.3372,
14
+ "step": 500
15
+ },
16
+ {
17
+ "epoch": 1.61,
18
+ "learning_rate": 4.194847020933977e-05,
19
+ "loss": 0.2233,
20
+ "step": 1000
21
+ },
22
+ {
23
+ "epoch": 2.42,
24
+ "learning_rate": 3.7922705314009665e-05,
25
+ "loss": 0.1856,
26
+ "step": 1500
27
+ },
28
+ {
29
+ "epoch": 3.22,
30
+ "learning_rate": 3.389694041867955e-05,
31
+ "loss": 0.1587,
32
+ "step": 2000
33
+ },
34
+ {
35
+ "epoch": 4.03,
36
+ "learning_rate": 2.9871175523349438e-05,
37
+ "loss": 0.1332,
38
+ "step": 2500
39
+ },
40
+ {
41
+ "epoch": 4.83,
42
+ "learning_rate": 2.5845410628019323e-05,
43
+ "loss": 0.1059,
44
+ "step": 3000
45
+ },
46
+ {
47
+ "epoch": 5.64,
48
+ "learning_rate": 2.1819645732689212e-05,
49
+ "loss": 0.0869,
50
+ "step": 3500
51
+ },
52
+ {
53
+ "epoch": 6.44,
54
+ "learning_rate": 1.77938808373591e-05,
55
+ "loss": 0.0743,
56
+ "step": 4000
57
+ },
58
+ {
59
+ "epoch": 7.25,
60
+ "learning_rate": 1.3768115942028985e-05,
61
+ "loss": 0.0633,
62
+ "step": 4500
63
+ },
64
+ {
65
+ "epoch": 8.05,
66
+ "learning_rate": 9.742351046698874e-06,
67
+ "loss": 0.0537,
68
+ "step": 5000
69
+ },
70
+ {
71
+ "epoch": 8.86,
72
+ "learning_rate": 5.71658615136876e-06,
73
+ "loss": 0.0457,
74
+ "step": 5500
75
+ }
76
+ ],
77
+ "max_steps": 6210,
78
+ "num_train_epochs": 10,
79
+ "total_flos": 1.4222892248394192e+16,
80
+ "trial_name": null,
81
+ "trial_params": null
82
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff