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