dlmx commited on
Commit
6acf070
·
verified ·
1 Parent(s): 64f4665

Upload config.json

Browse files
Files changed (1) hide show
  1. config.json +266 -0
config.json ADDED
@@ -0,0 +1,266 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ignore_index": -100,
3
+ "image_token_index": 32000,
4
+ "projector_hidden_act": "gelu",
5
+ "vision_feature_select_strategy": "default",
6
+ "vision_feature_layer": -2,
7
+ "image_grid_pinpoints": [
8
+ [
9
+ 336,
10
+ 672
11
+ ],
12
+ [
13
+ 672,
14
+ 336
15
+ ],
16
+ [
17
+ 672,
18
+ 672
19
+ ],
20
+ [
21
+ 1008,
22
+ 336
23
+ ],
24
+ [
25
+ 336,
26
+ 1008
27
+ ]
28
+ ],
29
+ "vision_config": {
30
+ "return_dict": true,
31
+ "output_hidden_states": false,
32
+ "output_attentions": false,
33
+ "torchscript": false,
34
+ "torch_dtype": null,
35
+ "use_bfloat16": false,
36
+ "tf_legacy_loss": false,
37
+ "pruned_heads": {},
38
+ "tie_word_embeddings": true,
39
+ "chunk_size_feed_forward": 0,
40
+ "is_encoder_decoder": false,
41
+ "is_decoder": false,
42
+ "cross_attention_hidden_size": null,
43
+ "add_cross_attention": false,
44
+ "tie_encoder_decoder": false,
45
+ "max_length": 20,
46
+ "min_length": 0,
47
+ "do_sample": false,
48
+ "early_stopping": false,
49
+ "num_beams": 1,
50
+ "num_beam_groups": 1,
51
+ "diversity_penalty": 0.0,
52
+ "temperature": 1.0,
53
+ "top_k": 50,
54
+ "top_p": 1.0,
55
+ "typical_p": 1.0,
56
+ "repetition_penalty": 1.0,
57
+ "length_penalty": 1.0,
58
+ "no_repeat_ngram_size": 0,
59
+ "encoder_no_repeat_ngram_size": 0,
60
+ "bad_words_ids": null,
61
+ "num_return_sequences": 1,
62
+ "output_scores": false,
63
+ "return_dict_in_generate": false,
64
+ "forced_bos_token_id": null,
65
+ "forced_eos_token_id": null,
66
+ "remove_invalid_values": false,
67
+ "exponential_decay_length_penalty": null,
68
+ "suppress_tokens": null,
69
+ "begin_suppress_tokens": null,
70
+ "architectures": null,
71
+ "finetuning_task": null,
72
+ "id2label": {
73
+ "0": "LABEL_0",
74
+ "1": "LABEL_1"
75
+ },
76
+ "label2id": {
77
+ "LABEL_0": 0,
78
+ "LABEL_1": 1
79
+ },
80
+ "tokenizer_class": null,
81
+ "prefix": null,
82
+ "bos_token_id": null,
83
+ "pad_token_id": null,
84
+ "eos_token_id": null,
85
+ "sep_token_id": null,
86
+ "decoder_start_token_id": null,
87
+ "task_specific_params": null,
88
+ "problem_type": null,
89
+ "_name_or_path": "",
90
+ "model_type": "clip_vision_model",
91
+ "vocab_size": 32000,
92
+ "hidden_size": 1024,
93
+ "intermediate_size": 4096,
94
+ "projection_dim": 768,
95
+ "num_hidden_layers": 24,
96
+ "num_attention_heads": 16,
97
+ "num_channels": 3,
98
+ "patch_size": 14,
99
+ "image_size": 336,
100
+ "initializer_range": 0.02,
101
+ "initializer_factor": 1.0,
102
+ "attention_dropout": 0.0,
103
+ "layer_norm_eps": 1e-05,
104
+ "hidden_act": "quick_gelu"
105
+ },
106
+ "text_config": {
107
+ "vocab_size": 32064,
108
+ "max_position_embeddings": 32768,
109
+ "hidden_size": 4096,
110
+ "intermediate_size": 14336,
111
+ "num_hidden_layers": 32,
112
+ "num_attention_heads": 32,
113
+ "sliding_window": null,
114
+ "num_key_value_heads": 8,
115
+ "hidden_act": "silu",
116
+ "initializer_range": 0.02,
117
+ "rms_norm_eps": 1e-05,
118
+ "use_cache": true,
119
+ "rope_theta": 1000000.0,
120
+ "attention_dropout": 0.0,
121
+ "return_dict": true,
122
+ "output_hidden_states": false,
123
+ "output_attentions": false,
124
+ "torchscript": false,
125
+ "torch_dtype": "bfloat16",
126
+ "use_bfloat16": false,
127
+ "tf_legacy_loss": false,
128
+ "pruned_heads": {},
129
+ "tie_word_embeddings": false,
130
+ "chunk_size_feed_forward": 0,
131
+ "is_encoder_decoder": false,
132
+ "is_decoder": false,
133
+ "cross_attention_hidden_size": null,
134
+ "add_cross_attention": false,
135
+ "tie_encoder_decoder": false,
136
+ "max_length": 20,
137
+ "min_length": 0,
138
+ "do_sample": false,
139
+ "early_stopping": false,
140
+ "num_beams": 1,
141
+ "num_beam_groups": 1,
142
+ "diversity_penalty": 0.0,
143
+ "temperature": 1.0,
144
+ "top_k": 50,
145
+ "top_p": 1.0,
146
+ "typical_p": 1.0,
147
+ "repetition_penalty": 1.0,
148
+ "length_penalty": 1.0,
149
+ "no_repeat_ngram_size": 0,
150
+ "encoder_no_repeat_ngram_size": 0,
151
+ "bad_words_ids": null,
152
+ "num_return_sequences": 1,
153
+ "output_scores": false,
154
+ "return_dict_in_generate": false,
155
+ "forced_bos_token_id": null,
156
+ "forced_eos_token_id": null,
157
+ "remove_invalid_values": false,
158
+ "exponential_decay_length_penalty": null,
159
+ "suppress_tokens": null,
160
+ "begin_suppress_tokens": null,
161
+ "architectures": [
162
+ "MistralForCausalLM"
163
+ ],
164
+ "finetuning_task": null,
165
+ "id2label": {
166
+ "0": "LABEL_0",
167
+ "1": "LABEL_1"
168
+ },
169
+ "label2id": {
170
+ "LABEL_0": 0,
171
+ "LABEL_1": 1
172
+ },
173
+ "tokenizer_class": null,
174
+ "prefix": null,
175
+ "bos_token_id": 1,
176
+ "pad_token_id": null,
177
+ "eos_token_id": 2,
178
+ "sep_token_id": null,
179
+ "decoder_start_token_id": null,
180
+ "task_specific_params": null,
181
+ "problem_type": null,
182
+ "_name_or_path": "mistralai/Mistral-7B-Instruct-v0.2",
183
+ "model_type": "mistral"
184
+ },
185
+ "return_dict": true,
186
+ "output_hidden_states": false,
187
+ "output_attentions": false,
188
+ "torchscript": false,
189
+ "torch_dtype": "float16",
190
+ "use_bfloat16": false,
191
+ "tf_legacy_loss": false,
192
+ "pruned_heads": {},
193
+ "tie_word_embeddings": false,
194
+ "chunk_size_feed_forward": 0,
195
+ "is_encoder_decoder": false,
196
+ "is_decoder": false,
197
+ "cross_attention_hidden_size": null,
198
+ "add_cross_attention": false,
199
+ "tie_encoder_decoder": false,
200
+ "max_length": 20,
201
+ "min_length": 0,
202
+ "do_sample": false,
203
+ "early_stopping": false,
204
+ "num_beams": 1,
205
+ "num_beam_groups": 1,
206
+ "diversity_penalty": 0.0,
207
+ "temperature": 1.0,
208
+ "top_k": 50,
209
+ "top_p": 1.0,
210
+ "typical_p": 1.0,
211
+ "repetition_penalty": 1.0,
212
+ "length_penalty": 1.0,
213
+ "no_repeat_ngram_size": 0,
214
+ "encoder_no_repeat_ngram_size": 0,
215
+ "bad_words_ids": null,
216
+ "num_return_sequences": 1,
217
+ "output_scores": false,
218
+ "return_dict_in_generate": false,
219
+ "forced_bos_token_id": null,
220
+ "forced_eos_token_id": null,
221
+ "remove_invalid_values": false,
222
+ "exponential_decay_length_penalty": null,
223
+ "suppress_tokens": null,
224
+ "begin_suppress_tokens": null,
225
+ "architectures": [
226
+ "LlavaNextForConditionalGeneration"
227
+ ],
228
+ "finetuning_task": null,
229
+ "id2label": {
230
+ "0": "LABEL_0",
231
+ "1": "LABEL_1"
232
+ },
233
+ "label2id": {
234
+ "LABEL_0": 0,
235
+ "LABEL_1": 1
236
+ },
237
+ "tokenizer_class": null,
238
+ "prefix": null,
239
+ "bos_token_id": null,
240
+ "pad_token_id": null,
241
+ "eos_token_id": null,
242
+ "sep_token_id": null,
243
+ "decoder_start_token_id": null,
244
+ "task_specific_params": null,
245
+ "problem_type": null,
246
+ "_name_or_path": "llava-hf/llava-v1.6-mistral-7b-hf",
247
+ "transformers_version": "4.41.0",
248
+ "model_type": "llava_next",
249
+ "use_image_newline_parameter": true,
250
+ "vocab_size": 32064,
251
+ "quantization_config": {
252
+ "quant_method": "bitsandbytes",
253
+ "_load_in_8bit": false,
254
+ "_load_in_4bit": true,
255
+ "llm_int8_threshold": 6.0,
256
+ "llm_int8_skip_modules": null,
257
+ "llm_int8_enable_fp32_cpu_offload": false,
258
+ "llm_int8_has_fp16_weight": false,
259
+ "bnb_4bit_quant_type": "fp4",
260
+ "bnb_4bit_use_double_quant": false,
261
+ "bnb_4bit_compute_dtype": "float16",
262
+ "bnb_4bit_quant_storage": "uint8",
263
+ "load_in_4bit": true,
264
+ "load_in_8bit": false
265
+ }
266
+ }