kittinan commited on
Commit
75793e5
1 Parent(s): 94c1b33
added_tokens.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"<|endoftext|>": 50265}
all_results.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "eval_loss": 1.6228220462799072,
4
+ "eval_runtime": 39.4036,
5
+ "eval_samples": 455,
6
+ "eval_samples_per_second": 11.547,
7
+ "eval_steps_per_second": 1.447,
8
+ "perplexity": 5.067370511502039,
9
+ "train_loss": 1.6758505107466766,
10
+ "train_runtime": 8429.8505,
11
+ "train_samples": 9572,
12
+ "train_samples_per_second": 3.406,
13
+ "train_steps_per_second": 1.703
14
+ }
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "flax-community/gpt2-base-thai",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2LMHeadModel"
6
+ ],
7
+ "attn_pdrop": 0.0,
8
+ "bos_token_id": 50256,
9
+ "embd_pdrop": 0.0,
10
+ "eos_token_id": 50256,
11
+ "gradient_checkpointing": false,
12
+ "initializer_range": 0.02,
13
+ "layer_norm_epsilon": 1e-05,
14
+ "model_type": "gpt2",
15
+ "n_ctx": 1024,
16
+ "n_embd": 768,
17
+ "n_head": 12,
18
+ "n_inner": null,
19
+ "n_layer": 12,
20
+ "n_positions": 1024,
21
+ "resid_pdrop": 0.0,
22
+ "scale_attn_weights": true,
23
+ "summary_activation": null,
24
+ "summary_first_dropout": 0.1,
25
+ "summary_proj_to_labels": true,
26
+ "summary_type": "cls_index",
27
+ "summary_use_proj": true,
28
+ "task_specific_params": {
29
+ "text-generation": {
30
+ "do_sample": true,
31
+ "max_length": 50
32
+ }
33
+ },
34
+ "torch_dtype": "float32",
35
+ "transformers_version": "4.10.0.dev0",
36
+ "use_cache": true,
37
+ "vocab_size": 50266
38
+ }
eval_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "eval_loss": 1.6228220462799072,
4
+ "eval_runtime": 39.4036,
5
+ "eval_samples": 455,
6
+ "eval_samples_per_second": 11.547,
7
+ "eval_steps_per_second": 1.447,
8
+ "perplexity": 5.067370511502039
9
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:409331efe280435524cd7722ac9e7987b776bfeda5497d04d5e947a08cd772ec
3
+ size 510435963
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"bos_token": "<|endoftext|>", "eos_token": "<|endoftext|>", "unk_token": "<|endoftext|>"}
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"unk_token": "<|endoftext|>", "bos_token": "<|endoftext|>", "eos_token": "<|endoftext|>", "add_prefix_space": false, "special_tokens_map_file": null, "name_or_path": "flax-community/gpt2-base-thai", "tokenizer_class": "GPT2Tokenizer"}
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "train_loss": 1.6758505107466766,
4
+ "train_runtime": 8429.8505,
5
+ "train_samples": 9572,
6
+ "train_samples_per_second": 3.406,
7
+ "train_steps_per_second": 1.703
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,217 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 3.0,
5
+ "global_step": 14358,
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.1,
12
+ "learning_rate": 4.826577517760134e-05,
13
+ "loss": 2.376,
14
+ "step": 500
15
+ },
16
+ {
17
+ "epoch": 0.21,
18
+ "learning_rate": 4.652458559687979e-05,
19
+ "loss": 1.9479,
20
+ "step": 1000
21
+ },
22
+ {
23
+ "epoch": 0.31,
24
+ "learning_rate": 4.478339601615824e-05,
25
+ "loss": 1.8326,
26
+ "step": 1500
27
+ },
28
+ {
29
+ "epoch": 0.42,
30
+ "learning_rate": 4.304568881459813e-05,
31
+ "loss": 1.7996,
32
+ "step": 2000
33
+ },
34
+ {
35
+ "epoch": 0.52,
36
+ "learning_rate": 4.1304499233876586e-05,
37
+ "loss": 1.7476,
38
+ "step": 2500
39
+ },
40
+ {
41
+ "epoch": 0.63,
42
+ "learning_rate": 3.956330965315504e-05,
43
+ "loss": 1.7537,
44
+ "step": 3000
45
+ },
46
+ {
47
+ "epoch": 0.73,
48
+ "learning_rate": 3.782212007243349e-05,
49
+ "loss": 1.7133,
50
+ "step": 3500
51
+ },
52
+ {
53
+ "epoch": 0.84,
54
+ "learning_rate": 3.608093049171194e-05,
55
+ "loss": 1.6888,
56
+ "step": 4000
57
+ },
58
+ {
59
+ "epoch": 0.94,
60
+ "learning_rate": 3.434322329015183e-05,
61
+ "loss": 1.6906,
62
+ "step": 4500
63
+ },
64
+ {
65
+ "epoch": 1.0,
66
+ "eval_loss": 1.6714558601379395,
67
+ "eval_runtime": 47.5103,
68
+ "eval_samples_per_second": 9.577,
69
+ "eval_steps_per_second": 1.2,
70
+ "step": 4786
71
+ },
72
+ {
73
+ "epoch": 1.04,
74
+ "learning_rate": 3.2602033709430284e-05,
75
+ "loss": 1.6771,
76
+ "step": 5000
77
+ },
78
+ {
79
+ "epoch": 1.15,
80
+ "learning_rate": 3.086084412870874e-05,
81
+ "loss": 1.6319,
82
+ "step": 5500
83
+ },
84
+ {
85
+ "epoch": 1.25,
86
+ "learning_rate": 2.9119654547987185e-05,
87
+ "loss": 1.6327,
88
+ "step": 6000
89
+ },
90
+ {
91
+ "epoch": 1.36,
92
+ "learning_rate": 2.737846496726564e-05,
93
+ "loss": 1.6368,
94
+ "step": 6500
95
+ },
96
+ {
97
+ "epoch": 1.46,
98
+ "learning_rate": 2.563727538654409e-05,
99
+ "loss": 1.6329,
100
+ "step": 7000
101
+ },
102
+ {
103
+ "epoch": 1.57,
104
+ "learning_rate": 2.3899568184983983e-05,
105
+ "loss": 1.6143,
106
+ "step": 7500
107
+ },
108
+ {
109
+ "epoch": 1.67,
110
+ "learning_rate": 2.2158378604262433e-05,
111
+ "loss": 1.6044,
112
+ "step": 8000
113
+ },
114
+ {
115
+ "epoch": 1.78,
116
+ "learning_rate": 2.0417189023540884e-05,
117
+ "loss": 1.6295,
118
+ "step": 8500
119
+ },
120
+ {
121
+ "epoch": 1.88,
122
+ "learning_rate": 1.8675999442819337e-05,
123
+ "loss": 1.6023,
124
+ "step": 9000
125
+ },
126
+ {
127
+ "epoch": 1.98,
128
+ "learning_rate": 1.6934809862097788e-05,
129
+ "loss": 1.6021,
130
+ "step": 9500
131
+ },
132
+ {
133
+ "epoch": 2.0,
134
+ "eval_loss": 1.6306262016296387,
135
+ "eval_runtime": 43.7183,
136
+ "eval_samples_per_second": 10.408,
137
+ "eval_steps_per_second": 1.304,
138
+ "step": 9572
139
+ },
140
+ {
141
+ "epoch": 2.09,
142
+ "learning_rate": 1.5193620281376237e-05,
143
+ "loss": 1.5842,
144
+ "step": 10000
145
+ },
146
+ {
147
+ "epoch": 2.19,
148
+ "learning_rate": 1.3452430700654689e-05,
149
+ "loss": 1.587,
150
+ "step": 10500
151
+ },
152
+ {
153
+ "epoch": 2.3,
154
+ "learning_rate": 1.1714723499094582e-05,
155
+ "loss": 1.5566,
156
+ "step": 11000
157
+ },
158
+ {
159
+ "epoch": 2.4,
160
+ "learning_rate": 9.973533918373034e-06,
161
+ "loss": 1.6022,
162
+ "step": 11500
163
+ },
164
+ {
165
+ "epoch": 2.51,
166
+ "learning_rate": 8.232344337651483e-06,
167
+ "loss": 1.5785,
168
+ "step": 12000
169
+ },
170
+ {
171
+ "epoch": 2.61,
172
+ "learning_rate": 6.491154756929935e-06,
173
+ "loss": 1.5775,
174
+ "step": 12500
175
+ },
176
+ {
177
+ "epoch": 2.72,
178
+ "learning_rate": 4.753447555369829e-06,
179
+ "loss": 1.5684,
180
+ "step": 13000
181
+ },
182
+ {
183
+ "epoch": 2.82,
184
+ "learning_rate": 3.01225797464828e-06,
185
+ "loss": 1.5719,
186
+ "step": 13500
187
+ },
188
+ {
189
+ "epoch": 2.93,
190
+ "learning_rate": 1.2710683939267307e-06,
191
+ "loss": 1.5819,
192
+ "step": 14000
193
+ },
194
+ {
195
+ "epoch": 3.0,
196
+ "eval_loss": 1.6228220462799072,
197
+ "eval_runtime": 42.6413,
198
+ "eval_samples_per_second": 10.67,
199
+ "eval_steps_per_second": 1.337,
200
+ "step": 14358
201
+ },
202
+ {
203
+ "epoch": 3.0,
204
+ "step": 14358,
205
+ "total_flos": 1.5006523981824e+16,
206
+ "train_loss": 1.6758505107466766,
207
+ "train_runtime": 8429.8505,
208
+ "train_samples_per_second": 3.406,
209
+ "train_steps_per_second": 1.703
210
+ }
211
+ ],
212
+ "max_steps": 14358,
213
+ "num_train_epochs": 3,
214
+ "total_flos": 1.5006523981824e+16,
215
+ "trial_name": null,
216
+ "trial_params": null
217
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7685f4b1b08905ec0c46a302540d4cb5df073837ba31d9ea1b1a8aa902f04819
3
+ size 2671
vocab.json ADDED
The diff for this file is too large to render. See raw diff