tanahhh commited on
Commit
495123c
1 Parent(s): 7d73888

Upload VideoBlipForConditionalGeneration

Browse files
config.json ADDED
@@ -0,0 +1,259 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_commit_hash": "1ef7f63a8f0a144c13fdca8103eb7b4691c74cec",
3
+ "_name_or_path": "Salesforce/blip2-opt-2.7b",
4
+ "architectures": [
5
+ "VideoBlipForConditionalGeneration"
6
+ ],
7
+ "initializer_factor": 1.0,
8
+ "initializer_range": 0.02,
9
+ "llm_hidden_size": 4096,
10
+ "model_type": "video_blip",
11
+ "num_frames": 1,
12
+ "num_query_tokens": 32,
13
+ "qformer_config": {
14
+ "_name_or_path": "",
15
+ "add_cross_attention": false,
16
+ "architectures": null,
17
+ "attention_probs_dropout_prob": 0.1,
18
+ "bad_words_ids": null,
19
+ "begin_suppress_tokens": null,
20
+ "bos_token_id": null,
21
+ "chunk_size_feed_forward": 0,
22
+ "classifier_dropout": null,
23
+ "cross_attention_frequency": 2,
24
+ "cross_attention_hidden_size": null,
25
+ "decoder_start_token_id": null,
26
+ "diversity_penalty": 0.0,
27
+ "do_sample": false,
28
+ "early_stopping": false,
29
+ "encoder_hidden_size": 1408,
30
+ "encoder_no_repeat_ngram_size": 0,
31
+ "eos_token_id": null,
32
+ "exponential_decay_length_penalty": null,
33
+ "finetuning_task": null,
34
+ "forced_bos_token_id": null,
35
+ "forced_eos_token_id": null,
36
+ "hidden_act": "gelu",
37
+ "hidden_dropout_prob": 0.1,
38
+ "hidden_size": 768,
39
+ "id2label": {
40
+ "0": "LABEL_0",
41
+ "1": "LABEL_1"
42
+ },
43
+ "initializer_range": 0.02,
44
+ "intermediate_size": 3072,
45
+ "is_decoder": false,
46
+ "is_encoder_decoder": false,
47
+ "label2id": {
48
+ "LABEL_0": 0,
49
+ "LABEL_1": 1
50
+ },
51
+ "layer_norm_eps": 1e-12,
52
+ "length_penalty": 1.0,
53
+ "max_length": 20,
54
+ "max_position_embeddings": 512,
55
+ "min_length": 0,
56
+ "model_type": "blip_2_qformer",
57
+ "no_repeat_ngram_size": 0,
58
+ "num_attention_heads": 12,
59
+ "num_beam_groups": 1,
60
+ "num_beams": 1,
61
+ "num_hidden_layers": 12,
62
+ "num_return_sequences": 1,
63
+ "output_attentions": false,
64
+ "output_hidden_states": false,
65
+ "output_scores": false,
66
+ "pad_token_id": 0,
67
+ "position_embedding_type": "absolute",
68
+ "prefix": null,
69
+ "problem_type": null,
70
+ "pruned_heads": {},
71
+ "remove_invalid_values": false,
72
+ "repetition_penalty": 1.0,
73
+ "return_dict": true,
74
+ "return_dict_in_generate": false,
75
+ "sep_token_id": null,
76
+ "suppress_tokens": null,
77
+ "task_specific_params": null,
78
+ "temperature": 1.0,
79
+ "tf_legacy_loss": false,
80
+ "tie_encoder_decoder": false,
81
+ "tie_word_embeddings": true,
82
+ "tokenizer_class": null,
83
+ "top_k": 50,
84
+ "top_p": 1.0,
85
+ "torch_dtype": null,
86
+ "torchscript": false,
87
+ "transformers_version": "4.32.0",
88
+ "typical_p": 1.0,
89
+ "use_bfloat16": false,
90
+ "vocab_size": 30522
91
+ },
92
+ "text_config": {
93
+ "_name_or_path": "stabilityai/japanese-stablelm-base-alpha-7b",
94
+ "add_cross_attention": false,
95
+ "architectures": [
96
+ "JapaneseStableLMAlphaForCausalLM"
97
+ ],
98
+ "auto_map": {
99
+ "AutoConfig": "stabilityai/japanese-stablelm-base-alpha-7b--configuration_japanese_stablelm_alpha.JapaneseStableLMAlphaConfig",
100
+ "AutoModelForCausalLM": "stabilityai/japanese-stablelm-base-alpha-7b--modeling_japanese_stablelm_alpha.JapaneseStableLMAlphaForCausalLM"
101
+ },
102
+ "bad_words_ids": null,
103
+ "begin_suppress_tokens": null,
104
+ "bos_token_id": 3,
105
+ "chunk_size_feed_forward": 0,
106
+ "classifier_dropout": 0.1,
107
+ "cross_attention_hidden_size": null,
108
+ "decoder_start_token_id": null,
109
+ "diversity_penalty": 0.0,
110
+ "do_sample": false,
111
+ "early_stopping": false,
112
+ "encoder_no_repeat_ngram_size": 0,
113
+ "eos_token_id": 3,
114
+ "exponential_decay_length_penalty": null,
115
+ "finetuning_task": null,
116
+ "forced_bos_token_id": null,
117
+ "forced_eos_token_id": null,
118
+ "hidden_act": "silu",
119
+ "hidden_size": 4096,
120
+ "id2label": {
121
+ "0": "LABEL_0",
122
+ "1": "LABEL_1"
123
+ },
124
+ "initializer_range": 0.02,
125
+ "is_decoder": false,
126
+ "is_encoder_decoder": false,
127
+ "label2id": {
128
+ "LABEL_0": 0,
129
+ "LABEL_1": 1
130
+ },
131
+ "layer_norm_eps": 1e-05,
132
+ "length_penalty": 1.0,
133
+ "max_length": 20,
134
+ "max_position_embeddings": 2048,
135
+ "min_length": 0,
136
+ "model_type": "",
137
+ "no_repeat_ngram_size": 0,
138
+ "num_attention_heads": 32,
139
+ "num_beam_groups": 1,
140
+ "num_beams": 1,
141
+ "num_hidden_layers": 32,
142
+ "num_return_sequences": 1,
143
+ "output_attentions": false,
144
+ "output_hidden_states": false,
145
+ "output_scores": false,
146
+ "pad_token_id": null,
147
+ "prefix": null,
148
+ "problem_type": null,
149
+ "pruned_heads": {},
150
+ "remove_invalid_values": false,
151
+ "repetition_penalty": 1.0,
152
+ "return_dict": true,
153
+ "return_dict_in_generate": false,
154
+ "rotary_emb_base": 10000,
155
+ "rotary_pct": 0.25,
156
+ "rotary_scale_base": 512,
157
+ "sep_token_id": null,
158
+ "suppress_tokens": null,
159
+ "task_specific_params": null,
160
+ "temperature": 1.0,
161
+ "tf_legacy_loss": false,
162
+ "tie_encoder_decoder": false,
163
+ "tie_word_embeddings": false,
164
+ "tokenizer_class": null,
165
+ "top_k": 50,
166
+ "top_p": 1.0,
167
+ "torch_dtype": "float16",
168
+ "torchscript": false,
169
+ "transformers_version": "4.32.0",
170
+ "typical_p": 1.0,
171
+ "use_bfloat16": false,
172
+ "use_bias_in_mlp": false,
173
+ "use_cache": true,
174
+ "use_parallel_residual": true,
175
+ "vocab_size": 65536
176
+ },
177
+ "torch_dtype": "float16",
178
+ "transformers_version": null,
179
+ "use_decoder_only_language_model": true,
180
+ "vision_config": {
181
+ "_name_or_path": "",
182
+ "add_cross_attention": false,
183
+ "architectures": null,
184
+ "attention_dropout": 0.0,
185
+ "bad_words_ids": null,
186
+ "begin_suppress_tokens": null,
187
+ "bos_token_id": null,
188
+ "chunk_size_feed_forward": 0,
189
+ "cross_attention_hidden_size": null,
190
+ "decoder_start_token_id": null,
191
+ "diversity_penalty": 0.0,
192
+ "do_sample": false,
193
+ "dropout": 0.0,
194
+ "early_stopping": false,
195
+ "encoder_no_repeat_ngram_size": 0,
196
+ "eos_token_id": null,
197
+ "exponential_decay_length_penalty": null,
198
+ "finetuning_task": null,
199
+ "forced_bos_token_id": null,
200
+ "forced_eos_token_id": null,
201
+ "hidden_act": "gelu",
202
+ "hidden_size": 1408,
203
+ "id2label": {
204
+ "0": "LABEL_0",
205
+ "1": "LABEL_1"
206
+ },
207
+ "image_size": 224,
208
+ "initializer_factor": 1.0,
209
+ "initializer_range": 1e-10,
210
+ "intermediate_size": 6144,
211
+ "is_decoder": false,
212
+ "is_encoder_decoder": false,
213
+ "label2id": {
214
+ "LABEL_0": 0,
215
+ "LABEL_1": 1
216
+ },
217
+ "layer_norm_eps": 1e-05,
218
+ "length_penalty": 1.0,
219
+ "max_length": 20,
220
+ "min_length": 0,
221
+ "model_type": "blip_2_vision_model",
222
+ "no_repeat_ngram_size": 0,
223
+ "num_attention_heads": 16,
224
+ "num_beam_groups": 1,
225
+ "num_beams": 1,
226
+ "num_channels": 3,
227
+ "num_hidden_layers": 39,
228
+ "num_return_sequences": 1,
229
+ "output_attentions": false,
230
+ "output_hidden_states": false,
231
+ "output_scores": false,
232
+ "pad_token_id": null,
233
+ "patch_size": 14,
234
+ "prefix": null,
235
+ "problem_type": null,
236
+ "projection_dim": 512,
237
+ "pruned_heads": {},
238
+ "qkv_bias": true,
239
+ "remove_invalid_values": false,
240
+ "repetition_penalty": 1.0,
241
+ "return_dict": true,
242
+ "return_dict_in_generate": false,
243
+ "sep_token_id": null,
244
+ "suppress_tokens": null,
245
+ "task_specific_params": null,
246
+ "temperature": 1.0,
247
+ "tf_legacy_loss": false,
248
+ "tie_encoder_decoder": false,
249
+ "tie_word_embeddings": true,
250
+ "tokenizer_class": null,
251
+ "top_k": 50,
252
+ "top_p": 1.0,
253
+ "torch_dtype": null,
254
+ "torchscript": false,
255
+ "transformers_version": "4.32.0",
256
+ "typical_p": 1.0,
257
+ "use_bfloat16": false
258
+ }
259
+ }
pytorch_model-00001-of-00002.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0302d78438a88c68d859c2e3f8c1b6f0c5d645305cfa1fe53bd342418ac2df0f
3
+ size 9850172364
pytorch_model-00002-of-00002.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20b64e765be69313c37c77891a2dd2c1fb53af316d1c4b779d1c50a626714eb2
3
+ size 6481558607
pytorch_model.bin.index.json ADDED
The diff for this file is too large to render. See raw diff