bowenbaoamd haoyang-amd commited on
Commit
750ae3b
·
verified ·
1 Parent(s): 4d8f4a8

create_model (#8)

Browse files

- update json (cb687a67fbce6c26a29a99328431b8b9fca8eb7a)


Co-authored-by: haoyanli <[email protected]>

Files changed (2) hide show
  1. config.json +248 -3
  2. generation_config.json +1 -1
config.json CHANGED
@@ -8,14 +8,258 @@
8
  "quantization_config": {
9
  "activation_scheme": "static",
10
  "ignored_layers": [
11
- "*lm_head",
12
- "vision_model*",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  "multi_modal_projector"
14
  ],
15
  "kv_cache_scheme": "static",
16
  "quant_method": "fp8"
17
  },
18
  "text_config": {
 
19
  "_name_or_path": "",
20
  "add_cross_attention": false,
21
  "architectures": null,
@@ -113,8 +357,9 @@
113
  "vocab_size": 128256
114
  },
115
  "torch_dtype": "bfloat16",
116
- "transformers_version": "4.45.2",
117
  "vision_config": {
 
118
  "_name_or_path": "",
119
  "add_cross_attention": false,
120
  "architectures": null,
 
8
  "quantization_config": {
9
  "activation_scheme": "static",
10
  "ignored_layers": [
11
+ "vision_model.patch_embedding",
12
+ "vision_model.gated_positional_embedding.tile_embedding",
13
+ "vision_model.pre_tile_positional_embedding.embedding",
14
+ "vision_model.post_tile_positional_embedding.embedding",
15
+ "vision_model.transformer.layers.0.self_attn.q_proj",
16
+ "vision_model.transformer.layers.0.self_attn.k_proj",
17
+ "vision_model.transformer.layers.0.self_attn.v_proj",
18
+ "vision_model.transformer.layers.0.self_attn.o_proj",
19
+ "vision_model.transformer.layers.0.mlp.fc1",
20
+ "vision_model.transformer.layers.0.mlp.fc2",
21
+ "vision_model.transformer.layers.1.self_attn.q_proj",
22
+ "vision_model.transformer.layers.1.self_attn.k_proj",
23
+ "vision_model.transformer.layers.1.self_attn.v_proj",
24
+ "vision_model.transformer.layers.1.self_attn.o_proj",
25
+ "vision_model.transformer.layers.1.mlp.fc1",
26
+ "vision_model.transformer.layers.1.mlp.fc2",
27
+ "vision_model.transformer.layers.2.self_attn.q_proj",
28
+ "vision_model.transformer.layers.2.self_attn.k_proj",
29
+ "vision_model.transformer.layers.2.self_attn.v_proj",
30
+ "vision_model.transformer.layers.2.self_attn.o_proj",
31
+ "vision_model.transformer.layers.2.mlp.fc1",
32
+ "vision_model.transformer.layers.2.mlp.fc2",
33
+ "vision_model.transformer.layers.3.self_attn.q_proj",
34
+ "vision_model.transformer.layers.3.self_attn.k_proj",
35
+ "vision_model.transformer.layers.3.self_attn.v_proj",
36
+ "vision_model.transformer.layers.3.self_attn.o_proj",
37
+ "vision_model.transformer.layers.3.mlp.fc1",
38
+ "vision_model.transformer.layers.3.mlp.fc2",
39
+ "vision_model.transformer.layers.4.self_attn.q_proj",
40
+ "vision_model.transformer.layers.4.self_attn.k_proj",
41
+ "vision_model.transformer.layers.4.self_attn.v_proj",
42
+ "vision_model.transformer.layers.4.self_attn.o_proj",
43
+ "vision_model.transformer.layers.4.mlp.fc1",
44
+ "vision_model.transformer.layers.4.mlp.fc2",
45
+ "vision_model.transformer.layers.5.self_attn.q_proj",
46
+ "vision_model.transformer.layers.5.self_attn.k_proj",
47
+ "vision_model.transformer.layers.5.self_attn.v_proj",
48
+ "vision_model.transformer.layers.5.self_attn.o_proj",
49
+ "vision_model.transformer.layers.5.mlp.fc1",
50
+ "vision_model.transformer.layers.5.mlp.fc2",
51
+ "vision_model.transformer.layers.6.self_attn.q_proj",
52
+ "vision_model.transformer.layers.6.self_attn.k_proj",
53
+ "vision_model.transformer.layers.6.self_attn.v_proj",
54
+ "vision_model.transformer.layers.6.self_attn.o_proj",
55
+ "vision_model.transformer.layers.6.mlp.fc1",
56
+ "vision_model.transformer.layers.6.mlp.fc2",
57
+ "vision_model.transformer.layers.7.self_attn.q_proj",
58
+ "vision_model.transformer.layers.7.self_attn.k_proj",
59
+ "vision_model.transformer.layers.7.self_attn.v_proj",
60
+ "vision_model.transformer.layers.7.self_attn.o_proj",
61
+ "vision_model.transformer.layers.7.mlp.fc1",
62
+ "vision_model.transformer.layers.7.mlp.fc2",
63
+ "vision_model.transformer.layers.8.self_attn.q_proj",
64
+ "vision_model.transformer.layers.8.self_attn.k_proj",
65
+ "vision_model.transformer.layers.8.self_attn.v_proj",
66
+ "vision_model.transformer.layers.8.self_attn.o_proj",
67
+ "vision_model.transformer.layers.8.mlp.fc1",
68
+ "vision_model.transformer.layers.8.mlp.fc2",
69
+ "vision_model.transformer.layers.9.self_attn.q_proj",
70
+ "vision_model.transformer.layers.9.self_attn.k_proj",
71
+ "vision_model.transformer.layers.9.self_attn.v_proj",
72
+ "vision_model.transformer.layers.9.self_attn.o_proj",
73
+ "vision_model.transformer.layers.9.mlp.fc1",
74
+ "vision_model.transformer.layers.9.mlp.fc2",
75
+ "vision_model.transformer.layers.10.self_attn.q_proj",
76
+ "vision_model.transformer.layers.10.self_attn.k_proj",
77
+ "vision_model.transformer.layers.10.self_attn.v_proj",
78
+ "vision_model.transformer.layers.10.self_attn.o_proj",
79
+ "vision_model.transformer.layers.10.mlp.fc1",
80
+ "vision_model.transformer.layers.10.mlp.fc2",
81
+ "vision_model.transformer.layers.11.self_attn.q_proj",
82
+ "vision_model.transformer.layers.11.self_attn.k_proj",
83
+ "vision_model.transformer.layers.11.self_attn.v_proj",
84
+ "vision_model.transformer.layers.11.self_attn.o_proj",
85
+ "vision_model.transformer.layers.11.mlp.fc1",
86
+ "vision_model.transformer.layers.11.mlp.fc2",
87
+ "vision_model.transformer.layers.12.self_attn.q_proj",
88
+ "vision_model.transformer.layers.12.self_attn.k_proj",
89
+ "vision_model.transformer.layers.12.self_attn.v_proj",
90
+ "vision_model.transformer.layers.12.self_attn.o_proj",
91
+ "vision_model.transformer.layers.12.mlp.fc1",
92
+ "vision_model.transformer.layers.12.mlp.fc2",
93
+ "vision_model.transformer.layers.13.self_attn.q_proj",
94
+ "vision_model.transformer.layers.13.self_attn.k_proj",
95
+ "vision_model.transformer.layers.13.self_attn.v_proj",
96
+ "vision_model.transformer.layers.13.self_attn.o_proj",
97
+ "vision_model.transformer.layers.13.mlp.fc1",
98
+ "vision_model.transformer.layers.13.mlp.fc2",
99
+ "vision_model.transformer.layers.14.self_attn.q_proj",
100
+ "vision_model.transformer.layers.14.self_attn.k_proj",
101
+ "vision_model.transformer.layers.14.self_attn.v_proj",
102
+ "vision_model.transformer.layers.14.self_attn.o_proj",
103
+ "vision_model.transformer.layers.14.mlp.fc1",
104
+ "vision_model.transformer.layers.14.mlp.fc2",
105
+ "vision_model.transformer.layers.15.self_attn.q_proj",
106
+ "vision_model.transformer.layers.15.self_attn.k_proj",
107
+ "vision_model.transformer.layers.15.self_attn.v_proj",
108
+ "vision_model.transformer.layers.15.self_attn.o_proj",
109
+ "vision_model.transformer.layers.15.mlp.fc1",
110
+ "vision_model.transformer.layers.15.mlp.fc2",
111
+ "vision_model.transformer.layers.16.self_attn.q_proj",
112
+ "vision_model.transformer.layers.16.self_attn.k_proj",
113
+ "vision_model.transformer.layers.16.self_attn.v_proj",
114
+ "vision_model.transformer.layers.16.self_attn.o_proj",
115
+ "vision_model.transformer.layers.16.mlp.fc1",
116
+ "vision_model.transformer.layers.16.mlp.fc2",
117
+ "vision_model.transformer.layers.17.self_attn.q_proj",
118
+ "vision_model.transformer.layers.17.self_attn.k_proj",
119
+ "vision_model.transformer.layers.17.self_attn.v_proj",
120
+ "vision_model.transformer.layers.17.self_attn.o_proj",
121
+ "vision_model.transformer.layers.17.mlp.fc1",
122
+ "vision_model.transformer.layers.17.mlp.fc2",
123
+ "vision_model.transformer.layers.18.self_attn.q_proj",
124
+ "vision_model.transformer.layers.18.self_attn.k_proj",
125
+ "vision_model.transformer.layers.18.self_attn.v_proj",
126
+ "vision_model.transformer.layers.18.self_attn.o_proj",
127
+ "vision_model.transformer.layers.18.mlp.fc1",
128
+ "vision_model.transformer.layers.18.mlp.fc2",
129
+ "vision_model.transformer.layers.19.self_attn.q_proj",
130
+ "vision_model.transformer.layers.19.self_attn.k_proj",
131
+ "vision_model.transformer.layers.19.self_attn.v_proj",
132
+ "vision_model.transformer.layers.19.self_attn.o_proj",
133
+ "vision_model.transformer.layers.19.mlp.fc1",
134
+ "vision_model.transformer.layers.19.mlp.fc2",
135
+ "vision_model.transformer.layers.20.self_attn.q_proj",
136
+ "vision_model.transformer.layers.20.self_attn.k_proj",
137
+ "vision_model.transformer.layers.20.self_attn.v_proj",
138
+ "vision_model.transformer.layers.20.self_attn.o_proj",
139
+ "vision_model.transformer.layers.20.mlp.fc1",
140
+ "vision_model.transformer.layers.20.mlp.fc2",
141
+ "vision_model.transformer.layers.21.self_attn.q_proj",
142
+ "vision_model.transformer.layers.21.self_attn.k_proj",
143
+ "vision_model.transformer.layers.21.self_attn.v_proj",
144
+ "vision_model.transformer.layers.21.self_attn.o_proj",
145
+ "vision_model.transformer.layers.21.mlp.fc1",
146
+ "vision_model.transformer.layers.21.mlp.fc2",
147
+ "vision_model.transformer.layers.22.self_attn.q_proj",
148
+ "vision_model.transformer.layers.22.self_attn.k_proj",
149
+ "vision_model.transformer.layers.22.self_attn.v_proj",
150
+ "vision_model.transformer.layers.22.self_attn.o_proj",
151
+ "vision_model.transformer.layers.22.mlp.fc1",
152
+ "vision_model.transformer.layers.22.mlp.fc2",
153
+ "vision_model.transformer.layers.23.self_attn.q_proj",
154
+ "vision_model.transformer.layers.23.self_attn.k_proj",
155
+ "vision_model.transformer.layers.23.self_attn.v_proj",
156
+ "vision_model.transformer.layers.23.self_attn.o_proj",
157
+ "vision_model.transformer.layers.23.mlp.fc1",
158
+ "vision_model.transformer.layers.23.mlp.fc2",
159
+ "vision_model.transformer.layers.24.self_attn.q_proj",
160
+ "vision_model.transformer.layers.24.self_attn.k_proj",
161
+ "vision_model.transformer.layers.24.self_attn.v_proj",
162
+ "vision_model.transformer.layers.24.self_attn.o_proj",
163
+ "vision_model.transformer.layers.24.mlp.fc1",
164
+ "vision_model.transformer.layers.24.mlp.fc2",
165
+ "vision_model.transformer.layers.25.self_attn.q_proj",
166
+ "vision_model.transformer.layers.25.self_attn.k_proj",
167
+ "vision_model.transformer.layers.25.self_attn.v_proj",
168
+ "vision_model.transformer.layers.25.self_attn.o_proj",
169
+ "vision_model.transformer.layers.25.mlp.fc1",
170
+ "vision_model.transformer.layers.25.mlp.fc2",
171
+ "vision_model.transformer.layers.26.self_attn.q_proj",
172
+ "vision_model.transformer.layers.26.self_attn.k_proj",
173
+ "vision_model.transformer.layers.26.self_attn.v_proj",
174
+ "vision_model.transformer.layers.26.self_attn.o_proj",
175
+ "vision_model.transformer.layers.26.mlp.fc1",
176
+ "vision_model.transformer.layers.26.mlp.fc2",
177
+ "vision_model.transformer.layers.27.self_attn.q_proj",
178
+ "vision_model.transformer.layers.27.self_attn.k_proj",
179
+ "vision_model.transformer.layers.27.self_attn.v_proj",
180
+ "vision_model.transformer.layers.27.self_attn.o_proj",
181
+ "vision_model.transformer.layers.27.mlp.fc1",
182
+ "vision_model.transformer.layers.27.mlp.fc2",
183
+ "vision_model.transformer.layers.28.self_attn.q_proj",
184
+ "vision_model.transformer.layers.28.self_attn.k_proj",
185
+ "vision_model.transformer.layers.28.self_attn.v_proj",
186
+ "vision_model.transformer.layers.28.self_attn.o_proj",
187
+ "vision_model.transformer.layers.28.mlp.fc1",
188
+ "vision_model.transformer.layers.28.mlp.fc2",
189
+ "vision_model.transformer.layers.29.self_attn.q_proj",
190
+ "vision_model.transformer.layers.29.self_attn.k_proj",
191
+ "vision_model.transformer.layers.29.self_attn.v_proj",
192
+ "vision_model.transformer.layers.29.self_attn.o_proj",
193
+ "vision_model.transformer.layers.29.mlp.fc1",
194
+ "vision_model.transformer.layers.29.mlp.fc2",
195
+ "vision_model.transformer.layers.30.self_attn.q_proj",
196
+ "vision_model.transformer.layers.30.self_attn.k_proj",
197
+ "vision_model.transformer.layers.30.self_attn.v_proj",
198
+ "vision_model.transformer.layers.30.self_attn.o_proj",
199
+ "vision_model.transformer.layers.30.mlp.fc1",
200
+ "vision_model.transformer.layers.30.mlp.fc2",
201
+ "vision_model.transformer.layers.31.self_attn.q_proj",
202
+ "vision_model.transformer.layers.31.self_attn.k_proj",
203
+ "vision_model.transformer.layers.31.self_attn.v_proj",
204
+ "vision_model.transformer.layers.31.self_attn.o_proj",
205
+ "vision_model.transformer.layers.31.mlp.fc1",
206
+ "vision_model.transformer.layers.31.mlp.fc2",
207
+ "vision_model.global_transformer.layers.0.self_attn.q_proj",
208
+ "vision_model.global_transformer.layers.0.self_attn.k_proj",
209
+ "vision_model.global_transformer.layers.0.self_attn.v_proj",
210
+ "vision_model.global_transformer.layers.0.self_attn.o_proj",
211
+ "vision_model.global_transformer.layers.0.mlp.fc1",
212
+ "vision_model.global_transformer.layers.0.mlp.fc2",
213
+ "vision_model.global_transformer.layers.1.self_attn.q_proj",
214
+ "vision_model.global_transformer.layers.1.self_attn.k_proj",
215
+ "vision_model.global_transformer.layers.1.self_attn.v_proj",
216
+ "vision_model.global_transformer.layers.1.self_attn.o_proj",
217
+ "vision_model.global_transformer.layers.1.mlp.fc1",
218
+ "vision_model.global_transformer.layers.1.mlp.fc2",
219
+ "vision_model.global_transformer.layers.2.self_attn.q_proj",
220
+ "vision_model.global_transformer.layers.2.self_attn.k_proj",
221
+ "vision_model.global_transformer.layers.2.self_attn.v_proj",
222
+ "vision_model.global_transformer.layers.2.self_attn.o_proj",
223
+ "vision_model.global_transformer.layers.2.mlp.fc1",
224
+ "vision_model.global_transformer.layers.2.mlp.fc2",
225
+ "vision_model.global_transformer.layers.3.self_attn.q_proj",
226
+ "vision_model.global_transformer.layers.3.self_attn.k_proj",
227
+ "vision_model.global_transformer.layers.3.self_attn.v_proj",
228
+ "vision_model.global_transformer.layers.3.self_attn.o_proj",
229
+ "vision_model.global_transformer.layers.3.mlp.fc1",
230
+ "vision_model.global_transformer.layers.3.mlp.fc2",
231
+ "vision_model.global_transformer.layers.4.self_attn.q_proj",
232
+ "vision_model.global_transformer.layers.4.self_attn.k_proj",
233
+ "vision_model.global_transformer.layers.4.self_attn.v_proj",
234
+ "vision_model.global_transformer.layers.4.self_attn.o_proj",
235
+ "vision_model.global_transformer.layers.4.mlp.fc1",
236
+ "vision_model.global_transformer.layers.4.mlp.fc2",
237
+ "vision_model.global_transformer.layers.5.self_attn.q_proj",
238
+ "vision_model.global_transformer.layers.5.self_attn.k_proj",
239
+ "vision_model.global_transformer.layers.5.self_attn.v_proj",
240
+ "vision_model.global_transformer.layers.5.self_attn.o_proj",
241
+ "vision_model.global_transformer.layers.5.mlp.fc1",
242
+ "vision_model.global_transformer.layers.5.mlp.fc2",
243
+ "vision_model.global_transformer.layers.6.self_attn.q_proj",
244
+ "vision_model.global_transformer.layers.6.self_attn.k_proj",
245
+ "vision_model.global_transformer.layers.6.self_attn.v_proj",
246
+ "vision_model.global_transformer.layers.6.self_attn.o_proj",
247
+ "vision_model.global_transformer.layers.6.mlp.fc1",
248
+ "vision_model.global_transformer.layers.6.mlp.fc2",
249
+ "vision_model.global_transformer.layers.7.self_attn.q_proj",
250
+ "vision_model.global_transformer.layers.7.self_attn.k_proj",
251
+ "vision_model.global_transformer.layers.7.self_attn.v_proj",
252
+ "vision_model.global_transformer.layers.7.self_attn.o_proj",
253
+ "vision_model.global_transformer.layers.7.mlp.fc1",
254
+ "vision_model.global_transformer.layers.7.mlp.fc2",
255
+ "language_model.lm_head",
256
  "multi_modal_projector"
257
  ],
258
  "kv_cache_scheme": "static",
259
  "quant_method": "fp8"
260
  },
261
  "text_config": {
262
+ "_attn_implementation_autoset": false,
263
  "_name_or_path": "",
264
  "add_cross_attention": false,
265
  "architectures": null,
 
357
  "vocab_size": 128256
358
  },
359
  "torch_dtype": "bfloat16",
360
+ "transformers_version": "4.46.0",
361
  "vision_config": {
362
+ "_attn_implementation_autoset": false,
363
  "_name_or_path": "",
364
  "add_cross_attention": false,
365
  "architectures": null,
generation_config.json CHANGED
@@ -10,5 +10,5 @@
10
  "pad_token_id": 128004,
11
  "temperature": 0.6,
12
  "top_p": 0.9,
13
- "transformers_version": "4.45.2"
14
  }
 
10
  "pad_token_id": 128004,
11
  "temperature": 0.6,
12
  "top_p": 0.9,
13
+ "transformers_version": "4.46.0"
14
  }