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
+
{
|
2 |
+
"architectures": [
|
3 |
+
"MllamaForConditionalGeneration"
|
4 |
+
],
|
5 |
+
"image_token_index": 128256,
|
6 |
+
"model_type": "mllama",
|
7 |
+
"text_config": {
|
8 |
+
"_name_or_path": "",
|
9 |
+
"add_cross_attention": false,
|
10 |
+
"architectures": null,
|
11 |
+
"bad_words_ids": null,
|
12 |
+
"begin_suppress_tokens": null,
|
13 |
+
"bos_token_id": 128000,
|
14 |
+
"chunk_size_feed_forward": 0,
|
15 |
+
"cross_attention_hidden_size": null,
|
16 |
+
"cross_attention_layers": [
|
17 |
+
3,
|
18 |
+
8,
|
19 |
+
13,
|
20 |
+
18,
|
21 |
+
23,
|
22 |
+
28,
|
23 |
+
33,
|
24 |
+
38,
|
25 |
+
43,
|
26 |
+
48,
|
27 |
+
53,
|
28 |
+
58,
|
29 |
+
63,
|
30 |
+
68,
|
31 |
+
73,
|
32 |
+
78,
|
33 |
+
83,
|
34 |
+
88,
|
35 |
+
93,
|
36 |
+
98
|
37 |
+
],
|
38 |
+
"decoder_start_token_id": null,
|
39 |
+
"diversity_penalty": 0.0,
|
40 |
+
"do_sample": false,
|
41 |
+
"dropout": 0,
|
42 |
+
"early_stopping": false,
|
43 |
+
"encoder_no_repeat_ngram_size": 0,
|
44 |
+
"eos_token_id": 128001,
|
45 |
+
"exponential_decay_length_penalty": null,
|
46 |
+
"finetuning_task": null,
|
47 |
+
"forced_bos_token_id": null,
|
48 |
+
"forced_eos_token_id": null,
|
49 |
+
"hidden_act": "silu",
|
50 |
+
"hidden_size": 8192,
|
51 |
+
"id2label": {
|
52 |
+
"0": "LABEL_0",
|
53 |
+
"1": "LABEL_1"
|
54 |
+
},
|
55 |
+
"initializer_range": 0.02,
|
56 |
+
"intermediate_size": 28672,
|
57 |
+
"is_decoder": false,
|
58 |
+
"is_encoder_decoder": false,
|
59 |
+
"label2id": {
|
60 |
+
"LABEL_0": 0,
|
61 |
+
"LABEL_1": 1
|
62 |
+
},
|
63 |
+
"length_penalty": 1.0,
|
64 |
+
"max_length": 20,
|
65 |
+
"max_position_embeddings": 131072,
|
66 |
+
"min_length": 0,
|
67 |
+
"model_type": "mllama_text_model",
|
68 |
+
"no_repeat_ngram_size": 0,
|
69 |
+
"num_attention_heads": 64,
|
70 |
+
"num_beam_groups": 1,
|
71 |
+
"num_beams": 1,
|
72 |
+
"num_hidden_layers": 100,
|
73 |
+
"num_key_value_heads": 8,
|
74 |
+
"num_return_sequences": 1,
|
75 |
+
"output_attentions": false,
|
76 |
+
"output_hidden_states": false,
|
77 |
+
"output_scores": false,
|
78 |
+
"pad_token_id": 128004,
|
79 |
+
"prefix": null,
|
80 |
+
"problem_type": null,
|
81 |
+
"pruned_heads": {},
|
82 |
+
"remove_invalid_values": false,
|
83 |
+
"repetition_penalty": 1.0,
|
84 |
+
"return_dict": true,
|
85 |
+
"return_dict_in_generate": false,
|
86 |
+
"rms_norm_eps": 1e-05,
|
87 |
+
"rope_scaling": {
|
88 |
+
"factor": 8.0,
|
89 |
+
"high_freq_factor": 4.0,
|
90 |
+
"low_freq_factor": 1.0,
|
91 |
+
"original_max_position_embeddings": 8192,
|
92 |
+
"rope_type": "llama3"
|
93 |
+
},
|
94 |
+
"rope_theta": 500000.0,
|
95 |
+
"sep_token_id": null,
|
96 |
+
"suppress_tokens": null,
|
97 |
+
"task_specific_params": null,
|
98 |
+
"temperature": 1.0,
|
99 |
+
"tf_legacy_loss": false,
|
100 |
+
"tie_encoder_decoder": false,
|
101 |
+
"tie_word_embeddings": false,
|
102 |
+
"tokenizer_class": null,
|
103 |
+
"top_k": 50,
|
104 |
+
"top_p": 1.0,
|
105 |
+
"torch_dtype": "bfloat16",
|
106 |
+
"torchscript": false,
|
107 |
+
"typical_p": 1.0,
|
108 |
+
"use_bfloat16": false,
|
109 |
+
"use_cache": true,
|
110 |
+
"vocab_size": 128256
|
111 |
+
},
|
112 |
+
"torch_dtype": "bfloat16",
|
113 |
+
"transformers_version": "4.45.0.dev0",
|
114 |
+
"vision_config": {
|
115 |
+
"_name_or_path": "",
|
116 |
+
"add_cross_attention": false,
|
117 |
+
"architectures": null,
|
118 |
+
"attention_heads": 16,
|
119 |
+
"bad_words_ids": null,
|
120 |
+
"begin_suppress_tokens": null,
|
121 |
+
"bos_token_id": null,
|
122 |
+
"chunk_size_feed_forward": 0,
|
123 |
+
"cross_attention_hidden_size": null,
|
124 |
+
"decoder_start_token_id": null,
|
125 |
+
"diversity_penalty": 0.0,
|
126 |
+
"do_sample": false,
|
127 |
+
"early_stopping": false,
|
128 |
+
"encoder_no_repeat_ngram_size": 0,
|
129 |
+
"eos_token_id": null,
|
130 |
+
"exponential_decay_length_penalty": null,
|
131 |
+
"finetuning_task": null,
|
132 |
+
"forced_bos_token_id": null,
|
133 |
+
"forced_eos_token_id": null,
|
134 |
+
"hidden_act": "gelu",
|
135 |
+
"hidden_size": 1280,
|
136 |
+
"id2label": {
|
137 |
+
"0": "LABEL_0",
|
138 |
+
"1": "LABEL_1"
|
139 |
+
},
|
140 |
+
"image_size": 560,
|
141 |
+
"intermediate_layers_indices": [
|
142 |
+
3,
|
143 |
+
7,
|
144 |
+
15,
|
145 |
+
23,
|
146 |
+
30
|
147 |
+
],
|
148 |
+
"intermediate_size": 5120,
|
149 |
+
"is_decoder": false,
|
150 |
+
"is_encoder_decoder": false,
|
151 |
+
"label2id": {
|
152 |
+
"LABEL_0": 0,
|
153 |
+
"LABEL_1": 1
|
154 |
+
},
|
155 |
+
"length_penalty": 1.0,
|
156 |
+
"max_length": 20,
|
157 |
+
"max_num_tiles": 4,
|
158 |
+
"min_length": 0,
|
159 |
+
"model_type": "mllama_vision_model",
|
160 |
+
"no_repeat_ngram_size": 0,
|
161 |
+
"norm_eps": 1e-05,
|
162 |
+
"num_beam_groups": 1,
|
163 |
+
"num_beams": 1,
|
164 |
+
"num_channels": 3,
|
165 |
+
"num_global_layers": 8,
|
166 |
+
"num_hidden_layers": 32,
|
167 |
+
"num_return_sequences": 1,
|
168 |
+
"output_attentions": false,
|
169 |
+
"output_hidden_states": false,
|
170 |
+
"output_scores": false,
|
171 |
+
"pad_token_id": null,
|
172 |
+
"patch_size": 14,
|
173 |
+
"prefix": null,
|
174 |
+
"problem_type": null,
|
175 |
+
"pruned_heads": {},
|
176 |
+
"remove_invalid_values": false,
|
177 |
+
"repetition_penalty": 1.0,
|
178 |
+
"return_dict": true,
|
179 |
+
"return_dict_in_generate": false,
|
180 |
+
"sep_token_id": null,
|
181 |
+
"supported_aspect_ratios": [
|
182 |
+
[
|
183 |
+
1,
|
184 |
+
1
|
185 |
+
],
|
186 |
+
[
|
187 |
+
1,
|
188 |
+
2
|
189 |
+
],
|
190 |
+
[
|
191 |
+
1,
|
192 |
+
3
|
193 |
+
],
|
194 |
+
[
|
195 |
+
1,
|
196 |
+
4
|
197 |
+
],
|
198 |
+
[
|
199 |
+
2,
|
200 |
+
1
|
201 |
+
],
|
202 |
+
[
|
203 |
+
2,
|
204 |
+
2
|
205 |
+
],
|
206 |
+
[
|
207 |
+
3,
|
208 |
+
1
|
209 |
+
],
|
210 |
+
[
|
211 |
+
4,
|
212 |
+
1
|
213 |
+
]
|
214 |
+
],
|
215 |
+
"suppress_tokens": null,
|
216 |
+
"task_specific_params": null,
|
217 |
+
"temperature": 1.0,
|
218 |
+
"tf_legacy_loss": false,
|
219 |
+
"tie_encoder_decoder": false,
|
220 |
+
"tie_word_embeddings": true,
|
221 |
+
"tokenizer_class": null,
|
222 |
+
"top_k": 50,
|
223 |
+
"top_p": 1.0,
|
224 |
+
"torch_dtype": "bfloat16",
|
225 |
+
"torchscript": false,
|
226 |
+
"typical_p": 1.0,
|
227 |
+
"use_bfloat16": false,
|
228 |
+
"vision_output_dim": 7680
|
229 |
+
}
|
230 |
+
}
|