monshinawatra commited on
Commit
43bddab
1 Parent(s): 2d9494d

Training in progress, epoch 2, checkpoint

Browse files
checkpoint-2500/config.json ADDED
@@ -0,0 +1,176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "kkatiz/thai-trocr-thaigov-v2",
3
+ "architectures": [
4
+ "VisionEncoderDecoderModel"
5
+ ],
6
+ "decoder": {
7
+ "_name_or_path": "airesearch/wangchanberta-base-att-spm-uncased",
8
+ "add_cross_attention": true,
9
+ "architectures": [
10
+ "RobertaForMaskedLM"
11
+ ],
12
+ "attention_probs_dropout_prob": 0.1,
13
+ "bad_words_ids": null,
14
+ "begin_suppress_tokens": null,
15
+ "bos_token_id": 0,
16
+ "chunk_size_feed_forward": 0,
17
+ "classifier_dropout": null,
18
+ "cross_attention_hidden_size": null,
19
+ "decoder_start_token_id": null,
20
+ "diversity_penalty": 0.0,
21
+ "do_sample": false,
22
+ "early_stopping": false,
23
+ "encoder_no_repeat_ngram_size": 0,
24
+ "eos_token_id": 2,
25
+ "exponential_decay_length_penalty": null,
26
+ "finetuning_task": null,
27
+ "forced_bos_token_id": null,
28
+ "forced_eos_token_id": null,
29
+ "gradient_checkpointing": false,
30
+ "hidden_act": "gelu",
31
+ "hidden_dropout_prob": 0.1,
32
+ "hidden_size": 768,
33
+ "id2label": {
34
+ "0": "LABEL_0",
35
+ "1": "LABEL_1"
36
+ },
37
+ "initializer_range": 0.02,
38
+ "intermediate_size": 3072,
39
+ "is_decoder": true,
40
+ "is_encoder_decoder": false,
41
+ "label2id": {
42
+ "LABEL_0": 0,
43
+ "LABEL_1": 1
44
+ },
45
+ "layer_norm_eps": 1e-12,
46
+ "length_penalty": 1.0,
47
+ "max_length": 20,
48
+ "max_position_embeddings": 512,
49
+ "min_length": 0,
50
+ "model_type": "camembert",
51
+ "no_repeat_ngram_size": 0,
52
+ "num_attention_head": 12,
53
+ "num_attention_heads": 12,
54
+ "num_beam_groups": 1,
55
+ "num_beams": 1,
56
+ "num_hidden_layers": 12,
57
+ "num_return_sequences": 1,
58
+ "output_attentions": false,
59
+ "output_hidden_states": false,
60
+ "output_scores": false,
61
+ "pad_token_id": 1,
62
+ "position_embedding_type": "absolute",
63
+ "prefix": null,
64
+ "problem_type": null,
65
+ "pruned_heads": {},
66
+ "remove_invalid_values": false,
67
+ "repetition_penalty": 1.0,
68
+ "return_dict": true,
69
+ "return_dict_in_generate": false,
70
+ "sep_token_id": null,
71
+ "suppress_tokens": null,
72
+ "task_specific_params": null,
73
+ "temperature": 1.0,
74
+ "tf_legacy_loss": false,
75
+ "tie_encoder_decoder": false,
76
+ "tie_word_embeddings": true,
77
+ "tokenizer_class": null,
78
+ "top_k": 50,
79
+ "top_p": 1.0,
80
+ "torch_dtype": null,
81
+ "torchscript": false,
82
+ "type_vocab_size": 1,
83
+ "typical_p": 1.0,
84
+ "use_bfloat16": false,
85
+ "use_cache": true,
86
+ "vocab_size": 39544
87
+ },
88
+ "decoder_start_token_id": 5,
89
+ "encoder": {
90
+ "_name_or_path": "encoder",
91
+ "add_cross_attention": false,
92
+ "architectures": [
93
+ "ViTModel"
94
+ ],
95
+ "attention_probs_dropout_prob": 0.0,
96
+ "bad_words_ids": null,
97
+ "begin_suppress_tokens": null,
98
+ "bos_token_id": null,
99
+ "chunk_size_feed_forward": 0,
100
+ "cross_attention_hidden_size": null,
101
+ "decoder_start_token_id": null,
102
+ "diversity_penalty": 0.0,
103
+ "do_sample": false,
104
+ "early_stopping": false,
105
+ "encoder_no_repeat_ngram_size": 0,
106
+ "encoder_stride": 16,
107
+ "eos_token_id": null,
108
+ "exponential_decay_length_penalty": null,
109
+ "finetuning_task": null,
110
+ "forced_bos_token_id": null,
111
+ "forced_eos_token_id": null,
112
+ "hidden_act": "gelu",
113
+ "hidden_dropout_prob": 0.0,
114
+ "hidden_size": 768,
115
+ "id2label": {
116
+ "0": "LABEL_0",
117
+ "1": "LABEL_1"
118
+ },
119
+ "image_size": 384,
120
+ "initializer_range": 0.02,
121
+ "intermediate_size": 3072,
122
+ "is_decoder": false,
123
+ "is_encoder_decoder": false,
124
+ "label2id": {
125
+ "LABEL_0": 0,
126
+ "LABEL_1": 1
127
+ },
128
+ "layer_norm_eps": 1e-12,
129
+ "length_penalty": 1.0,
130
+ "max_length": 20,
131
+ "min_length": 0,
132
+ "model_type": "vit",
133
+ "no_repeat_ngram_size": 0,
134
+ "num_attention_heads": 12,
135
+ "num_beam_groups": 1,
136
+ "num_beams": 1,
137
+ "num_channels": 3,
138
+ "num_hidden_layers": 12,
139
+ "num_return_sequences": 1,
140
+ "output_attentions": false,
141
+ "output_hidden_states": false,
142
+ "output_scores": false,
143
+ "pad_token_id": null,
144
+ "patch_size": 16,
145
+ "prefix": null,
146
+ "problem_type": null,
147
+ "pruned_heads": {},
148
+ "qkv_bias": false,
149
+ "remove_invalid_values": false,
150
+ "repetition_penalty": 1.0,
151
+ "return_dict": true,
152
+ "return_dict_in_generate": false,
153
+ "sep_token_id": null,
154
+ "suppress_tokens": null,
155
+ "task_specific_params": null,
156
+ "temperature": 1.0,
157
+ "tf_legacy_loss": false,
158
+ "tie_encoder_decoder": false,
159
+ "tie_word_embeddings": true,
160
+ "tokenizer_class": null,
161
+ "top_k": 50,
162
+ "top_p": 1.0,
163
+ "torch_dtype": "float32",
164
+ "torchscript": false,
165
+ "typical_p": 1.0,
166
+ "use_bfloat16": false
167
+ },
168
+ "eos_token_id": 6,
169
+ "is_encoder_decoder": true,
170
+ "model_type": "vision-encoder-decoder",
171
+ "pad_token_id": 1,
172
+ "tie_word_embeddings": false,
173
+ "torch_dtype": "float32",
174
+ "transformers_version": "4.39.2",
175
+ "vocab_size": 39544
176
+ }
checkpoint-2500/generation_config.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "decoder_start_token_id": 5,
3
+ "early_stopping": true,
4
+ "eos_token_id": 6,
5
+ "length_penalty": 2.0,
6
+ "no_repeat_ngram_size": 3,
7
+ "num_beams": 4,
8
+ "pad_token_id": 1,
9
+ "transformers_version": "4.39.2",
10
+ "vocab_size": 39544
11
+ }
checkpoint-2500/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f85adb924d2edd7adca448d1971a1392c27dcc504d9870df2c6440e7e741645
3
+ size 925948800
checkpoint-2500/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78d947bc8329e7a7a45d7de5f16208773fe3b0be8c86d10903387890056cab59
3
+ size 1847454910
checkpoint-2500/preprocessor_config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_valid_processor_keys": [
3
+ "images",
4
+ "do_resize",
5
+ "size",
6
+ "resample",
7
+ "do_rescale",
8
+ "rescale_factor",
9
+ "do_normalize",
10
+ "image_mean",
11
+ "image_std",
12
+ "return_tensors",
13
+ "data_format",
14
+ "input_data_format"
15
+ ],
16
+ "do_normalize": true,
17
+ "do_rescale": true,
18
+ "do_resize": true,
19
+ "image_mean": [
20
+ 0.5,
21
+ 0.5,
22
+ 0.5
23
+ ],
24
+ "image_processor_type": "ViTImageProcessor",
25
+ "image_std": [
26
+ 0.5,
27
+ 0.5,
28
+ 0.5
29
+ ],
30
+ "resample": 2,
31
+ "rescale_factor": 0.00392156862745098,
32
+ "size": {
33
+ "height": 384,
34
+ "width": 384
35
+ }
36
+ }
checkpoint-2500/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b9ea095ef6611c36d7e5b3904a03e2e7be7d3ffc1039c725955caa78de66899
3
+ size 14244
checkpoint-2500/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de8b6835fe3754207894e756017dbd88f9b1a5590a114b7412804a86544d2b2b
3
+ size 1064
checkpoint-2500/trainer_state.json ADDED
@@ -0,0 +1,196 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 2.0,
5
+ "eval_steps": 500,
6
+ "global_step": 2500,
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.08,
13
+ "grad_norm": 5.201437473297119,
14
+ "learning_rate": 4.9e-05,
15
+ "loss": 2.6116,
16
+ "step": 100
17
+ },
18
+ {
19
+ "epoch": 0.16,
20
+ "grad_norm": 4.178571701049805,
21
+ "learning_rate": 4.8e-05,
22
+ "loss": 1.9634,
23
+ "step": 200
24
+ },
25
+ {
26
+ "epoch": 0.24,
27
+ "grad_norm": 3.5103917121887207,
28
+ "learning_rate": 4.7e-05,
29
+ "loss": 1.6752,
30
+ "step": 300
31
+ },
32
+ {
33
+ "epoch": 0.32,
34
+ "grad_norm": 4.7221550941467285,
35
+ "learning_rate": 4.600000000000001e-05,
36
+ "loss": 1.483,
37
+ "step": 400
38
+ },
39
+ {
40
+ "epoch": 0.4,
41
+ "grad_norm": 4.4923272132873535,
42
+ "learning_rate": 4.5e-05,
43
+ "loss": 1.3296,
44
+ "step": 500
45
+ },
46
+ {
47
+ "epoch": 0.48,
48
+ "grad_norm": 6.077773571014404,
49
+ "learning_rate": 4.4000000000000006e-05,
50
+ "loss": 1.1978,
51
+ "step": 600
52
+ },
53
+ {
54
+ "epoch": 0.56,
55
+ "grad_norm": 2.388939142227173,
56
+ "learning_rate": 4.3e-05,
57
+ "loss": 1.1306,
58
+ "step": 700
59
+ },
60
+ {
61
+ "epoch": 0.64,
62
+ "grad_norm": 2.460210084915161,
63
+ "learning_rate": 4.201e-05,
64
+ "loss": 1.0513,
65
+ "step": 800
66
+ },
67
+ {
68
+ "epoch": 0.72,
69
+ "grad_norm": 2.139218330383301,
70
+ "learning_rate": 4.101e-05,
71
+ "loss": 0.9612,
72
+ "step": 900
73
+ },
74
+ {
75
+ "epoch": 0.8,
76
+ "grad_norm": 2.382781505584717,
77
+ "learning_rate": 4.0010000000000005e-05,
78
+ "loss": 0.8977,
79
+ "step": 1000
80
+ },
81
+ {
82
+ "epoch": 0.88,
83
+ "grad_norm": 6.498015403747559,
84
+ "learning_rate": 3.902e-05,
85
+ "loss": 0.8653,
86
+ "step": 1100
87
+ },
88
+ {
89
+ "epoch": 0.96,
90
+ "grad_norm": 2.856051445007324,
91
+ "learning_rate": 3.802e-05,
92
+ "loss": 0.8131,
93
+ "step": 1200
94
+ },
95
+ {
96
+ "epoch": 1.04,
97
+ "grad_norm": 2.134838819503784,
98
+ "learning_rate": 3.702e-05,
99
+ "loss": 0.7421,
100
+ "step": 1300
101
+ },
102
+ {
103
+ "epoch": 1.12,
104
+ "grad_norm": 2.3750529289245605,
105
+ "learning_rate": 3.6020000000000004e-05,
106
+ "loss": 0.6864,
107
+ "step": 1400
108
+ },
109
+ {
110
+ "epoch": 1.2,
111
+ "grad_norm": 2.56854510307312,
112
+ "learning_rate": 3.502e-05,
113
+ "loss": 0.6453,
114
+ "step": 1500
115
+ },
116
+ {
117
+ "epoch": 1.28,
118
+ "grad_norm": 2.0850515365600586,
119
+ "learning_rate": 3.402e-05,
120
+ "loss": 0.6245,
121
+ "step": 1600
122
+ },
123
+ {
124
+ "epoch": 1.36,
125
+ "grad_norm": 2.8658158779144287,
126
+ "learning_rate": 3.302e-05,
127
+ "loss": 0.597,
128
+ "step": 1700
129
+ },
130
+ {
131
+ "epoch": 1.44,
132
+ "grad_norm": 2.8391458988189697,
133
+ "learning_rate": 3.202e-05,
134
+ "loss": 0.5792,
135
+ "step": 1800
136
+ },
137
+ {
138
+ "epoch": 1.52,
139
+ "grad_norm": 2.1407833099365234,
140
+ "learning_rate": 3.102e-05,
141
+ "loss": 0.5501,
142
+ "step": 1900
143
+ },
144
+ {
145
+ "epoch": 1.6,
146
+ "grad_norm": 3.772876739501953,
147
+ "learning_rate": 3.0020000000000004e-05,
148
+ "loss": 0.5411,
149
+ "step": 2000
150
+ },
151
+ {
152
+ "epoch": 1.68,
153
+ "grad_norm": 1.72440505027771,
154
+ "learning_rate": 2.9020000000000003e-05,
155
+ "loss": 0.5107,
156
+ "step": 2100
157
+ },
158
+ {
159
+ "epoch": 1.76,
160
+ "grad_norm": 3.845543622970581,
161
+ "learning_rate": 2.8020000000000003e-05,
162
+ "loss": 0.4988,
163
+ "step": 2200
164
+ },
165
+ {
166
+ "epoch": 1.84,
167
+ "grad_norm": 1.5010182857513428,
168
+ "learning_rate": 2.7020000000000002e-05,
169
+ "loss": 0.48,
170
+ "step": 2300
171
+ },
172
+ {
173
+ "epoch": 1.92,
174
+ "grad_norm": 1.9300732612609863,
175
+ "learning_rate": 2.602e-05,
176
+ "loss": 0.4683,
177
+ "step": 2400
178
+ },
179
+ {
180
+ "epoch": 2.0,
181
+ "grad_norm": 2.938793659210205,
182
+ "learning_rate": 2.5019999999999998e-05,
183
+ "loss": 0.4501,
184
+ "step": 2500
185
+ }
186
+ ],
187
+ "logging_steps": 100,
188
+ "max_steps": 5000,
189
+ "num_input_tokens_seen": 0,
190
+ "num_train_epochs": 4,
191
+ "save_steps": 500,
192
+ "total_flos": 3.835588846288896e+20,
193
+ "train_batch_size": 16,
194
+ "trial_name": null,
195
+ "trial_params": null
196
+ }
checkpoint-2500/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60849881d7de4a5d829e6552d876c4866e51fa690f19468483c79816a9cac15c
3
+ size 5176