tanahhh commited on
Commit
9b673ea
1 Parent(s): 1a58956

Upload VideoBlipForConditionalGeneration

Browse files
config.json ADDED
@@ -0,0 +1,264 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_commit_hash": null,
3
+ "_name_or_path": "/mnt/disks/disk1/model_out/video_blip_llmjp/exp002/video_blip_llmjp/exp002_final/",
4
+ "architectures": [
5
+ "VideoBlipForConditionalGeneration"
6
+ ],
7
+ "initializer_factor": 1.0,
8
+ "initializer_range": 0.02,
9
+ "llm_hidden_size": 5120,
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.34.1",
88
+ "typical_p": 1.0,
89
+ "use_bfloat16": false,
90
+ "vocab_size": 30522
91
+ },
92
+ "text_config": {
93
+ "_name_or_path": "llm-jp/llm-jp-13b-instruct-full-jaster-v1.0",
94
+ "activation_function": "gelu",
95
+ "add_cross_attention": false,
96
+ "architectures": [
97
+ "GPT2LMHeadModel"
98
+ ],
99
+ "attn_pdrop": 0.1,
100
+ "bad_words_ids": null,
101
+ "begin_suppress_tokens": null,
102
+ "bos_token_id": 7,
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
+ "embd_pdrop": 0.1,
110
+ "encoder_no_repeat_ngram_size": 0,
111
+ "eos_token_id": 7,
112
+ "exponential_decay_length_penalty": null,
113
+ "finetuning_task": null,
114
+ "forced_bos_token_id": null,
115
+ "forced_eos_token_id": null,
116
+ "gradient_checkpointing": false,
117
+ "id2label": {
118
+ "0": "LABEL_0",
119
+ "1": "LABEL_1"
120
+ },
121
+ "initializer_range": 0.02,
122
+ "is_decoder": false,
123
+ "is_encoder_decoder": false,
124
+ "label2id": {
125
+ "LABEL_0": 0,
126
+ "LABEL_1": 1
127
+ },
128
+ "layer_norm_epsilon": 1e-05,
129
+ "length_penalty": 1.0,
130
+ "max_length": 20,
131
+ "min_length": 0,
132
+ "model_type": "gpt2",
133
+ "n_ctx": 1024,
134
+ "n_embd": 5120,
135
+ "n_head": 40,
136
+ "n_inner": 20480,
137
+ "n_layer": 40,
138
+ "n_positions": 2048,
139
+ "no_repeat_ngram_size": 0,
140
+ "num_beam_groups": 1,
141
+ "num_beams": 1,
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
+ "reorder_and_upcast_attn": false,
152
+ "repetition_penalty": 1.0,
153
+ "resid_pdrop": 0.1,
154
+ "return_dict": true,
155
+ "return_dict_in_generate": false,
156
+ "scale_attn_by_inverse_layer_idx": false,
157
+ "scale_attn_weights": true,
158
+ "sep_token_id": null,
159
+ "summary_activation": null,
160
+ "summary_first_dropout": 0.1,
161
+ "summary_proj_to_labels": true,
162
+ "summary_type": "cls_index",
163
+ "summary_use_proj": true,
164
+ "suppress_tokens": null,
165
+ "task_specific_params": null,
166
+ "temperature": 1.0,
167
+ "tf_legacy_loss": false,
168
+ "tie_encoder_decoder": false,
169
+ "tie_word_embeddings": true,
170
+ "tokenizer_class": null,
171
+ "top_k": 50,
172
+ "top_p": 1.0,
173
+ "torch_dtype": "float16",
174
+ "torchscript": false,
175
+ "transformers_version": "4.34.1",
176
+ "typical_p": 1.0,
177
+ "use_bfloat16": false,
178
+ "use_cache": true,
179
+ "vocab_size": 50688
180
+ },
181
+ "torch_dtype": "float16",
182
+ "transformers_version": null,
183
+ "use_decoder_only_language_model": true,
184
+ "vision_config": {
185
+ "_name_or_path": "",
186
+ "add_cross_attention": false,
187
+ "architectures": null,
188
+ "attention_dropout": 0.0,
189
+ "bad_words_ids": null,
190
+ "begin_suppress_tokens": null,
191
+ "bos_token_id": null,
192
+ "chunk_size_feed_forward": 0,
193
+ "cross_attention_hidden_size": null,
194
+ "decoder_start_token_id": null,
195
+ "diversity_penalty": 0.0,
196
+ "do_sample": false,
197
+ "dropout": 0.0,
198
+ "early_stopping": false,
199
+ "encoder_no_repeat_ngram_size": 0,
200
+ "eos_token_id": null,
201
+ "exponential_decay_length_penalty": null,
202
+ "finetuning_task": null,
203
+ "forced_bos_token_id": null,
204
+ "forced_eos_token_id": null,
205
+ "hidden_act": "gelu",
206
+ "hidden_size": 1408,
207
+ "id2label": {
208
+ "0": "LABEL_0",
209
+ "1": "LABEL_1"
210
+ },
211
+ "image_size": 224,
212
+ "in_channels": 3,
213
+ "initializer_factor": 1.0,
214
+ "initializer_range": 1e-10,
215
+ "intermediate_size": 6144,
216
+ "is_decoder": false,
217
+ "is_encoder_decoder": false,
218
+ "label2id": {
219
+ "LABEL_0": 0,
220
+ "LABEL_1": 1
221
+ },
222
+ "layer_norm_eps": 1e-06,
223
+ "length_penalty": 1.0,
224
+ "max_length": 20,
225
+ "min_length": 0,
226
+ "model_type": "blip_2_vision_model",
227
+ "no_repeat_ngram_size": 0,
228
+ "num_attention_heads": 16,
229
+ "num_beam_groups": 1,
230
+ "num_beams": 1,
231
+ "num_channels": 3,
232
+ "num_hidden_layers": 39,
233
+ "num_return_sequences": 1,
234
+ "output_attentions": false,
235
+ "output_hidden_states": false,
236
+ "output_scores": false,
237
+ "pad_token_id": null,
238
+ "patch_size": 14,
239
+ "prefix": null,
240
+ "problem_type": null,
241
+ "projection_dim": 512,
242
+ "pruned_heads": {},
243
+ "qkv_bias": true,
244
+ "remove_invalid_values": false,
245
+ "repetition_penalty": 1.0,
246
+ "return_dict": true,
247
+ "return_dict_in_generate": false,
248
+ "sep_token_id": null,
249
+ "suppress_tokens": null,
250
+ "task_specific_params": null,
251
+ "temperature": 1.0,
252
+ "tf_legacy_loss": false,
253
+ "tie_encoder_decoder": false,
254
+ "tie_word_embeddings": true,
255
+ "tokenizer_class": null,
256
+ "top_k": 50,
257
+ "top_p": 1.0,
258
+ "torch_dtype": null,
259
+ "torchscript": false,
260
+ "transformers_version": "4.34.1",
261
+ "typical_p": 1.0,
262
+ "use_bfloat16": false
263
+ }
264
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 2,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 1,
6
+ "transformers_version": "4.34.1"
7
+ }
pytorch_model-00001-of-00003.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a4bfa7762b2f3ae2fbec438351e457462c16a7c85892f68ba40ca7d237559adc
3
+ size 9966038776
pytorch_model-00002-of-00003.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8eb9cf5a3a0fe82f719fd7d5d99aaffa487936fb5a2c95cb1b04362ce3a05f5b
3
+ size 9858750329
pytorch_model-00003-of-00003.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b71e0818e8d34307f69fefecd516c05f8a324262aacc2f622e6bd3329a5de38
3
+ size 8180686584
pytorch_model.bin.index.json ADDED
The diff for this file is too large to render. See raw diff