tianzhechu commited on
Commit
0bbe066
·
verified ·
1 Parent(s): 5f00cc4

Upload config.json with huggingface_hub

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