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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_commit_hash": null,
|
3 |
+
"architectures": [
|
4 |
+
"TroLForCausalLM"
|
5 |
+
],
|
6 |
+
"downsample_ratio": 0.5,
|
7 |
+
"dynamic_image_size": true,
|
8 |
+
"force_image_size": 448,
|
9 |
+
"llm_config": {
|
10 |
+
"add_cross_attention": false,
|
11 |
+
"architectures": [
|
12 |
+
"Phi3ForCausalLM"
|
13 |
+
],
|
14 |
+
"attention_dropout": 0.0,
|
15 |
+
"bad_words_ids": null,
|
16 |
+
"begin_suppress_tokens": null,
|
17 |
+
"bos_token_id": 1,
|
18 |
+
"chunk_size_feed_forward": 0,
|
19 |
+
"cross_attention_hidden_size": null,
|
20 |
+
"decoder_start_token_id": null,
|
21 |
+
"diversity_penalty": 0.0,
|
22 |
+
"do_sample": false,
|
23 |
+
"early_stopping": false,
|
24 |
+
"embd_pdrop": 0.0,
|
25 |
+
"encoder_no_repeat_ngram_size": 0,
|
26 |
+
"eos_token_id": 32000,
|
27 |
+
"exponential_decay_length_penalty": null,
|
28 |
+
"finetuning_task": null,
|
29 |
+
"forced_bos_token_id": null,
|
30 |
+
"forced_eos_token_id": null,
|
31 |
+
"hidden_act": "silu",
|
32 |
+
"hidden_size": 3072,
|
33 |
+
"id2label": {
|
34 |
+
"0": "LABEL_0",
|
35 |
+
"1": "LABEL_1"
|
36 |
+
},
|
37 |
+
"initializer_range": 0.02,
|
38 |
+
"intermediate_size": 8192,
|
39 |
+
"is_decoder": false,
|
40 |
+
"is_encoder_decoder": false,
|
41 |
+
"label2id": {
|
42 |
+
"LABEL_0": 0,
|
43 |
+
"LABEL_1": 1
|
44 |
+
},
|
45 |
+
"length_penalty": 1.0,
|
46 |
+
"max_length": 20,
|
47 |
+
"max_position_embeddings": 131072,
|
48 |
+
"min_length": 0,
|
49 |
+
"model_type": "phi3",
|
50 |
+
"no_repeat_ngram_size": 0,
|
51 |
+
"num_attention_heads": 32,
|
52 |
+
"num_beam_groups": 1,
|
53 |
+
"num_beams": 1,
|
54 |
+
"num_hidden_layers": 32,
|
55 |
+
"num_key_value_heads": 32,
|
56 |
+
"num_return_sequences": 1,
|
57 |
+
"original_max_position_embeddings": 4096,
|
58 |
+
"output_attentions": false,
|
59 |
+
"output_hidden_states": false,
|
60 |
+
"output_scores": false,
|
61 |
+
"pad_token_id": 32000,
|
62 |
+
"prefix": null,
|
63 |
+
"problem_type": null,
|
64 |
+
"pruned_heads": {},
|
65 |
+
"remove_invalid_values": false,
|
66 |
+
"repetition_penalty": 1.0,
|
67 |
+
"resid_pdrop": 0.0,
|
68 |
+
"return_dict": true,
|
69 |
+
"return_dict_in_generate": false,
|
70 |
+
"rms_norm_eps": 1e-05,
|
71 |
+
"rope_scaling": {
|
72 |
+
"long_factor": [
|
73 |
+
1.0299999713897705,
|
74 |
+
1.0499999523162842,
|
75 |
+
1.0499999523162842,
|
76 |
+
1.0799999237060547,
|
77 |
+
1.2299998998641968,
|
78 |
+
1.2299998998641968,
|
79 |
+
1.2999999523162842,
|
80 |
+
1.4499999284744263,
|
81 |
+
1.5999999046325684,
|
82 |
+
1.6499998569488525,
|
83 |
+
1.8999998569488525,
|
84 |
+
2.859999895095825,
|
85 |
+
3.68999981880188,
|
86 |
+
5.419999599456787,
|
87 |
+
5.489999771118164,
|
88 |
+
5.489999771118164,
|
89 |
+
9.09000015258789,
|
90 |
+
11.579999923706055,
|
91 |
+
15.65999984741211,
|
92 |
+
15.769999504089355,
|
93 |
+
15.789999961853027,
|
94 |
+
18.360000610351562,
|
95 |
+
21.989999771118164,
|
96 |
+
23.079999923706055,
|
97 |
+
30.009998321533203,
|
98 |
+
32.35000228881836,
|
99 |
+
32.590003967285156,
|
100 |
+
35.56000518798828,
|
101 |
+
39.95000457763672,
|
102 |
+
53.840003967285156,
|
103 |
+
56.20000457763672,
|
104 |
+
57.95000457763672,
|
105 |
+
59.29000473022461,
|
106 |
+
59.77000427246094,
|
107 |
+
59.920005798339844,
|
108 |
+
61.190006256103516,
|
109 |
+
61.96000671386719,
|
110 |
+
62.50000762939453,
|
111 |
+
63.3700065612793,
|
112 |
+
63.48000717163086,
|
113 |
+
63.48000717163086,
|
114 |
+
63.66000747680664,
|
115 |
+
63.850006103515625,
|
116 |
+
64.08000946044922,
|
117 |
+
64.760009765625,
|
118 |
+
64.80001068115234,
|
119 |
+
64.81001281738281,
|
120 |
+
64.81001281738281
|
121 |
+
],
|
122 |
+
"short_factor": [
|
123 |
+
1.05,
|
124 |
+
1.05,
|
125 |
+
1.05,
|
126 |
+
1.1,
|
127 |
+
1.1,
|
128 |
+
1.1500000000000001,
|
129 |
+
1.2000000000000002,
|
130 |
+
1.2500000000000002,
|
131 |
+
1.3000000000000003,
|
132 |
+
1.3500000000000003,
|
133 |
+
1.5000000000000004,
|
134 |
+
2.000000000000001,
|
135 |
+
2.000000000000001,
|
136 |
+
2.000000000000001,
|
137 |
+
2.000000000000001,
|
138 |
+
2.000000000000001,
|
139 |
+
2.000000000000001,
|
140 |
+
2.000000000000001,
|
141 |
+
2.000000000000001,
|
142 |
+
2.000000000000001,
|
143 |
+
2.000000000000001,
|
144 |
+
2.000000000000001,
|
145 |
+
2.000000000000001,
|
146 |
+
2.000000000000001,
|
147 |
+
2.000000000000001,
|
148 |
+
2.000000000000001,
|
149 |
+
2.000000000000001,
|
150 |
+
2.000000000000001,
|
151 |
+
2.000000000000001,
|
152 |
+
2.000000000000001,
|
153 |
+
2.000000000000001,
|
154 |
+
2.000000000000001,
|
155 |
+
2.0500000000000007,
|
156 |
+
2.0500000000000007,
|
157 |
+
2.0500000000000007,
|
158 |
+
2.1000000000000005,
|
159 |
+
2.1000000000000005,
|
160 |
+
2.1000000000000005,
|
161 |
+
2.1500000000000004,
|
162 |
+
2.1500000000000004,
|
163 |
+
2.3499999999999996,
|
164 |
+
2.549999999999999,
|
165 |
+
2.5999999999999988,
|
166 |
+
2.5999999999999988,
|
167 |
+
2.7499999999999982,
|
168 |
+
2.849999999999998,
|
169 |
+
2.849999999999998,
|
170 |
+
2.9499999999999975
|
171 |
+
],
|
172 |
+
"type": "su"
|
173 |
+
},
|
174 |
+
"rope_theta": 10000.0,
|
175 |
+
"sep_token_id": null,
|
176 |
+
"sliding_window": 262144,
|
177 |
+
"suppress_tokens": null,
|
178 |
+
"task_specific_params": null,
|
179 |
+
"temperature": 1.0,
|
180 |
+
"tf_legacy_loss": false,
|
181 |
+
"tie_encoder_decoder": false,
|
182 |
+
"tie_word_embeddings": false,
|
183 |
+
"tokenizer_class": null,
|
184 |
+
"top_k": 50,
|
185 |
+
"top_p": 1.0,
|
186 |
+
"torch_dtype": "bfloat16",
|
187 |
+
"torchscript": false,
|
188 |
+
"transformers_version": "4.36.2",
|
189 |
+
"typical_p": 1.0,
|
190 |
+
"use_bfloat16": false,
|
191 |
+
"use_cache": true,
|
192 |
+
"vocab_size": 32020
|
193 |
+
},
|
194 |
+
"max_dynamic_patch": 12,
|
195 |
+
"min_dynamic_patch": 1,
|
196 |
+
"model_type": "trol",
|
197 |
+
"pad2square": false,
|
198 |
+
"ps_version": "v2",
|
199 |
+
"select_layer": -1,
|
200 |
+
"template": "phi3-chat",
|
201 |
+
"torch_dtype": "bfloat16",
|
202 |
+
"transformers_version": null,
|
203 |
+
"use_backbone_lora": 0,
|
204 |
+
"use_llm_lora": 0,
|
205 |
+
"use_thumbnail": true,
|
206 |
+
"vision_config": {
|
207 |
+
"add_cross_attention": false,
|
208 |
+
"architectures": [
|
209 |
+
"InternVisionModel"
|
210 |
+
],
|
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 |
+
"drop_path_rate": 0.1,
|
221 |
+
"dropout": 0.0,
|
222 |
+
"early_stopping": false,
|
223 |
+
"encoder_no_repeat_ngram_size": 0,
|
224 |
+
"eos_token_id": null,
|
225 |
+
"exponential_decay_length_penalty": null,
|
226 |
+
"finetuning_task": null,
|
227 |
+
"forced_bos_token_id": null,
|
228 |
+
"forced_eos_token_id": null,
|
229 |
+
"hidden_act": "gelu",
|
230 |
+
"hidden_size": 1024,
|
231 |
+
"id2label": {
|
232 |
+
"0": "LABEL_0",
|
233 |
+
"1": "LABEL_1"
|
234 |
+
},
|
235 |
+
"image_size": 448,
|
236 |
+
"initializer_factor": 1.0,
|
237 |
+
"initializer_range": 0.02,
|
238 |
+
"intermediate_size": 4096,
|
239 |
+
"is_decoder": false,
|
240 |
+
"is_encoder_decoder": false,
|
241 |
+
"label2id": {
|
242 |
+
"LABEL_0": 0,
|
243 |
+
"LABEL_1": 1
|
244 |
+
},
|
245 |
+
"layer_norm_eps": 1e-06,
|
246 |
+
"length_penalty": 1.0,
|
247 |
+
"max_length": 20,
|
248 |
+
"min_length": 0,
|
249 |
+
"model_type": "intern_vit_6b",
|
250 |
+
"no_repeat_ngram_size": 0,
|
251 |
+
"norm_type": "layer_norm",
|
252 |
+
"num_attention_heads": 16,
|
253 |
+
"num_beam_groups": 1,
|
254 |
+
"num_beams": 1,
|
255 |
+
"num_channels": 3,
|
256 |
+
"num_hidden_layers": 24,
|
257 |
+
"num_return_sequences": 1,
|
258 |
+
"output_attentions": false,
|
259 |
+
"output_hidden_states": false,
|
260 |
+
"output_scores": false,
|
261 |
+
"pad_token_id": null,
|
262 |
+
"patch_size": 14,
|
263 |
+
"prefix": null,
|
264 |
+
"problem_type": null,
|
265 |
+
"pruned_heads": {},
|
266 |
+
"qk_normalization": false,
|
267 |
+
"qkv_bias": true,
|
268 |
+
"remove_invalid_values": false,
|
269 |
+
"repetition_penalty": 1.0,
|
270 |
+
"return_dict": true,
|
271 |
+
"return_dict_in_generate": false,
|
272 |
+
"sep_token_id": null,
|
273 |
+
"suppress_tokens": null,
|
274 |
+
"task_specific_params": null,
|
275 |
+
"temperature": 1.0,
|
276 |
+
"tf_legacy_loss": false,
|
277 |
+
"tie_encoder_decoder": false,
|
278 |
+
"tie_word_embeddings": true,
|
279 |
+
"tokenizer_class": null,
|
280 |
+
"top_k": 50,
|
281 |
+
"top_p": 1.0,
|
282 |
+
"torch_dtype": "bfloat16",
|
283 |
+
"torchscript": false,
|
284 |
+
"transformers_version": "4.36.2",
|
285 |
+
"typical_p": 1.0,
|
286 |
+
"use_bfloat16": true,
|
287 |
+
"use_flash_attn": true
|
288 |
+
}
|
289 |
+
}
|