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