acul3 commited on
Commit
3e827fe
1 Parent(s): 5139a67

add epoch 3

Browse files
Files changed (4) hide show
  1. config.json +218 -64
  2. flax_model.msgpack +2 -2
  3. opt_state.msgpack +3 -0
  4. training_state.json +1 -0
config.json CHANGED
@@ -1,147 +1,294 @@
1
  {
2
  "architectures": [
3
- "ViTGPT2LMForConditionalGeneration"
4
  ],
5
- "gpt2_config": {
6
- "_name_or_path": ".",
7
- "activation_function": "gelu_new",
8
- "add_cross_attention": true,
9
  "architectures": [
10
- "GPT2LMHeadModel"
11
  ],
12
- "attn_pdrop": 0.0,
13
  "bad_words_ids": null,
14
- "bos_token_id": 50256,
15
  "chunk_size_feed_forward": 0,
16
  "decoder_start_token_id": null,
17
  "diversity_penalty": 0.0,
18
  "do_sample": false,
 
19
  "early_stopping": false,
20
- "embd_pdrop": 0.0,
21
  "encoder_no_repeat_ngram_size": 0,
22
- "eos_token_id": 50256,
23
  "finetuning_task": null,
24
  "forced_bos_token_id": null,
25
  "forced_eos_token_id": null,
26
  "gradient_checkpointing": false,
 
 
27
  "id2label": {
28
  "0": "LABEL_0",
29
  "1": "LABEL_1"
30
  },
 
 
31
  "initializer_range": 0.02,
 
32
  "is_decoder": false,
33
  "is_encoder_decoder": false,
34
  "label2id": {
35
  "LABEL_0": 0,
36
  "LABEL_1": 1
37
  },
38
- "layer_norm_epsilon": 1e-05,
39
  "length_penalty": 1.0,
40
  "max_length": 20,
41
  "min_length": 0,
42
- "model_type": "gpt2",
43
- "n_ctx": 1024,
44
- "n_embd": 768,
45
- "n_head": 12,
46
- "n_inner": null,
47
- "n_layer": 12,
48
- "n_positions": 1024,
49
  "no_repeat_ngram_size": 0,
 
50
  "num_beam_groups": 1,
51
  "num_beams": 1,
 
52
  "num_return_sequences": 1,
53
  "output_attentions": false,
54
  "output_hidden_states": false,
55
  "output_scores": false,
56
  "pad_token_id": null,
 
57
  "prefix": null,
58
  "problem_type": null,
 
59
  "pruned_heads": {},
60
  "remove_invalid_values": false,
61
  "repetition_penalty": 1.0,
62
- "resid_pdrop": 0.0,
63
  "return_dict": true,
64
  "return_dict_in_generate": false,
65
- "scale_attn_weights": true,
66
  "sep_token_id": null,
67
- "summary_activation": null,
68
- "summary_first_dropout": 0.1,
69
- "summary_proj_to_labels": true,
70
- "summary_type": "cls_index",
71
- "summary_use_proj": true,
72
- "task_specific_params": {
73
- "text-generation": {
74
- "do_sample": true,
75
- "max_length": 50
76
- }
77
- },
78
  "temperature": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79
  "tie_encoder_decoder": false,
80
  "tie_word_embeddings": true,
81
  "tokenizer_class": null,
82
  "top_k": 50,
83
  "top_p": 1.0,
84
- "torch_dtype": "float32",
85
  "torchscript": false,
86
  "transformers_version": "4.9.0.dev0",
87
  "use_bfloat16": false,
88
- "use_cache": true,
89
- "vocab_size": 50257
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90
  },
91
- "model_type": "vit-gpt2",
92
- "transformers_version": null,
93
- "vit_config": {
94
  "_name_or_path": "",
 
 
 
 
95
  "add_cross_attention": false,
 
96
  "architectures": [
97
- "ViTModel"
98
  ],
99
- "attention_probs_dropout_prob": 0.0,
100
- "bad_words_ids": null,
101
- "bos_token_id": null,
 
 
 
 
102
  "chunk_size_feed_forward": 0,
103
- "decoder_start_token_id": null,
 
 
 
 
 
 
 
104
  "diversity_penalty": 0.0,
105
  "do_sample": false,
 
106
  "early_stopping": false,
 
 
 
 
107
  "encoder_no_repeat_ngram_size": 0,
108
- "eos_token_id": 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": 224,
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": {},
@@ -149,7 +296,9 @@
149
  "repetition_penalty": 1.0,
150
  "return_dict": true,
151
  "return_dict_in_generate": false,
 
152
  "sep_token_id": null,
 
153
  "task_specific_params": null,
154
  "temperature": 1.0,
155
  "tie_encoder_decoder": false,
@@ -160,6 +309,11 @@
160
  "torch_dtype": null,
161
  "torchscript": false,
162
  "transformers_version": "4.9.0.dev0",
163
- "use_bfloat16": false
164
- }
 
 
 
 
 
165
  }
 
1
  {
2
  "architectures": [
3
+ "CLIPVisionMarianForConditionalGeneration"
4
  ],
5
+ "clip_vision_config": {
6
+ "_name_or_path": "",
7
+ "add_cross_attention": false,
 
8
  "architectures": [
9
+ "CLIPModel"
10
  ],
11
+ "attention_dropout": 0.0,
12
  "bad_words_ids": null,
13
+ "bos_token_id": null,
14
  "chunk_size_feed_forward": 0,
15
  "decoder_start_token_id": null,
16
  "diversity_penalty": 0.0,
17
  "do_sample": false,
18
+ "dropout": 0.0,
19
  "early_stopping": false,
 
20
  "encoder_no_repeat_ngram_size": 0,
21
+ "eos_token_id": null,
22
  "finetuning_task": null,
23
  "forced_bos_token_id": null,
24
  "forced_eos_token_id": null,
25
  "gradient_checkpointing": false,
26
+ "hidden_act": "quick_gelu",
27
+ "hidden_size": 768,
28
  "id2label": {
29
  "0": "LABEL_0",
30
  "1": "LABEL_1"
31
  },
32
+ "image_size": 224,
33
+ "initializer_factor": 1.0,
34
  "initializer_range": 0.02,
35
+ "intermediate_size": 3072,
36
  "is_decoder": false,
37
  "is_encoder_decoder": false,
38
  "label2id": {
39
  "LABEL_0": 0,
40
  "LABEL_1": 1
41
  },
42
+ "layer_norm_eps": 1e-05,
43
  "length_penalty": 1.0,
44
  "max_length": 20,
45
  "min_length": 0,
46
+ "model_type": "clip_vision_model",
 
 
 
 
 
 
47
  "no_repeat_ngram_size": 0,
48
+ "num_attention_heads": 12,
49
  "num_beam_groups": 1,
50
  "num_beams": 1,
51
+ "num_hidden_layers": 12,
52
  "num_return_sequences": 1,
53
  "output_attentions": false,
54
  "output_hidden_states": false,
55
  "output_scores": false,
56
  "pad_token_id": null,
57
+ "patch_size": 32,
58
  "prefix": null,
59
  "problem_type": null,
60
+ "projection_dim": 512,
61
  "pruned_heads": {},
62
  "remove_invalid_values": false,
63
  "repetition_penalty": 1.0,
 
64
  "return_dict": true,
65
  "return_dict_in_generate": false,
 
66
  "sep_token_id": null,
67
+ "task_specific_params": null,
 
 
 
 
 
 
 
 
 
 
68
  "temperature": 1.0,
69
+ "text_config": {
70
+ "_name_or_path": "",
71
+ "add_cross_attention": false,
72
+ "architectures": null,
73
+ "attention_dropout": 0.0,
74
+ "bad_words_ids": null,
75
+ "bos_token_id": 0,
76
+ "chunk_size_feed_forward": 0,
77
+ "decoder_start_token_id": null,
78
+ "diversity_penalty": 0.0,
79
+ "do_sample": false,
80
+ "dropout": 0.0,
81
+ "early_stopping": false,
82
+ "encoder_no_repeat_ngram_size": 0,
83
+ "eos_token_id": 2,
84
+ "finetuning_task": null,
85
+ "forced_bos_token_id": null,
86
+ "forced_eos_token_id": null,
87
+ "gradient_checkpointing": false,
88
+ "hidden_act": "quick_gelu",
89
+ "hidden_size": 512,
90
+ "id2label": {
91
+ "0": "LABEL_0",
92
+ "1": "LABEL_1"
93
+ },
94
+ "initializer_factor": 1.0,
95
+ "initializer_range": 0.02,
96
+ "intermediate_size": 2048,
97
+ "is_decoder": false,
98
+ "is_encoder_decoder": false,
99
+ "label2id": {
100
+ "LABEL_0": 0,
101
+ "LABEL_1": 1
102
+ },
103
+ "layer_norm_eps": 1e-05,
104
+ "length_penalty": 1.0,
105
+ "max_length": 20,
106
+ "max_position_embeddings": 77,
107
+ "min_length": 0,
108
+ "model_type": "clip_text_model",
109
+ "no_repeat_ngram_size": 0,
110
+ "num_attention_heads": 8,
111
+ "num_beam_groups": 1,
112
+ "num_beams": 1,
113
+ "num_hidden_layers": 12,
114
+ "num_return_sequences": 1,
115
+ "output_attentions": false,
116
+ "output_hidden_states": false,
117
+ "output_scores": false,
118
+ "pad_token_id": 1,
119
+ "prefix": null,
120
+ "problem_type": null,
121
+ "pruned_heads": {},
122
+ "remove_invalid_values": false,
123
+ "repetition_penalty": 1.0,
124
+ "return_dict": true,
125
+ "return_dict_in_generate": false,
126
+ "sep_token_id": null,
127
+ "task_specific_params": null,
128
+ "temperature": 1.0,
129
+ "tie_encoder_decoder": false,
130
+ "tie_word_embeddings": true,
131
+ "tokenizer_class": null,
132
+ "top_k": 50,
133
+ "top_p": 1.0,
134
+ "torchscript": false,
135
+ "transformers_version": "4.7.0.dev0",
136
+ "use_bfloat16": false,
137
+ "vocab_size": 49408
138
+ },
139
+ "text_config_dict": null,
140
  "tie_encoder_decoder": false,
141
  "tie_word_embeddings": true,
142
  "tokenizer_class": null,
143
  "top_k": 50,
144
  "top_p": 1.0,
145
+ "torch_dtype": null,
146
  "torchscript": false,
147
  "transformers_version": "4.9.0.dev0",
148
  "use_bfloat16": false,
149
+ "vision_config": {
150
+ "_name_or_path": "",
151
+ "add_cross_attention": false,
152
+ "architectures": null,
153
+ "attention_dropout": 0.0,
154
+ "bad_words_ids": null,
155
+ "bos_token_id": null,
156
+ "chunk_size_feed_forward": 0,
157
+ "decoder_start_token_id": null,
158
+ "diversity_penalty": 0.0,
159
+ "do_sample": false,
160
+ "dropout": 0.0,
161
+ "early_stopping": false,
162
+ "encoder_no_repeat_ngram_size": 0,
163
+ "eos_token_id": null,
164
+ "finetuning_task": null,
165
+ "forced_bos_token_id": null,
166
+ "forced_eos_token_id": null,
167
+ "gradient_checkpointing": false,
168
+ "hidden_act": "quick_gelu",
169
+ "hidden_size": 768,
170
+ "id2label": {
171
+ "0": "LABEL_0",
172
+ "1": "LABEL_1"
173
+ },
174
+ "image_size": 224,
175
+ "initializer_factor": 1.0,
176
+ "initializer_range": 0.02,
177
+ "intermediate_size": 3072,
178
+ "is_decoder": false,
179
+ "is_encoder_decoder": false,
180
+ "label2id": {
181
+ "LABEL_0": 0,
182
+ "LABEL_1": 1
183
+ },
184
+ "layer_norm_eps": 1e-05,
185
+ "length_penalty": 1.0,
186
+ "max_length": 20,
187
+ "min_length": 0,
188
+ "model_type": "clip_vision_model",
189
+ "no_repeat_ngram_size": 0,
190
+ "num_attention_heads": 12,
191
+ "num_beam_groups": 1,
192
+ "num_beams": 1,
193
+ "num_hidden_layers": 12,
194
+ "num_return_sequences": 1,
195
+ "output_attentions": false,
196
+ "output_hidden_states": false,
197
+ "output_scores": false,
198
+ "pad_token_id": null,
199
+ "patch_size": 32,
200
+ "prefix": null,
201
+ "problem_type": null,
202
+ "pruned_heads": {},
203
+ "remove_invalid_values": false,
204
+ "repetition_penalty": 1.0,
205
+ "return_dict": true,
206
+ "return_dict_in_generate": false,
207
+ "sep_token_id": null,
208
+ "task_specific_params": null,
209
+ "temperature": 1.0,
210
+ "tie_encoder_decoder": false,
211
+ "tie_word_embeddings": true,
212
+ "tokenizer_class": null,
213
+ "top_k": 50,
214
+ "top_p": 1.0,
215
+ "torchscript": false,
216
+ "transformers_version": "4.7.0.dev0",
217
+ "use_bfloat16": false
218
+ },
219
+ "vision_config_dict": null
220
  },
221
+ "is_encoder_decoder": true,
222
+ "marian_config": {
 
223
  "_name_or_path": "",
224
+ "_num_labels": 3,
225
+ "activation_dropout": 0.0,
226
+ "activation_function": "swish",
227
+ "add_bias_logits": false,
228
  "add_cross_attention": false,
229
+ "add_final_layer_norm": false,
230
  "architectures": [
231
+ "MarianMTModel"
232
  ],
233
+ "attention_dropout": 0.0,
234
+ "bad_words_ids": [
235
+ [
236
+ 54795
237
+ ]
238
+ ],
239
+ "bos_token_id": 0,
240
  "chunk_size_feed_forward": 0,
241
+ "classif_dropout": 0.0,
242
+ "classifier_dropout": 0.0,
243
+ "d_model": 512,
244
+ "decoder_attention_heads": 8,
245
+ "decoder_ffn_dim": 2048,
246
+ "decoder_layerdrop": 0.0,
247
+ "decoder_layers": 6,
248
+ "decoder_start_token_id": 54795,
249
  "diversity_penalty": 0.0,
250
  "do_sample": false,
251
+ "dropout": 0.1,
252
  "early_stopping": false,
253
+ "encoder_attention_heads": 8,
254
+ "encoder_ffn_dim": 2048,
255
+ "encoder_layerdrop": 0.0,
256
+ "encoder_layers": 6,
257
  "encoder_no_repeat_ngram_size": 0,
258
+ "eos_token_id": 0,
259
  "finetuning_task": null,
260
  "forced_bos_token_id": null,
261
+ "forced_eos_token_id": 0,
262
+ "gradient_checkpointing": false,
 
 
263
  "id2label": {
264
  "0": "LABEL_0",
265
+ "1": "LABEL_1",
266
+ "2": "LABEL_2"
267
  },
268
+ "init_std": 0.02,
 
 
269
  "is_decoder": false,
270
+ "is_encoder_decoder": true,
271
  "label2id": {
272
  "LABEL_0": 0,
273
+ "LABEL_1": 1,
274
+ "LABEL_2": 2
275
  },
 
276
  "length_penalty": 1.0,
277
+ "max_length": 512,
278
+ "max_position_embeddings": 512,
279
  "min_length": 0,
280
+ "model_type": "marian",
281
  "no_repeat_ngram_size": 0,
282
+ "normalize_before": false,
283
+ "normalize_embedding": false,
284
  "num_beam_groups": 1,
285
+ "num_beams": 4,
286
+ "num_hidden_layers": 6,
 
287
  "num_return_sequences": 1,
288
  "output_attentions": false,
289
  "output_hidden_states": false,
290
  "output_scores": false,
291
+ "pad_token_id": 54795,
 
292
  "prefix": null,
293
  "problem_type": null,
294
  "pruned_heads": {},
 
296
  "repetition_penalty": 1.0,
297
  "return_dict": true,
298
  "return_dict_in_generate": false,
299
+ "scale_embedding": true,
300
  "sep_token_id": null,
301
+ "static_position_embeddings": true,
302
  "task_specific_params": null,
303
  "temperature": 1.0,
304
  "tie_encoder_decoder": false,
 
309
  "torch_dtype": null,
310
  "torchscript": false,
311
  "transformers_version": "4.9.0.dev0",
312
+ "use_bfloat16": false,
313
+ "use_cache": true,
314
+ "vocab_size": 54796
315
+ },
316
+ "model_type": "clip-vision-marian",
317
+ "seed": 42,
318
+ "transformers_version": null
319
  }
flax_model.msgpack CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:dd05a38812aaa66447e39582897d93b636238f297600139386bcdda642b4b51a
3
- size 1013496087
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c033c92bf0720f88fbacd6fd243d295e99cd2007d73f34b315c24f2bacc30bd2
3
+ size 564749615
opt_state.msgpack ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7044f0e712121ff4e6eecb07d786125d066cc33fad08c0f358be5f97dbf92d46
3
+ size 1129499420
training_state.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"step": 10400}