andro-flock commited on
Commit
b0c4fc2
·
verified ·
1 Parent(s): 6f91cb3

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +28 -130
config.json CHANGED
@@ -1,11 +1,11 @@
1
  {
2
- "_name_or_path": "andro-flock/florence2-promptGenv2-finetuned",
3
  "architectures": [
4
  "Florence2ForConditionalGeneration"
5
  ],
6
  "auto_map": {
7
- "AutoConfig": "andro-flock/florence2-promptGenv2-finetuned--configuration_florence2.Florence2Config",
8
- "AutoModelForCausalLM": "andro-flock/florence2-promptGenv2-finetuned--modeling_florence2.Florence2ForConditionalGeneration"
9
  },
10
  "bos_token_id": 0,
11
  "eos_token_id": 2,
@@ -15,7 +15,6 @@
15
  "pad_token_id": 1,
16
  "projection_dim": 768,
17
  "text_config": {
18
- "_attn_implementation_autoset": true,
19
  "_name_or_path": "",
20
  "activation_dropout": 0.1,
21
  "activation_function": "gelu",
@@ -106,134 +105,33 @@
106
  "vocab_size": 51289
107
  },
108
  "torch_dtype": "float32",
109
- "transformers_version": "4.48.3",
110
  "vision_config": {
111
- "_attn_implementation_autoset": false,
112
- "_name_or_path": "",
113
- "add_cross_attention": false,
114
- "architectures": null,
115
- "bad_words_ids": null,
116
- "begin_suppress_tokens": null,
117
- "bos_token_id": null,
118
- "chunk_size_feed_forward": 0,
119
- "cross_attention_hidden_size": null,
120
- "decoder_start_token_id": null,
121
- "depths": [
122
- 1,
123
- 1,
124
- 9,
125
- 1
126
- ],
127
- "dim_embed": [
128
- 128,
129
- 256,
130
- 512,
131
- 1024
132
- ],
133
- "diversity_penalty": 0.0,
134
- "do_sample": false,
135
- "drop_path_rate": 0.1,
136
- "early_stopping": false,
137
- "enable_checkpoint": false,
138
- "encoder_no_repeat_ngram_size": 0,
139
- "eos_token_id": null,
140
- "exponential_decay_length_penalty": null,
141
- "finetuning_task": null,
142
- "forced_bos_token_id": null,
143
- "forced_eos_token_id": null,
144
- "id2label": {
145
- "0": "LABEL_0",
146
- "1": "LABEL_1"
147
- },
148
- "image_feature_source": [
149
- "spatial_avg_pool",
150
- "temporal_avg_pool"
151
- ],
152
- "image_pos_embed": {
153
- "max_pos_embeddings": 50,
154
- "type": "learned_abs_2d"
155
- },
156
- "is_decoder": false,
157
- "is_encoder_decoder": false,
158
- "label2id": {
159
- "LABEL_0": 0,
160
- "LABEL_1": 1
161
- },
162
- "length_penalty": 1.0,
163
- "max_length": 20,
164
- "min_length": 0,
165
- "model_type": "",
166
- "no_repeat_ngram_size": 0,
167
- "num_beam_groups": 1,
168
- "num_beams": 1,
169
- "num_groups": [
170
- 4,
171
- 8,
172
- 16,
173
- 32
174
- ],
175
- "num_heads": [
176
- 4,
177
- 8,
178
- 16,
179
- 32
180
- ],
181
- "num_return_sequences": 1,
182
- "output_attentions": false,
183
- "output_hidden_states": false,
184
- "output_scores": false,
185
- "pad_token_id": null,
186
- "patch_padding": [
187
- 3,
188
- 1,
189
- 1,
190
- 1
191
- ],
192
- "patch_prenorm": [
193
- false,
194
- true,
195
- true,
196
- true
197
- ],
198
- "patch_size": [
199
- 7,
200
- 3,
201
- 3,
202
- 3
203
- ],
204
- "patch_stride": [
205
- 4,
206
- 2,
207
- 2,
208
- 2
209
- ],
210
- "prefix": null,
211
- "problem_type": null,
212
  "projection_dim": 768,
213
- "pruned_heads": {},
214
- "remove_invalid_values": false,
215
- "repetition_penalty": 1.0,
216
- "return_dict": true,
217
- "return_dict_in_generate": false,
218
- "sep_token_id": null,
219
- "suppress_tokens": null,
220
- "task_specific_params": null,
221
- "temperature": 1.0,
222
- "tf_legacy_loss": false,
223
- "tie_encoder_decoder": false,
224
- "tie_word_embeddings": true,
225
- "tokenizer_class": null,
226
- "top_k": 50,
227
- "top_p": 1.0,
228
- "torch_dtype": null,
229
- "torchscript": false,
230
- "typical_p": 1.0,
231
- "use_bfloat16": false,
232
  "visual_temporal_embedding": {
233
- "max_temporal_embeddings": 100,
234
- "type": "COSINE"
 
 
 
 
235
  },
236
- "window_size": 12
237
  },
238
- "vocab_size": 51289
239
- }
 
 
 
 
1
  {
2
+ "_name_or_path": "microsoft/Florence-2-base",
3
  "architectures": [
4
  "Florence2ForConditionalGeneration"
5
  ],
6
  "auto_map": {
7
+ "AutoConfig": "configuration_florence2.Florence2Config",
8
+ "AutoModelForCausalLM": "modeling_florence2.Florence2ForConditionalGeneration"
9
  },
10
  "bos_token_id": 0,
11
  "eos_token_id": 2,
 
15
  "pad_token_id": 1,
16
  "projection_dim": 768,
17
  "text_config": {
 
18
  "_name_or_path": "",
19
  "activation_dropout": 0.1,
20
  "activation_function": "gelu",
 
105
  "vocab_size": 51289
106
  },
107
  "torch_dtype": "float32",
108
+ "transformers_version": "4.44.2",
109
  "vision_config": {
110
+ "model_type": "davit",
111
+ "drop_path_rate": 0.1,
112
+ "patch_size": [7, 3, 3, 3],
113
+ "patch_stride": [4, 2, 2, 2],
114
+ "patch_padding": [3, 1, 1, 1],
115
+ "patch_prenorm": [false, true, true, true],
116
+ "enable_checkpoint": false,
117
+ "dim_embed": [128, 256, 512, 1024],
118
+ "num_heads": [4, 8, 16, 32],
119
+ "num_groups": [4, 8, 16, 32],
120
+ "depths": [1, 1, 9, 1],
121
+ "window_size": 12,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
122
  "projection_dim": 768,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
123
  "visual_temporal_embedding": {
124
+ "type": "COSINE",
125
+ "max_temporal_embeddings": 100
126
+ },
127
+ "image_pos_embed": {
128
+ "type": "learned_abs_2d",
129
+ "max_pos_embeddings": 50
130
  },
131
+ "image_feature_source": ["spatial_avg_pool", "temporal_avg_pool"]
132
  },
133
+ "vocab_size": 51289,
134
+ "torch_dtype": "float16",
135
+ "transformers_version": "4.41.0.dev0",
136
+ "is_encoder_decoder": true
137
+ }