Yova commited on
Commit
4f60b07
1 Parent(s): 4e368fb

Upload config.json

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