kpyu commited on
Commit
3366606
1 Parent(s): 0db71ff

Upload VideoBlipForConditionalGeneration

Browse files
config.json ADDED
@@ -0,0 +1,286 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_commit_hash": null,
3
+ "_name_or_path": "checkpoints/video-blip/video-blip-flan-t5-xl-ego4d/",
4
+ "architectures": [
5
+ "VideoBlipForConditionalGeneration"
6
+ ],
7
+ "initializer_factor": 1.0,
8
+ "initializer_range": 0.02,
9
+ "is_encoder_decoder": true,
10
+ "model_type": "blip-2",
11
+ "num_query_tokens": 32,
12
+ "qformer_config": {
13
+ "_name_or_path": "",
14
+ "add_cross_attention": false,
15
+ "architectures": null,
16
+ "attention_probs_dropout_prob": 0.1,
17
+ "bad_words_ids": null,
18
+ "begin_suppress_tokens": null,
19
+ "bos_token_id": null,
20
+ "chunk_size_feed_forward": 0,
21
+ "classifier_dropout": null,
22
+ "cross_attention_frequency": 2,
23
+ "cross_attention_hidden_size": null,
24
+ "decoder_start_token_id": null,
25
+ "diversity_penalty": 0.0,
26
+ "do_sample": false,
27
+ "early_stopping": false,
28
+ "encoder_hidden_size": 1408,
29
+ "encoder_no_repeat_ngram_size": 0,
30
+ "eos_token_id": null,
31
+ "exponential_decay_length_penalty": null,
32
+ "finetuning_task": null,
33
+ "forced_bos_token_id": null,
34
+ "forced_eos_token_id": null,
35
+ "hidden_act": "gelu",
36
+ "hidden_dropout_prob": 0.1,
37
+ "hidden_size": 768,
38
+ "id2label": {
39
+ "0": "LABEL_0",
40
+ "1": "LABEL_1"
41
+ },
42
+ "initializer_range": 0.02,
43
+ "intermediate_size": 3072,
44
+ "is_decoder": false,
45
+ "is_encoder_decoder": false,
46
+ "label2id": {
47
+ "LABEL_0": 0,
48
+ "LABEL_1": 1
49
+ },
50
+ "layer_norm_eps": 1e-12,
51
+ "length_penalty": 1.0,
52
+ "max_length": 20,
53
+ "max_position_embeddings": 512,
54
+ "min_length": 0,
55
+ "model_type": "blip_2_qformer",
56
+ "no_repeat_ngram_size": 0,
57
+ "num_attention_heads": 12,
58
+ "num_beam_groups": 1,
59
+ "num_beams": 1,
60
+ "num_hidden_layers": 12,
61
+ "num_return_sequences": 1,
62
+ "output_attentions": false,
63
+ "output_hidden_states": false,
64
+ "output_scores": false,
65
+ "pad_token_id": 0,
66
+ "position_embedding_type": "absolute",
67
+ "prefix": null,
68
+ "problem_type": null,
69
+ "pruned_heads": {},
70
+ "remove_invalid_values": false,
71
+ "repetition_penalty": 1.0,
72
+ "return_dict": true,
73
+ "return_dict_in_generate": false,
74
+ "sep_token_id": null,
75
+ "suppress_tokens": null,
76
+ "task_specific_params": null,
77
+ "temperature": 1.0,
78
+ "tf_legacy_loss": false,
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": null,
85
+ "torchscript": false,
86
+ "transformers_version": "4.28.1",
87
+ "typical_p": 1.0,
88
+ "use_bfloat16": false,
89
+ "vocab_size": 30522
90
+ },
91
+ "text_config": {
92
+ "_name_or_path": "",
93
+ "add_cross_attention": false,
94
+ "architectures": [
95
+ "T5ForConditionalGeneration"
96
+ ],
97
+ "bad_words_ids": null,
98
+ "begin_suppress_tokens": null,
99
+ "bos_token_id": 1,
100
+ "chunk_size_feed_forward": 0,
101
+ "cross_attention_hidden_size": null,
102
+ "d_ff": 5120,
103
+ "d_kv": 64,
104
+ "d_model": 2048,
105
+ "decoder_start_token_id": 0,
106
+ "dense_act_fn": "gelu",
107
+ "diversity_penalty": 0.0,
108
+ "do_sample": false,
109
+ "dropout_rate": 0.1,
110
+ "early_stopping": false,
111
+ "encoder_no_repeat_ngram_size": 0,
112
+ "eos_token_id": 1,
113
+ "exponential_decay_length_penalty": null,
114
+ "feed_forward_proj": "gated-gelu",
115
+ "finetuning_task": null,
116
+ "forced_bos_token_id": null,
117
+ "forced_eos_token_id": null,
118
+ "id2label": {
119
+ "0": "LABEL_0",
120
+ "1": "LABEL_1"
121
+ },
122
+ "initializer_factor": 1.0,
123
+ "is_decoder": false,
124
+ "is_encoder_decoder": true,
125
+ "is_gated_act": true,
126
+ "label2id": {
127
+ "LABEL_0": 0,
128
+ "LABEL_1": 1
129
+ },
130
+ "layer_norm_epsilon": 1e-06,
131
+ "length_penalty": 1.0,
132
+ "max_length": 20,
133
+ "min_length": 0,
134
+ "model_type": "t5",
135
+ "n_positions": 512,
136
+ "no_repeat_ngram_size": 0,
137
+ "num_beam_groups": 1,
138
+ "num_beams": 1,
139
+ "num_decoder_layers": 24,
140
+ "num_heads": 32,
141
+ "num_layers": 24,
142
+ "num_return_sequences": 1,
143
+ "output_attentions": false,
144
+ "output_hidden_states": false,
145
+ "output_past": true,
146
+ "output_scores": false,
147
+ "pad_token_id": 0,
148
+ "prefix": null,
149
+ "problem_type": null,
150
+ "pruned_heads": {},
151
+ "relative_attention_max_distance": 128,
152
+ "relative_attention_num_buckets": 32,
153
+ "remove_invalid_values": false,
154
+ "repetition_penalty": 1.0,
155
+ "return_dict": true,
156
+ "return_dict_in_generate": false,
157
+ "sep_token_id": null,
158
+ "suppress_tokens": null,
159
+ "task_specific_params": {
160
+ "summarization": {
161
+ "early_stopping": true,
162
+ "length_penalty": 2.0,
163
+ "max_length": 200,
164
+ "min_length": 30,
165
+ "no_repeat_ngram_size": 3,
166
+ "num_beams": 4,
167
+ "prefix": "summarize: "
168
+ },
169
+ "translation_en_to_de": {
170
+ "early_stopping": true,
171
+ "max_length": 300,
172
+ "num_beams": 4,
173
+ "prefix": "translate English to German: "
174
+ },
175
+ "translation_en_to_fr": {
176
+ "early_stopping": true,
177
+ "max_length": 300,
178
+ "num_beams": 4,
179
+ "prefix": "translate English to French: "
180
+ },
181
+ "translation_en_to_ro": {
182
+ "early_stopping": true,
183
+ "max_length": 300,
184
+ "num_beams": 4,
185
+ "prefix": "translate English to Romanian: "
186
+ }
187
+ },
188
+ "temperature": 1.0,
189
+ "tf_legacy_loss": false,
190
+ "tie_encoder_decoder": false,
191
+ "tie_word_embeddings": false,
192
+ "tokenizer_class": null,
193
+ "top_k": 50,
194
+ "top_p": 1.0,
195
+ "torch_dtype": "float32",
196
+ "torchscript": false,
197
+ "transformers_version": "4.28.1",
198
+ "typical_p": 1.0,
199
+ "use_bfloat16": false,
200
+ "use_cache": true,
201
+ "vocab_size": 32128
202
+ },
203
+ "tie_word_embeddings": false,
204
+ "torch_dtype": "float32",
205
+ "transformers_version": null,
206
+ "use_decoder_only_language_model": false,
207
+ "vision_config": {
208
+ "_name_or_path": "",
209
+ "add_cross_attention": false,
210
+ "architectures": null,
211
+ "attention_dropout": 0.0,
212
+ "bad_words_ids": null,
213
+ "begin_suppress_tokens": null,
214
+ "bos_token_id": null,
215
+ "chunk_size_feed_forward": 0,
216
+ "cross_attention_hidden_size": null,
217
+ "decoder_start_token_id": null,
218
+ "diversity_penalty": 0.0,
219
+ "do_sample": false,
220
+ "dropout": 0.0,
221
+ "early_stopping": false,
222
+ "encoder_no_repeat_ngram_size": 0,
223
+ "eos_token_id": null,
224
+ "exponential_decay_length_penalty": null,
225
+ "finetuning_task": null,
226
+ "forced_bos_token_id": null,
227
+ "forced_eos_token_id": null,
228
+ "hidden_act": "gelu",
229
+ "hidden_size": 1408,
230
+ "id2label": {
231
+ "0": "LABEL_0",
232
+ "1": "LABEL_1"
233
+ },
234
+ "image_size": 224,
235
+ "initializer_factor": 1.0,
236
+ "initializer_range": 1e-10,
237
+ "intermediate_size": 6144,
238
+ "is_decoder": false,
239
+ "is_encoder_decoder": false,
240
+ "label2id": {
241
+ "LABEL_0": 0,
242
+ "LABEL_1": 1
243
+ },
244
+ "layer_norm_eps": 1e-05,
245
+ "length_penalty": 1.0,
246
+ "max_length": 20,
247
+ "min_length": 0,
248
+ "model_type": "blip_2_vision_model",
249
+ "no_repeat_ngram_size": 0,
250
+ "num_attention_heads": 16,
251
+ "num_beam_groups": 1,
252
+ "num_beams": 1,
253
+ "num_channels": 3,
254
+ "num_hidden_layers": 39,
255
+ "num_return_sequences": 1,
256
+ "output_attentions": false,
257
+ "output_hidden_states": false,
258
+ "output_scores": false,
259
+ "pad_token_id": null,
260
+ "patch_size": 14,
261
+ "prefix": null,
262
+ "problem_type": null,
263
+ "projection_dim": 512,
264
+ "pruned_heads": {},
265
+ "qkv_bias": true,
266
+ "remove_invalid_values": false,
267
+ "repetition_penalty": 1.0,
268
+ "return_dict": true,
269
+ "return_dict_in_generate": false,
270
+ "sep_token_id": null,
271
+ "suppress_tokens": null,
272
+ "task_specific_params": null,
273
+ "temperature": 1.0,
274
+ "tf_legacy_loss": false,
275
+ "tie_encoder_decoder": false,
276
+ "tie_word_embeddings": true,
277
+ "tokenizer_class": null,
278
+ "top_k": 50,
279
+ "top_p": 1.0,
280
+ "torch_dtype": null,
281
+ "torchscript": false,
282
+ "transformers_version": "4.28.1",
283
+ "typical_p": 1.0,
284
+ "use_bfloat16": false
285
+ }
286
+ }
pytorch_model-00001-of-00002.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5557ff0aef1c78da58e3c333a64637b008ab259598544640cae8f58ed84c7291
3
+ size 9441389821
pytorch_model-00002-of-00002.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6eed723f6c3892db89d818879be0ecc7ede33f7b9a2001b348e650b6d24db1d
3
+ size 6328857284
pytorch_model.bin.index.json ADDED
The diff for this file is too large to render. See raw diff