NourFakih commited on
Commit
ca35fd9
·
verified ·
1 Parent(s): 88a64c4

Training in progress, step 3000, checkpoint

Browse files
checkpoint-3000/config.json ADDED
@@ -0,0 +1,188 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "nlpconnect/vit-gpt2-image-captioning",
3
+ "architectures": [
4
+ "VisionEncoderDecoderModel"
5
+ ],
6
+ "bos_token_id": 50256,
7
+ "decoder": {
8
+ "_attn_implementation_autoset": false,
9
+ "_name_or_path": "",
10
+ "activation_function": "gelu_new",
11
+ "add_cross_attention": true,
12
+ "architectures": [
13
+ "GPT2LMHeadModel"
14
+ ],
15
+ "attn_pdrop": 0.1,
16
+ "bad_words_ids": null,
17
+ "begin_suppress_tokens": null,
18
+ "bos_token_id": 50256,
19
+ "chunk_size_feed_forward": 0,
20
+ "cross_attention_hidden_size": null,
21
+ "decoder_start_token_id": 50256,
22
+ "diversity_penalty": 0.0,
23
+ "do_sample": false,
24
+ "early_stopping": false,
25
+ "embd_pdrop": 0.1,
26
+ "encoder_no_repeat_ngram_size": 0,
27
+ "eos_token_id": 50256,
28
+ "exponential_decay_length_penalty": null,
29
+ "finetuning_task": null,
30
+ "forced_bos_token_id": null,
31
+ "forced_eos_token_id": null,
32
+ "id2label": {
33
+ "0": "LABEL_0",
34
+ "1": "LABEL_1"
35
+ },
36
+ "initializer_range": 0.02,
37
+ "is_decoder": true,
38
+ "is_encoder_decoder": false,
39
+ "label2id": {
40
+ "LABEL_0": 0,
41
+ "LABEL_1": 1
42
+ },
43
+ "layer_norm_epsilon": 1e-05,
44
+ "length_penalty": 1.0,
45
+ "max_length": 20,
46
+ "min_length": 0,
47
+ "model_type": "gpt2",
48
+ "n_ctx": 1024,
49
+ "n_embd": 768,
50
+ "n_head": 12,
51
+ "n_inner": null,
52
+ "n_layer": 12,
53
+ "n_positions": 1024,
54
+ "no_repeat_ngram_size": 0,
55
+ "num_beam_groups": 1,
56
+ "num_beams": 1,
57
+ "num_return_sequences": 1,
58
+ "output_attentions": false,
59
+ "output_hidden_states": false,
60
+ "output_scores": false,
61
+ "pad_token_id": 50256,
62
+ "prefix": null,
63
+ "problem_type": null,
64
+ "pruned_heads": {},
65
+ "remove_invalid_values": false,
66
+ "reorder_and_upcast_attn": false,
67
+ "repetition_penalty": 1.0,
68
+ "resid_pdrop": 0.1,
69
+ "return_dict": true,
70
+ "return_dict_in_generate": false,
71
+ "scale_attn_by_inverse_layer_idx": false,
72
+ "scale_attn_weights": true,
73
+ "sep_token_id": null,
74
+ "summary_activation": null,
75
+ "summary_first_dropout": 0.1,
76
+ "summary_proj_to_labels": true,
77
+ "summary_type": "cls_index",
78
+ "summary_use_proj": true,
79
+ "suppress_tokens": null,
80
+ "task_specific_params": {
81
+ "text-generation": {
82
+ "do_sample": true,
83
+ "max_length": 50
84
+ }
85
+ },
86
+ "temperature": 1.0,
87
+ "tf_legacy_loss": false,
88
+ "tie_encoder_decoder": false,
89
+ "tie_word_embeddings": true,
90
+ "tokenizer_class": null,
91
+ "top_k": 50,
92
+ "top_p": 1.0,
93
+ "torch_dtype": null,
94
+ "torchscript": false,
95
+ "typical_p": 1.0,
96
+ "use_bfloat16": false,
97
+ "use_cache": true,
98
+ "vocab_size": 50257
99
+ },
100
+ "decoder_start_token_id": 50256,
101
+ "encoder": {
102
+ "_attn_implementation_autoset": false,
103
+ "_name_or_path": "",
104
+ "add_cross_attention": false,
105
+ "architectures": [
106
+ "ViTModel"
107
+ ],
108
+ "attention_probs_dropout_prob": 0.0,
109
+ "bad_words_ids": null,
110
+ "begin_suppress_tokens": null,
111
+ "bos_token_id": null,
112
+ "chunk_size_feed_forward": 0,
113
+ "cross_attention_hidden_size": null,
114
+ "decoder_start_token_id": null,
115
+ "diversity_penalty": 0.0,
116
+ "do_sample": false,
117
+ "early_stopping": false,
118
+ "encoder_no_repeat_ngram_size": 0,
119
+ "encoder_stride": 16,
120
+ "eos_token_id": null,
121
+ "exponential_decay_length_penalty": null,
122
+ "finetuning_task": null,
123
+ "forced_bos_token_id": null,
124
+ "forced_eos_token_id": null,
125
+ "hidden_act": "gelu",
126
+ "hidden_dropout_prob": 0.0,
127
+ "hidden_size": 768,
128
+ "id2label": {
129
+ "0": "LABEL_0",
130
+ "1": "LABEL_1"
131
+ },
132
+ "image_size": 224,
133
+ "initializer_range": 0.02,
134
+ "intermediate_size": 3072,
135
+ "is_decoder": false,
136
+ "is_encoder_decoder": false,
137
+ "label2id": {
138
+ "LABEL_0": 0,
139
+ "LABEL_1": 1
140
+ },
141
+ "layer_norm_eps": 1e-12,
142
+ "length_penalty": 1.0,
143
+ "max_length": 20,
144
+ "min_length": 0,
145
+ "model_type": "vit",
146
+ "no_repeat_ngram_size": 0,
147
+ "num_attention_heads": 12,
148
+ "num_beam_groups": 1,
149
+ "num_beams": 1,
150
+ "num_channels": 3,
151
+ "num_hidden_layers": 12,
152
+ "num_return_sequences": 1,
153
+ "output_attentions": false,
154
+ "output_hidden_states": false,
155
+ "output_scores": false,
156
+ "pad_token_id": null,
157
+ "patch_size": 16,
158
+ "prefix": null,
159
+ "problem_type": null,
160
+ "pruned_heads": {},
161
+ "qkv_bias": true,
162
+ "remove_invalid_values": false,
163
+ "repetition_penalty": 1.0,
164
+ "return_dict": true,
165
+ "return_dict_in_generate": false,
166
+ "sep_token_id": null,
167
+ "suppress_tokens": null,
168
+ "task_specific_params": null,
169
+ "temperature": 1.0,
170
+ "tf_legacy_loss": false,
171
+ "tie_encoder_decoder": false,
172
+ "tie_word_embeddings": true,
173
+ "tokenizer_class": null,
174
+ "top_k": 50,
175
+ "top_p": 1.0,
176
+ "torch_dtype": null,
177
+ "torchscript": false,
178
+ "typical_p": 1.0,
179
+ "use_bfloat16": false
180
+ },
181
+ "eos_token_id": 50256,
182
+ "is_encoder_decoder": true,
183
+ "model_type": "vision-encoder-decoder",
184
+ "pad_token_id": 50256,
185
+ "tie_word_embeddings": false,
186
+ "torch_dtype": "float32",
187
+ "transformers_version": "4.47.0"
188
+ }
checkpoint-3000/generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 50256,
3
+ "decoder_start_token_id": 50256,
4
+ "eos_token_id": 50256,
5
+ "pad_token_id": 50256,
6
+ "transformers_version": "4.47.0"
7
+ }
checkpoint-3000/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-3000/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7896081d3fe63a73f42b5e440fbb563ec215370794d64c82f48c87b010677f21
3
+ size 956835520
checkpoint-3000/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d4e85e060923fc07822666a5e5bd624ac0ea59e7f9eb649bd2feba8eb761f9d
3
+ size 1909212608
checkpoint-3000/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:94a0ae297bee8112f02f9ed288faebac90d6a6f1d26ff8f7d2dee7dbe27dd7b6
3
+ size 14244
checkpoint-3000/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f09a75b239fc8f6ebfc29c66426173f6e56349666432cc69d0e01e13d38afe0
3
+ size 1064
checkpoint-3000/special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|endoftext|>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "<|endoftext|>",
17
+ "unk_token": {
18
+ "content": "<|endoftext|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
checkpoint-3000/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-3000/tokenizer_config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "50256": {
5
+ "content": "<|endoftext|>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ }
12
+ },
13
+ "bos_token": "<|endoftext|>",
14
+ "clean_up_tokenization_spaces": false,
15
+ "eos_token": "<|endoftext|>",
16
+ "extra_special_tokens": {},
17
+ "max_length": 32,
18
+ "model_max_length": 1024,
19
+ "pad_to_multiple_of": null,
20
+ "pad_token": "<|endoftext|>",
21
+ "pad_token_type_id": 0,
22
+ "padding_side": "right",
23
+ "stride": 0,
24
+ "tokenizer_class": "GPT2Tokenizer",
25
+ "truncation_side": "right",
26
+ "truncation_strategy": "longest_first",
27
+ "unk_token": "<|endoftext|>"
28
+ }
checkpoint-3000/trainer_state.json ADDED
@@ -0,0 +1,153 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.17945721745491028,
3
+ "best_model_checkpoint": "./Vit-GPT2-UCA-UCF-06/checkpoint-1500",
4
+ "epoch": 1.954552858771787,
5
+ "eval_steps": 500,
6
+ "global_step": 3000,
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.3257859586251833,
13
+ "grad_norm": 1.1044154167175293,
14
+ "learning_rate": 4.456757931334203e-05,
15
+ "loss": 0.8073,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 0.3257859586251833,
20
+ "eval_gen_len": 17.309,
21
+ "eval_loss": 0.18400029838085175,
22
+ "eval_rouge1": 31.5942,
23
+ "eval_rouge2": 9.2754,
24
+ "eval_rougeL": 27.0997,
25
+ "eval_rougeLsum": 27.4879,
26
+ "eval_runtime": 109.2425,
27
+ "eval_samples_per_second": 9.154,
28
+ "eval_steps_per_second": 2.288,
29
+ "step": 500
30
+ },
31
+ {
32
+ "epoch": 0.6515719172503666,
33
+ "grad_norm": 1.2499775886535645,
34
+ "learning_rate": 3.913515862668405e-05,
35
+ "loss": 0.6562,
36
+ "step": 1000
37
+ },
38
+ {
39
+ "epoch": 0.6515719172503666,
40
+ "eval_gen_len": 16.271,
41
+ "eval_loss": 0.18051931262016296,
42
+ "eval_rouge1": 31.3758,
43
+ "eval_rouge2": 9.5474,
44
+ "eval_rougeL": 26.788,
45
+ "eval_rougeLsum": 27.1031,
46
+ "eval_runtime": 103.3774,
47
+ "eval_samples_per_second": 9.673,
48
+ "eval_steps_per_second": 2.418,
49
+ "step": 1000
50
+ },
51
+ {
52
+ "epoch": 0.9773578758755498,
53
+ "grad_norm": 1.0292741060256958,
54
+ "learning_rate": 3.370273794002607e-05,
55
+ "loss": 0.6123,
56
+ "step": 1500
57
+ },
58
+ {
59
+ "epoch": 0.9773578758755498,
60
+ "eval_gen_len": 16.455,
61
+ "eval_loss": 0.17945721745491028,
62
+ "eval_rouge1": 32.219,
63
+ "eval_rouge2": 9.7783,
64
+ "eval_rougeL": 27.4235,
65
+ "eval_rougeLsum": 27.7537,
66
+ "eval_runtime": 109.2209,
67
+ "eval_samples_per_second": 9.156,
68
+ "eval_steps_per_second": 2.289,
69
+ "step": 1500
70
+ },
71
+ {
72
+ "epoch": 1.3029809415214204,
73
+ "grad_norm": 0.9370392560958862,
74
+ "learning_rate": 2.82703172533681e-05,
75
+ "loss": 0.5502,
76
+ "step": 2000
77
+ },
78
+ {
79
+ "epoch": 1.3029809415214204,
80
+ "eval_gen_len": 15.66,
81
+ "eval_loss": 0.1821030229330063,
82
+ "eval_rouge1": 31.0914,
83
+ "eval_rouge2": 9.2688,
84
+ "eval_rougeL": 26.5321,
85
+ "eval_rougeLsum": 26.8962,
86
+ "eval_runtime": 111.0421,
87
+ "eval_samples_per_second": 9.006,
88
+ "eval_steps_per_second": 2.251,
89
+ "step": 2000
90
+ },
91
+ {
92
+ "epoch": 1.6287669001466036,
93
+ "grad_norm": 0.932910680770874,
94
+ "learning_rate": 2.2837896566710127e-05,
95
+ "loss": 0.5281,
96
+ "step": 2500
97
+ },
98
+ {
99
+ "epoch": 1.6287669001466036,
100
+ "eval_gen_len": 16.042,
101
+ "eval_loss": 0.18320904672145844,
102
+ "eval_rouge1": 31.0119,
103
+ "eval_rouge2": 9.0876,
104
+ "eval_rougeL": 26.4645,
105
+ "eval_rougeLsum": 26.7925,
106
+ "eval_runtime": 106.3482,
107
+ "eval_samples_per_second": 9.403,
108
+ "eval_steps_per_second": 2.351,
109
+ "step": 2500
110
+ },
111
+ {
112
+ "epoch": 1.954552858771787,
113
+ "grad_norm": 1.2116119861602783,
114
+ "learning_rate": 1.740547588005215e-05,
115
+ "loss": 0.5085,
116
+ "step": 3000
117
+ },
118
+ {
119
+ "epoch": 1.954552858771787,
120
+ "eval_gen_len": 16.004,
121
+ "eval_loss": 0.18471209704875946,
122
+ "eval_rouge1": 31.0869,
123
+ "eval_rouge2": 9.0206,
124
+ "eval_rougeL": 26.2838,
125
+ "eval_rougeLsum": 26.6729,
126
+ "eval_runtime": 109.0184,
127
+ "eval_samples_per_second": 9.173,
128
+ "eval_steps_per_second": 2.293,
129
+ "step": 3000
130
+ }
131
+ ],
132
+ "logging_steps": 500,
133
+ "max_steps": 4602,
134
+ "num_input_tokens_seen": 0,
135
+ "num_train_epochs": 3,
136
+ "save_steps": 1000,
137
+ "stateful_callbacks": {
138
+ "TrainerControl": {
139
+ "args": {
140
+ "should_epoch_stop": false,
141
+ "should_evaluate": false,
142
+ "should_log": false,
143
+ "should_save": true,
144
+ "should_training_stop": false
145
+ },
146
+ "attributes": {}
147
+ }
148
+ },
149
+ "total_flos": 8.661544918201663e+18,
150
+ "train_batch_size": 4,
151
+ "trial_name": null,
152
+ "trial_params": null
153
+ }
checkpoint-3000/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c99aa4a4803a468942fc66f2059c656e6cdc3819d96b60bae24c8862f37ef905
3
+ size 5496
checkpoint-3000/vocab.json ADDED
The diff for this file is too large to render. See raw diff