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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "HuggingFaceM4/idefics2-8b",
|
3 |
+
"architectures": [
|
4 |
+
"Idefics2ForSequenceClassification"
|
5 |
+
],
|
6 |
+
"id2label": {
|
7 |
+
"0": "LABEL_0",
|
8 |
+
"1": "LABEL_1",
|
9 |
+
"2": "LABEL_2",
|
10 |
+
"3": "LABEL_3",
|
11 |
+
"4": "LABEL_4"
|
12 |
+
},
|
13 |
+
"image_token_id": 32001,
|
14 |
+
"label2id": {
|
15 |
+
"LABEL_0": 0,
|
16 |
+
"LABEL_1": 1,
|
17 |
+
"LABEL_2": 2,
|
18 |
+
"LABEL_3": 3,
|
19 |
+
"LABEL_4": 4
|
20 |
+
},
|
21 |
+
"model_type": "idefics2",
|
22 |
+
"perceiver_config": {
|
23 |
+
"_name_or_path": "",
|
24 |
+
"add_cross_attention": false,
|
25 |
+
"architectures": null,
|
26 |
+
"attention_dropout": 0.0,
|
27 |
+
"bad_words_ids": null,
|
28 |
+
"begin_suppress_tokens": null,
|
29 |
+
"bos_token_id": null,
|
30 |
+
"chunk_size_feed_forward": 0,
|
31 |
+
"cross_attention_hidden_size": null,
|
32 |
+
"decoder_start_token_id": null,
|
33 |
+
"diversity_penalty": 0.0,
|
34 |
+
"do_sample": false,
|
35 |
+
"early_stopping": false,
|
36 |
+
"encoder_no_repeat_ngram_size": 0,
|
37 |
+
"eos_token_id": null,
|
38 |
+
"exponential_decay_length_penalty": null,
|
39 |
+
"finetuning_task": null,
|
40 |
+
"forced_bos_token_id": null,
|
41 |
+
"forced_eos_token_id": null,
|
42 |
+
"hidden_act": "silu",
|
43 |
+
"id2label": {
|
44 |
+
"0": "LABEL_0",
|
45 |
+
"1": "LABEL_1"
|
46 |
+
},
|
47 |
+
"is_decoder": false,
|
48 |
+
"is_encoder_decoder": false,
|
49 |
+
"label2id": {
|
50 |
+
"LABEL_0": 0,
|
51 |
+
"LABEL_1": 1
|
52 |
+
},
|
53 |
+
"length_penalty": 1.0,
|
54 |
+
"max_length": 20,
|
55 |
+
"min_length": 0,
|
56 |
+
"model_type": "idefics2",
|
57 |
+
"no_repeat_ngram_size": 0,
|
58 |
+
"num_beam_groups": 1,
|
59 |
+
"num_beams": 1,
|
60 |
+
"num_key_value_heads": 4,
|
61 |
+
"num_return_sequences": 1,
|
62 |
+
"output_attentions": false,
|
63 |
+
"output_hidden_states": false,
|
64 |
+
"output_scores": false,
|
65 |
+
"pad_token_id": null,
|
66 |
+
"prefix": null,
|
67 |
+
"problem_type": null,
|
68 |
+
"pruned_heads": {},
|
69 |
+
"remove_invalid_values": false,
|
70 |
+
"repetition_penalty": 1.0,
|
71 |
+
"resampler_depth": 3,
|
72 |
+
"resampler_head_dim": 96,
|
73 |
+
"resampler_n_heads": 16,
|
74 |
+
"resampler_n_latents": 64,
|
75 |
+
"return_dict": true,
|
76 |
+
"return_dict_in_generate": false,
|
77 |
+
"sep_token_id": null,
|
78 |
+
"suppress_tokens": null,
|
79 |
+
"task_specific_params": null,
|
80 |
+
"temperature": 1.0,
|
81 |
+
"tf_legacy_loss": false,
|
82 |
+
"tie_encoder_decoder": false,
|
83 |
+
"tie_word_embeddings": true,
|
84 |
+
"tokenizer_class": null,
|
85 |
+
"top_k": 50,
|
86 |
+
"top_p": 1.0,
|
87 |
+
"torch_dtype": null,
|
88 |
+
"torchscript": false,
|
89 |
+
"typical_p": 1.0,
|
90 |
+
"use_bfloat16": false
|
91 |
+
},
|
92 |
+
"problem_type": "regression",
|
93 |
+
"text_config": {
|
94 |
+
"_name_or_path": "",
|
95 |
+
"add_cross_attention": false,
|
96 |
+
"architectures": null,
|
97 |
+
"attention_dropout": 0.0,
|
98 |
+
"bad_words_ids": null,
|
99 |
+
"begin_suppress_tokens": null,
|
100 |
+
"bos_token_id": 1,
|
101 |
+
"chunk_size_feed_forward": 0,
|
102 |
+
"cross_attention_hidden_size": null,
|
103 |
+
"decoder_start_token_id": null,
|
104 |
+
"diversity_penalty": 0.0,
|
105 |
+
"do_sample": false,
|
106 |
+
"early_stopping": false,
|
107 |
+
"encoder_no_repeat_ngram_size": 0,
|
108 |
+
"eos_token_id": 2,
|
109 |
+
"exponential_decay_length_penalty": null,
|
110 |
+
"finetuning_task": null,
|
111 |
+
"forced_bos_token_id": null,
|
112 |
+
"forced_eos_token_id": null,
|
113 |
+
"head_dim": 128,
|
114 |
+
"hidden_act": "silu",
|
115 |
+
"hidden_size": 4096,
|
116 |
+
"id2label": {
|
117 |
+
"0": "LABEL_0",
|
118 |
+
"1": "LABEL_1"
|
119 |
+
},
|
120 |
+
"initializer_range": 0.02,
|
121 |
+
"intermediate_size": 14336,
|
122 |
+
"is_decoder": false,
|
123 |
+
"is_encoder_decoder": false,
|
124 |
+
"label2id": {
|
125 |
+
"LABEL_0": 0,
|
126 |
+
"LABEL_1": 1
|
127 |
+
},
|
128 |
+
"length_penalty": 1.0,
|
129 |
+
"max_length": 20,
|
130 |
+
"max_position_embeddings": 32768,
|
131 |
+
"min_length": 0,
|
132 |
+
"model_type": "mistral",
|
133 |
+
"no_repeat_ngram_size": 0,
|
134 |
+
"num_attention_heads": 32,
|
135 |
+
"num_beam_groups": 1,
|
136 |
+
"num_beams": 1,
|
137 |
+
"num_hidden_layers": 32,
|
138 |
+
"num_key_value_heads": 8,
|
139 |
+
"num_return_sequences": 1,
|
140 |
+
"output_attentions": false,
|
141 |
+
"output_hidden_states": false,
|
142 |
+
"output_scores": false,
|
143 |
+
"pad_token_id": 0,
|
144 |
+
"prefix": null,
|
145 |
+
"problem_type": null,
|
146 |
+
"pruned_heads": {},
|
147 |
+
"remove_invalid_values": false,
|
148 |
+
"repetition_penalty": 1.0,
|
149 |
+
"return_dict": true,
|
150 |
+
"return_dict_in_generate": false,
|
151 |
+
"rms_norm_eps": 1e-05,
|
152 |
+
"rope_theta": 10000.0,
|
153 |
+
"sep_token_id": null,
|
154 |
+
"sliding_window": 4096,
|
155 |
+
"suppress_tokens": null,
|
156 |
+
"task_specific_params": null,
|
157 |
+
"temperature": 1.0,
|
158 |
+
"tf_legacy_loss": false,
|
159 |
+
"tie_encoder_decoder": false,
|
160 |
+
"tie_word_embeddings": false,
|
161 |
+
"tokenizer_class": null,
|
162 |
+
"top_k": 50,
|
163 |
+
"top_p": 1.0,
|
164 |
+
"torch_dtype": null,
|
165 |
+
"torchscript": false,
|
166 |
+
"typical_p": 1.0,
|
167 |
+
"use_bfloat16": false,
|
168 |
+
"use_cache": true,
|
169 |
+
"vocab_size": 32003
|
170 |
+
},
|
171 |
+
"tie_word_embeddings": false,
|
172 |
+
"torch_dtype": "bfloat16",
|
173 |
+
"transformers_version": "4.45.0",
|
174 |
+
"use_cache": true,
|
175 |
+
"vision_config": {
|
176 |
+
"_name_or_path": "",
|
177 |
+
"add_cross_attention": false,
|
178 |
+
"architectures": null,
|
179 |
+
"attention_dropout": 0.0,
|
180 |
+
"bad_words_ids": null,
|
181 |
+
"begin_suppress_tokens": null,
|
182 |
+
"bos_token_id": null,
|
183 |
+
"chunk_size_feed_forward": 0,
|
184 |
+
"cross_attention_hidden_size": null,
|
185 |
+
"decoder_start_token_id": null,
|
186 |
+
"diversity_penalty": 0.0,
|
187 |
+
"do_sample": false,
|
188 |
+
"early_stopping": false,
|
189 |
+
"encoder_no_repeat_ngram_size": 0,
|
190 |
+
"eos_token_id": null,
|
191 |
+
"exponential_decay_length_penalty": null,
|
192 |
+
"finetuning_task": null,
|
193 |
+
"forced_bos_token_id": null,
|
194 |
+
"forced_eos_token_id": null,
|
195 |
+
"hidden_act": "gelu_pytorch_tanh",
|
196 |
+
"hidden_size": 1152,
|
197 |
+
"id2label": {
|
198 |
+
"0": "LABEL_0",
|
199 |
+
"1": "LABEL_1"
|
200 |
+
},
|
201 |
+
"image_size": 980,
|
202 |
+
"initializer_range": 0.02,
|
203 |
+
"intermediate_size": 4304,
|
204 |
+
"is_decoder": false,
|
205 |
+
"is_encoder_decoder": false,
|
206 |
+
"label2id": {
|
207 |
+
"LABEL_0": 0,
|
208 |
+
"LABEL_1": 1
|
209 |
+
},
|
210 |
+
"layer_norm_eps": 1e-06,
|
211 |
+
"length_penalty": 1.0,
|
212 |
+
"max_length": 20,
|
213 |
+
"min_length": 0,
|
214 |
+
"model_type": "idefics2",
|
215 |
+
"no_repeat_ngram_size": 0,
|
216 |
+
"num_attention_heads": 16,
|
217 |
+
"num_beam_groups": 1,
|
218 |
+
"num_beams": 1,
|
219 |
+
"num_channels": 3,
|
220 |
+
"num_hidden_layers": 27,
|
221 |
+
"num_return_sequences": 1,
|
222 |
+
"output_attentions": false,
|
223 |
+
"output_hidden_states": false,
|
224 |
+
"output_scores": false,
|
225 |
+
"pad_token_id": null,
|
226 |
+
"patch_size": 14,
|
227 |
+
"prefix": null,
|
228 |
+
"problem_type": null,
|
229 |
+
"pruned_heads": {},
|
230 |
+
"remove_invalid_values": false,
|
231 |
+
"repetition_penalty": 1.0,
|
232 |
+
"return_dict": true,
|
233 |
+
"return_dict_in_generate": false,
|
234 |
+
"sep_token_id": null,
|
235 |
+
"suppress_tokens": null,
|
236 |
+
"task_specific_params": null,
|
237 |
+
"temperature": 1.0,
|
238 |
+
"tf_legacy_loss": false,
|
239 |
+
"tie_encoder_decoder": false,
|
240 |
+
"tie_word_embeddings": true,
|
241 |
+
"tokenizer_class": null,
|
242 |
+
"top_k": 50,
|
243 |
+
"top_p": 1.0,
|
244 |
+
"torch_dtype": null,
|
245 |
+
"torchscript": false,
|
246 |
+
"typical_p": 1.0,
|
247 |
+
"use_bfloat16": false
|
248 |
+
}
|
249 |
+
}
|