riotu-lab commited on
Commit
e8276fd
1 Parent(s): aef1da3

upload 11 files

Browse files
config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "riotu-lab/ArabianGPT-08B-V2",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2LMHeadModel"
6
+ ],
7
+ "attn_pdrop": 0.1,
8
+ "bos_token_id": null,
9
+ "embd_pdrop": 0.1,
10
+ "eos_token_id": 64000,
11
+ "initializer_range": 0.02,
12
+ "layer_norm_epsilon": 1e-05,
13
+ "model_type": "gpt2",
14
+ "n_ctx": 1024,
15
+ "n_embd": 1280,
16
+ "n_head": 20,
17
+ "n_inner": null,
18
+ "n_layer": 36,
19
+ "n_positions": 1280,
20
+ "reorder_and_upcast_attn": false,
21
+ "resid_pdrop": 0.1,
22
+ "scale_attn_by_inverse_layer_idx": false,
23
+ "scale_attn_weights": true,
24
+ "summary_activation": null,
25
+ "summary_first_dropout": 0.1,
26
+ "summary_proj_to_labels": true,
27
+ "summary_type": "cls_index",
28
+ "summary_use_proj": true,
29
+ "task_specific_params": {
30
+ "text-generation": {
31
+ "do_sample": true,
32
+ "max_length": 50
33
+ }
34
+ },
35
+ "torch_dtype": "float32",
36
+ "transformers_version": "4.40.0",
37
+ "use_cache": true,
38
+ "vocab_size": 64002
39
+ }
generation_config.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "eos_token_id": 64000,
4
+ "transformers_version": "4.40.0"
5
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8bd0dea1b21b5323ac0e90d62a6c9741f0587284727531cfe3fc4848fdfc2508
3
+ size 3167851048
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9a7ed32b0cddbb11196891ddbc1c779548c7ef53dff27ef0eef3fd60f0b8e29
3
+ size 6335983849
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca249c1df8d53ec61d6cccea95e8fcc9661000285942a47bb090e73e6d10da70
3
+ size 14575
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:27b465cfcf298c7fe2e3c05f34cea308cc6305acad8a9561ce9f002e5a0969fa
3
+ size 627
special_tokens_map.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "eos_token": {
3
+ "content": "<EOS>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "pad_token": {
10
+ "content": "<EOS>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ }
16
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<unk>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "64000": {
12
+ "content": "<EOS>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "64001": {
20
+ "content": "<PAD>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ }
27
+ },
28
+ "clean_up_tokenization_spaces": true,
29
+ "eos_token": "<EOS>",
30
+ "model_max_length": 1000000000000000019884624838656,
31
+ "pad_token": "<EOS>",
32
+ "tokenizer_class": "PreTrainedTokenizerFast"
33
+ }
trainer_state.json ADDED
@@ -0,0 +1,210 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 2.9582557247726524,
5
+ "eval_steps": 500,
6
+ "global_step": 27000,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.10956502684343157,
13
+ "grad_norm": 236960.390625,
14
+ "learning_rate": 1e-05,
15
+ "loss": 3.4547,
16
+ "step": 1000
17
+ },
18
+ {
19
+ "epoch": 0.21913005368686314,
20
+ "grad_norm": 229318.0,
21
+ "learning_rate": 9.964588530796566e-06,
22
+ "loss": 3.3466,
23
+ "step": 2000
24
+ },
25
+ {
26
+ "epoch": 0.3286950805302947,
27
+ "grad_norm": 262596.53125,
28
+ "learning_rate": 9.858855712046716e-06,
29
+ "loss": 3.296,
30
+ "step": 3000
31
+ },
32
+ {
33
+ "epoch": 0.4382601073737263,
34
+ "grad_norm": 236514.921875,
35
+ "learning_rate": 9.684299205532435e-06,
36
+ "loss": 3.2622,
37
+ "step": 4000
38
+ },
39
+ {
40
+ "epoch": 0.5478251342171578,
41
+ "grad_norm": 218812.8125,
42
+ "learning_rate": 9.443391532195597e-06,
43
+ "loss": 3.2396,
44
+ "step": 5000
45
+ },
46
+ {
47
+ "epoch": 0.6573901610605895,
48
+ "grad_norm": 215752.28125,
49
+ "learning_rate": 9.1395450498983e-06,
50
+ "loss": 3.2215,
51
+ "step": 6000
52
+ },
53
+ {
54
+ "epoch": 0.7669551879040211,
55
+ "grad_norm": 226011.546875,
56
+ "learning_rate": 8.777063618780717e-06,
57
+ "loss": 3.2002,
58
+ "step": 7000
59
+ },
60
+ {
61
+ "epoch": 0.8765202147474526,
62
+ "grad_norm": 231935.09375,
63
+ "learning_rate": 8.361081638856787e-06,
64
+ "loss": 3.1887,
65
+ "step": 8000
66
+ },
67
+ {
68
+ "epoch": 0.9860852415908842,
69
+ "grad_norm": 234562.9375,
70
+ "learning_rate": 7.897491323355013e-06,
71
+ "loss": 3.1683,
72
+ "step": 9000
73
+ },
74
+ {
75
+ "epoch": 1.0956502684343157,
76
+ "grad_norm": 250418.53125,
77
+ "learning_rate": 7.392859237947555e-06,
78
+ "loss": 3.0454,
79
+ "step": 10000
80
+ },
81
+ {
82
+ "epoch": 1.2052152952777473,
83
+ "grad_norm": 235960.84375,
84
+ "learning_rate": 6.8543332880550015e-06,
85
+ "loss": 3.0308,
86
+ "step": 11000
87
+ },
88
+ {
89
+ "epoch": 1.314780322121179,
90
+ "grad_norm": 226152.703125,
91
+ "learning_rate": 6.289541471713303e-06,
92
+ "loss": 3.0182,
93
+ "step": 12000
94
+ },
95
+ {
96
+ "epoch": 1.4243453489646105,
97
+ "grad_norm": 241202.96875,
98
+ "learning_rate": 5.706483832126753e-06,
99
+ "loss": 3.0191,
100
+ "step": 13000
101
+ },
102
+ {
103
+ "epoch": 1.5339103758080421,
104
+ "grad_norm": 258991.890625,
105
+ "learning_rate": 5.113419140354569e-06,
106
+ "loss": 3.014,
107
+ "step": 14000
108
+ },
109
+ {
110
+ "epoch": 1.6434754026514735,
111
+ "grad_norm": 226265.984375,
112
+ "learning_rate": 4.518747913224088e-06,
113
+ "loss": 3.0095,
114
+ "step": 15000
115
+ },
116
+ {
117
+ "epoch": 1.7530404294949054,
118
+ "grad_norm": 217093.515625,
119
+ "learning_rate": 3.930893423473588e-06,
120
+ "loss": 3.0173,
121
+ "step": 16000
122
+ },
123
+ {
124
+ "epoch": 1.8626054563383367,
125
+ "grad_norm": 240746.34375,
126
+ "learning_rate": 3.3581823875670306e-06,
127
+ "loss": 3.0111,
128
+ "step": 17000
129
+ },
130
+ {
131
+ "epoch": 1.9721704831817684,
132
+ "grad_norm": 248730.8125,
133
+ "learning_rate": 2.808727021188604e-06,
134
+ "loss": 3.0062,
135
+ "step": 18000
136
+ },
137
+ {
138
+ "epoch": 2.0817355100252,
139
+ "grad_norm": 236184.765625,
140
+ "learning_rate": 2.29031013305238e-06,
141
+ "loss": 2.9252,
142
+ "step": 19000
143
+ },
144
+ {
145
+ "epoch": 2.1913005368686314,
146
+ "grad_norm": 229251.96875,
147
+ "learning_rate": 1.8102748846258644e-06,
148
+ "loss": 2.9005,
149
+ "step": 20000
150
+ },
151
+ {
152
+ "epoch": 2.300865563712063,
153
+ "grad_norm": 237543.8125,
154
+ "learning_rate": 1.375420777275549e-06,
155
+ "loss": 2.9009,
156
+ "step": 21000
157
+ },
158
+ {
159
+ "epoch": 2.4104305905554946,
160
+ "grad_norm": 218966.203125,
161
+ "learning_rate": 9.91907340133601e-07,
162
+ "loss": 2.8984,
163
+ "step": 22000
164
+ },
165
+ {
166
+ "epoch": 2.5199956173989264,
167
+ "grad_norm": 241322.34375,
168
+ "learning_rate": 6.651668829074043e-07,
169
+ "loss": 2.9062,
170
+ "step": 23000
171
+ },
172
+ {
173
+ "epoch": 2.629560644242358,
174
+ "grad_norm": 225327.21875,
175
+ "learning_rate": 3.9982754945239067e-07,
176
+ "loss": 2.9034,
177
+ "step": 24000
178
+ },
179
+ {
180
+ "epoch": 2.739125671085789,
181
+ "grad_norm": 235030.6875,
182
+ "learning_rate": 1.996477620226006e-07,
183
+ "loss": 2.9027,
184
+ "step": 25000
185
+ },
186
+ {
187
+ "epoch": 2.848690697929221,
188
+ "grad_norm": 220099.25,
189
+ "learning_rate": 6.746298476912328e-08,
190
+ "loss": 2.9065,
191
+ "step": 26000
192
+ },
193
+ {
194
+ "epoch": 2.9582557247726524,
195
+ "grad_norm": 241653.828125,
196
+ "learning_rate": 5.1455605595079894e-09,
197
+ "loss": 2.9021,
198
+ "step": 27000
199
+ }
200
+ ],
201
+ "logging_steps": 1000,
202
+ "max_steps": 27381,
203
+ "num_input_tokens_seen": 0,
204
+ "num_train_epochs": 3,
205
+ "save_steps": 1000,
206
+ "total_flos": 1.0153803112261632e+18,
207
+ "train_batch_size": 16,
208
+ "trial_name": null,
209
+ "trial_params": null
210
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:19b27f7a2c745bf748c91ba24a49eba1d9638f6856acdd3868d5c70a82641eea
3
+ size 4539