mlboydaisuke commited on
Commit
d445d15
·
verified ·
1 Parent(s): b13e3df

Multifunction chunks: SDPA decode + N=512 prefill, 50% weight dedup

Browse files
mf/chunk1.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:86b5fd7f5deb4db134d34e36554828f8a41fb9d5d8a03d2e5998e279f897f77f
3
+ size 243
mf/chunk1.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b145aa3b71ec1af8e83efd69905de1cb606e9d75a51cf0e6ae5481bb0e516bf
3
+ size 1360
mf/chunk1.mlmodelc/metadata.json ADDED
@@ -0,0 +1,760 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "metadataOutputVersion" : "3.0",
4
+ "storagePrecision" : "Mixed (Float16, Palettized (10 bits), Palettized (11 bits), Palettized (12 bits), Palettized (13 bits), Palettized (7 bits), Palettized (8 bits), UInt4)",
5
+ "outputSchema" : [
6
+ {
7
+ "hasShapeFlexibility" : "0",
8
+ "isOptional" : "0",
9
+ "dataType" : "Float16",
10
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1536)",
11
+ "shortDescription" : "",
12
+ "shape" : "[1, 1, 1536]",
13
+ "name" : "hidden_states_out",
14
+ "type" : "MultiArray"
15
+ },
16
+ {
17
+ "hasShapeFlexibility" : "0",
18
+ "isOptional" : "0",
19
+ "dataType" : "Float16",
20
+ "formattedType" : "MultiArray (Float16 7 × 1 × 512 × 512)",
21
+ "shortDescription" : "",
22
+ "shape" : "[7, 1, 512, 512]",
23
+ "name" : "K_sliding_out",
24
+ "type" : "MultiArray"
25
+ },
26
+ {
27
+ "hasShapeFlexibility" : "0",
28
+ "isOptional" : "0",
29
+ "dataType" : "Float16",
30
+ "formattedType" : "MultiArray (Float16 7 × 1 × 512 × 512)",
31
+ "shortDescription" : "",
32
+ "shape" : "[7, 1, 512, 512]",
33
+ "name" : "V_sliding_out",
34
+ "type" : "MultiArray"
35
+ },
36
+ {
37
+ "hasShapeFlexibility" : "0",
38
+ "isOptional" : "0",
39
+ "dataType" : "Float16",
40
+ "formattedType" : "MultiArray (Float16 1 × 1 × 2048 × 512)",
41
+ "shortDescription" : "",
42
+ "shape" : "[1, 1, 2048, 512]",
43
+ "name" : "K_full_out",
44
+ "type" : "MultiArray"
45
+ },
46
+ {
47
+ "hasShapeFlexibility" : "0",
48
+ "isOptional" : "0",
49
+ "dataType" : "Float16",
50
+ "formattedType" : "MultiArray (Float16 1 × 1 × 2048 × 512)",
51
+ "shortDescription" : "",
52
+ "shape" : "[1, 1, 2048, 512]",
53
+ "name" : "V_full_out",
54
+ "type" : "MultiArray"
55
+ },
56
+ {
57
+ "hasShapeFlexibility" : "0",
58
+ "isOptional" : "0",
59
+ "dataType" : "Float16",
60
+ "formattedType" : "MultiArray (Float16 1 × 1 × 8960)",
61
+ "shortDescription" : "",
62
+ "shape" : "[1, 1, 8960]",
63
+ "name" : "per_layer_combined_out",
64
+ "type" : "MultiArray"
65
+ }
66
+ ],
67
+ "modelParameters" : [
68
+
69
+ ],
70
+ "specificationVersion" : 9,
71
+ "functions" : [
72
+ {
73
+ "inputSchema" : [
74
+ {
75
+ "hasShapeFlexibility" : "0",
76
+ "isOptional" : "0",
77
+ "dataType" : "Float16",
78
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1536)",
79
+ "shortDescription" : "",
80
+ "shape" : "[1, 1, 1536]",
81
+ "name" : "hidden_states",
82
+ "type" : "MultiArray"
83
+ },
84
+ {
85
+ "hasShapeFlexibility" : "0",
86
+ "isOptional" : "0",
87
+ "dataType" : "Float16",
88
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 2048)",
89
+ "shortDescription" : "",
90
+ "shape" : "[1, 1, 1, 2048]",
91
+ "name" : "causal_mask_full",
92
+ "type" : "MultiArray"
93
+ },
94
+ {
95
+ "hasShapeFlexibility" : "0",
96
+ "isOptional" : "0",
97
+ "dataType" : "Float16",
98
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 512)",
99
+ "shortDescription" : "",
100
+ "shape" : "[1, 1, 1, 512]",
101
+ "name" : "causal_mask_sliding",
102
+ "type" : "MultiArray"
103
+ },
104
+ {
105
+ "hasShapeFlexibility" : "0",
106
+ "isOptional" : "0",
107
+ "dataType" : "Float16",
108
+ "formattedType" : "MultiArray (Float16 1 × 1 × 2048 × 1)",
109
+ "shortDescription" : "",
110
+ "shape" : "[1, 1, 2048, 1]",
111
+ "name" : "update_mask",
112
+ "type" : "MultiArray"
113
+ },
114
+ {
115
+ "hasShapeFlexibility" : "0",
116
+ "isOptional" : "0",
117
+ "dataType" : "Float16",
118
+ "formattedType" : "MultiArray (Float16 1 × 1 × 8960)",
119
+ "shortDescription" : "",
120
+ "shape" : "[1, 1, 8960]",
121
+ "name" : "per_layer_raw",
122
+ "type" : "MultiArray"
123
+ },
124
+ {
125
+ "hasShapeFlexibility" : "0",
126
+ "isOptional" : "0",
127
+ "dataType" : "Float16",
128
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 256)",
129
+ "shortDescription" : "",
130
+ "shape" : "[1, 1, 1, 256]",
131
+ "name" : "cos_s",
132
+ "type" : "MultiArray"
133
+ },
134
+ {
135
+ "hasShapeFlexibility" : "0",
136
+ "isOptional" : "0",
137
+ "dataType" : "Float16",
138
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 256)",
139
+ "shortDescription" : "",
140
+ "shape" : "[1, 1, 1, 256]",
141
+ "name" : "sin_s",
142
+ "type" : "MultiArray"
143
+ },
144
+ {
145
+ "hasShapeFlexibility" : "0",
146
+ "isOptional" : "0",
147
+ "dataType" : "Float16",
148
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 512)",
149
+ "shortDescription" : "",
150
+ "shape" : "[1, 1, 1, 512]",
151
+ "name" : "cos_f",
152
+ "type" : "MultiArray"
153
+ },
154
+ {
155
+ "hasShapeFlexibility" : "0",
156
+ "isOptional" : "0",
157
+ "dataType" : "Float16",
158
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 512)",
159
+ "shortDescription" : "",
160
+ "shape" : "[1, 1, 1, 512]",
161
+ "name" : "sin_f",
162
+ "type" : "MultiArray"
163
+ },
164
+ {
165
+ "hasShapeFlexibility" : "0",
166
+ "isOptional" : "0",
167
+ "dataType" : "Float16",
168
+ "formattedType" : "MultiArray (Float16 7 × 1 × 512 × 512)",
169
+ "shortDescription" : "",
170
+ "shape" : "[7, 1, 512, 512]",
171
+ "name" : "K_sliding_in",
172
+ "type" : "MultiArray"
173
+ },
174
+ {
175
+ "hasShapeFlexibility" : "0",
176
+ "isOptional" : "0",
177
+ "dataType" : "Float16",
178
+ "formattedType" : "MultiArray (Float16 7 × 1 × 512 × 512)",
179
+ "shortDescription" : "",
180
+ "shape" : "[7, 1, 512, 512]",
181
+ "name" : "V_sliding_in",
182
+ "type" : "MultiArray"
183
+ },
184
+ {
185
+ "hasShapeFlexibility" : "0",
186
+ "isOptional" : "0",
187
+ "dataType" : "Float16",
188
+ "formattedType" : "MultiArray (Float16 1 × 1 × 2048 × 512)",
189
+ "shortDescription" : "",
190
+ "shape" : "[1, 1, 2048, 512]",
191
+ "name" : "K_full_in",
192
+ "type" : "MultiArray"
193
+ },
194
+ {
195
+ "hasShapeFlexibility" : "0",
196
+ "isOptional" : "0",
197
+ "dataType" : "Float16",
198
+ "formattedType" : "MultiArray (Float16 1 × 1 × 2048 × 512)",
199
+ "shortDescription" : "",
200
+ "shape" : "[1, 1, 2048, 512]",
201
+ "name" : "V_full_in",
202
+ "type" : "MultiArray"
203
+ }
204
+ ],
205
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
206
+ "storagePrecision" : "Mixed (Float16, Palettized (10 bits), Palettized (11 bits), Palettized (12 bits), Palettized (13 bits), Palettized (7 bits), Palettized (8 bits), UInt4)",
207
+ "stateSchema" : [
208
+
209
+ ],
210
+ "outputSchema" : [
211
+ {
212
+ "hasShapeFlexibility" : "0",
213
+ "isOptional" : "0",
214
+ "dataType" : "Float16",
215
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1536)",
216
+ "shortDescription" : "",
217
+ "shape" : "[1, 1, 1536]",
218
+ "name" : "hidden_states_out",
219
+ "type" : "MultiArray"
220
+ },
221
+ {
222
+ "hasShapeFlexibility" : "0",
223
+ "isOptional" : "0",
224
+ "dataType" : "Float16",
225
+ "formattedType" : "MultiArray (Float16 7 × 1 × 512 × 512)",
226
+ "shortDescription" : "",
227
+ "shape" : "[7, 1, 512, 512]",
228
+ "name" : "K_sliding_out",
229
+ "type" : "MultiArray"
230
+ },
231
+ {
232
+ "hasShapeFlexibility" : "0",
233
+ "isOptional" : "0",
234
+ "dataType" : "Float16",
235
+ "formattedType" : "MultiArray (Float16 7 × 1 × 512 × 512)",
236
+ "shortDescription" : "",
237
+ "shape" : "[7, 1, 512, 512]",
238
+ "name" : "V_sliding_out",
239
+ "type" : "MultiArray"
240
+ },
241
+ {
242
+ "hasShapeFlexibility" : "0",
243
+ "isOptional" : "0",
244
+ "dataType" : "Float16",
245
+ "formattedType" : "MultiArray (Float16 1 × 1 × 2048 × 512)",
246
+ "shortDescription" : "",
247
+ "shape" : "[1, 1, 2048, 512]",
248
+ "name" : "K_full_out",
249
+ "type" : "MultiArray"
250
+ },
251
+ {
252
+ "hasShapeFlexibility" : "0",
253
+ "isOptional" : "0",
254
+ "dataType" : "Float16",
255
+ "formattedType" : "MultiArray (Float16 1 × 1 × 2048 × 512)",
256
+ "shortDescription" : "",
257
+ "shape" : "[1, 1, 2048, 512]",
258
+ "name" : "V_full_out",
259
+ "type" : "MultiArray"
260
+ },
261
+ {
262
+ "hasShapeFlexibility" : "0",
263
+ "isOptional" : "0",
264
+ "dataType" : "Float16",
265
+ "formattedType" : "MultiArray (Float16 1 × 1 × 8960)",
266
+ "shortDescription" : "",
267
+ "shape" : "[1, 1, 8960]",
268
+ "name" : "per_layer_combined_out",
269
+ "type" : "MultiArray"
270
+ }
271
+ ],
272
+ "name" : "decode",
273
+ "mlProgramOperationTypeHistogram" : {
274
+ "Ios18.expandDims" : 49,
275
+ "Ios18.mul" : 268,
276
+ "Ios18.rsqrt" : 8,
277
+ "Identity" : 2,
278
+ "Ios16.reduceMean" : 8,
279
+ "Ios18.scaledDotProductAttention" : 8,
280
+ "Split" : 107,
281
+ "Tile" : 18,
282
+ "Ios18.add" : 51,
283
+ "Ios18.layerNorm" : 91,
284
+ "Ios18.reshape" : 96,
285
+ "Pad" : 14,
286
+ "Ios18.constexprLutToDense" : 73,
287
+ "Ios18.conv" : 73,
288
+ "Ios18.gelu" : 16,
289
+ "Ios18.concat" : 122,
290
+ "Ios18.sub" : 1,
291
+ "Ios18.transpose" : 146,
292
+ "Ios18.pow" : 8,
293
+ "Stack" : 2,
294
+ "Ios18.sliceByIndex" : 87,
295
+ "Ios18.squeeze" : 31
296
+ }
297
+ },
298
+ {
299
+ "inputSchema" : [
300
+ {
301
+ "hasShapeFlexibility" : "0",
302
+ "isOptional" : "0",
303
+ "dataType" : "Float16",
304
+ "formattedType" : "MultiArray (Float16 1 × 512 × 1536)",
305
+ "shortDescription" : "",
306
+ "shape" : "[1, 512, 1536]",
307
+ "name" : "hidden_states",
308
+ "type" : "MultiArray"
309
+ },
310
+ {
311
+ "hasShapeFlexibility" : "0",
312
+ "isOptional" : "0",
313
+ "dataType" : "Float16",
314
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 512)",
315
+ "shortDescription" : "",
316
+ "shape" : "[1, 1, 512, 512]",
317
+ "name" : "causal_mask",
318
+ "type" : "MultiArray"
319
+ },
320
+ {
321
+ "hasShapeFlexibility" : "0",
322
+ "isOptional" : "0",
323
+ "dataType" : "Float16",
324
+ "formattedType" : "MultiArray (Float16 1 × 512 × 8960)",
325
+ "shortDescription" : "",
326
+ "shape" : "[1, 512, 8960]",
327
+ "name" : "per_layer_raw",
328
+ "type" : "MultiArray"
329
+ },
330
+ {
331
+ "hasShapeFlexibility" : "0",
332
+ "isOptional" : "0",
333
+ "dataType" : "Float16",
334
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
335
+ "shortDescription" : "",
336
+ "shape" : "[1, 1, 512, 256]",
337
+ "name" : "cos_s",
338
+ "type" : "MultiArray"
339
+ },
340
+ {
341
+ "hasShapeFlexibility" : "0",
342
+ "isOptional" : "0",
343
+ "dataType" : "Float16",
344
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
345
+ "shortDescription" : "",
346
+ "shape" : "[1, 1, 512, 256]",
347
+ "name" : "sin_s",
348
+ "type" : "MultiArray"
349
+ },
350
+ {
351
+ "hasShapeFlexibility" : "0",
352
+ "isOptional" : "0",
353
+ "dataType" : "Float16",
354
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 512)",
355
+ "shortDescription" : "",
356
+ "shape" : "[1, 1, 512, 512]",
357
+ "name" : "cos_f",
358
+ "type" : "MultiArray"
359
+ },
360
+ {
361
+ "hasShapeFlexibility" : "0",
362
+ "isOptional" : "0",
363
+ "dataType" : "Float16",
364
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 512)",
365
+ "shortDescription" : "",
366
+ "shape" : "[1, 1, 512, 512]",
367
+ "name" : "sin_f",
368
+ "type" : "MultiArray"
369
+ }
370
+ ],
371
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
372
+ "storagePrecision" : "Mixed (Float16, Palettized (10 bits), Palettized (11 bits), Palettized (12 bits), Palettized (13 bits), Palettized (7 bits), Palettized (8 bits), UInt4)",
373
+ "stateSchema" : [
374
+
375
+ ],
376
+ "outputSchema" : [
377
+ {
378
+ "hasShapeFlexibility" : "0",
379
+ "isOptional" : "0",
380
+ "dataType" : "Float16",
381
+ "formattedType" : "MultiArray (Float16 1 × 512 × 1536)",
382
+ "shortDescription" : "",
383
+ "shape" : "[1, 512, 1536]",
384
+ "name" : "hidden_states_out",
385
+ "type" : "MultiArray"
386
+ },
387
+ {
388
+ "hasShapeFlexibility" : "0",
389
+ "isOptional" : "0",
390
+ "dataType" : "Float16",
391
+ "formattedType" : "MultiArray (Float16 1 × 512 × 8960)",
392
+ "shortDescription" : "",
393
+ "shape" : "[1, 512, 8960]",
394
+ "name" : "per_layer_combined_out",
395
+ "type" : "MultiArray"
396
+ },
397
+ {
398
+ "hasShapeFlexibility" : "0",
399
+ "isOptional" : "0",
400
+ "dataType" : "Float16",
401
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
402
+ "shortDescription" : "",
403
+ "shape" : "[1, 1, 512, 256]",
404
+ "name" : "K0",
405
+ "type" : "MultiArray"
406
+ },
407
+ {
408
+ "hasShapeFlexibility" : "0",
409
+ "isOptional" : "0",
410
+ "dataType" : "Float16",
411
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
412
+ "shortDescription" : "",
413
+ "shape" : "[1, 1, 512, 256]",
414
+ "name" : "V0",
415
+ "type" : "MultiArray"
416
+ },
417
+ {
418
+ "hasShapeFlexibility" : "0",
419
+ "isOptional" : "0",
420
+ "dataType" : "Float16",
421
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
422
+ "shortDescription" : "",
423
+ "shape" : "[1, 1, 512, 256]",
424
+ "name" : "K1",
425
+ "type" : "MultiArray"
426
+ },
427
+ {
428
+ "hasShapeFlexibility" : "0",
429
+ "isOptional" : "0",
430
+ "dataType" : "Float16",
431
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
432
+ "shortDescription" : "",
433
+ "shape" : "[1, 1, 512, 256]",
434
+ "name" : "V1",
435
+ "type" : "MultiArray"
436
+ },
437
+ {
438
+ "hasShapeFlexibility" : "0",
439
+ "isOptional" : "0",
440
+ "dataType" : "Float16",
441
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
442
+ "shortDescription" : "",
443
+ "shape" : "[1, 1, 512, 256]",
444
+ "name" : "K2",
445
+ "type" : "MultiArray"
446
+ },
447
+ {
448
+ "hasShapeFlexibility" : "0",
449
+ "isOptional" : "0",
450
+ "dataType" : "Float16",
451
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
452
+ "shortDescription" : "",
453
+ "shape" : "[1, 1, 512, 256]",
454
+ "name" : "V2",
455
+ "type" : "MultiArray"
456
+ },
457
+ {
458
+ "hasShapeFlexibility" : "0",
459
+ "isOptional" : "0",
460
+ "dataType" : "Float16",
461
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
462
+ "shortDescription" : "",
463
+ "shape" : "[1, 1, 512, 256]",
464
+ "name" : "K3",
465
+ "type" : "MultiArray"
466
+ },
467
+ {
468
+ "hasShapeFlexibility" : "0",
469
+ "isOptional" : "0",
470
+ "dataType" : "Float16",
471
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
472
+ "shortDescription" : "",
473
+ "shape" : "[1, 1, 512, 256]",
474
+ "name" : "V3",
475
+ "type" : "MultiArray"
476
+ },
477
+ {
478
+ "hasShapeFlexibility" : "0",
479
+ "isOptional" : "0",
480
+ "dataType" : "Float16",
481
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 512)",
482
+ "shortDescription" : "",
483
+ "shape" : "[1, 1, 512, 512]",
484
+ "name" : "K4",
485
+ "type" : "MultiArray"
486
+ },
487
+ {
488
+ "hasShapeFlexibility" : "0",
489
+ "isOptional" : "0",
490
+ "dataType" : "Float16",
491
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 512)",
492
+ "shortDescription" : "",
493
+ "shape" : "[1, 1, 512, 512]",
494
+ "name" : "V4",
495
+ "type" : "MultiArray"
496
+ },
497
+ {
498
+ "hasShapeFlexibility" : "0",
499
+ "isOptional" : "0",
500
+ "dataType" : "Float16",
501
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
502
+ "shortDescription" : "",
503
+ "shape" : "[1, 1, 512, 256]",
504
+ "name" : "K5",
505
+ "type" : "MultiArray"
506
+ },
507
+ {
508
+ "hasShapeFlexibility" : "0",
509
+ "isOptional" : "0",
510
+ "dataType" : "Float16",
511
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
512
+ "shortDescription" : "",
513
+ "shape" : "[1, 1, 512, 256]",
514
+ "name" : "V5",
515
+ "type" : "MultiArray"
516
+ },
517
+ {
518
+ "hasShapeFlexibility" : "0",
519
+ "isOptional" : "0",
520
+ "dataType" : "Float16",
521
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
522
+ "shortDescription" : "",
523
+ "shape" : "[1, 1, 512, 256]",
524
+ "name" : "K6",
525
+ "type" : "MultiArray"
526
+ },
527
+ {
528
+ "hasShapeFlexibility" : "0",
529
+ "isOptional" : "0",
530
+ "dataType" : "Float16",
531
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
532
+ "shortDescription" : "",
533
+ "shape" : "[1, 1, 512, 256]",
534
+ "name" : "V6",
535
+ "type" : "MultiArray"
536
+ },
537
+ {
538
+ "hasShapeFlexibility" : "0",
539
+ "isOptional" : "0",
540
+ "dataType" : "Float16",
541
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
542
+ "shortDescription" : "",
543
+ "shape" : "[1, 1, 512, 256]",
544
+ "name" : "K7",
545
+ "type" : "MultiArray"
546
+ },
547
+ {
548
+ "hasShapeFlexibility" : "0",
549
+ "isOptional" : "0",
550
+ "dataType" : "Float16",
551
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
552
+ "shortDescription" : "",
553
+ "shape" : "[1, 1, 512, 256]",
554
+ "name" : "V7",
555
+ "type" : "MultiArray"
556
+ }
557
+ ],
558
+ "name" : "prefill",
559
+ "mlProgramOperationTypeHistogram" : {
560
+ "Ios18.constexprLutToDense" : 73,
561
+ "Ios18.conv" : 73,
562
+ "Ios18.expandDims" : 33,
563
+ "Ios18.scaledDotProductAttention" : 8,
564
+ "Ios18.gelu" : 16,
565
+ "Ios18.concat" : 108,
566
+ "Ios18.add" : 49,
567
+ "Ios18.rsqrt" : 8,
568
+ "Ios16.reduceMean" : 8,
569
+ "Ios18.sliceByIndex" : 43,
570
+ "Ios18.layerNorm" : 91,
571
+ "Ios18.transpose" : 162,
572
+ "Ios18.pow" : 8,
573
+ "Ios18.squeeze" : 17,
574
+ "Ios18.reshape" : 96,
575
+ "Split" : 107,
576
+ "Tile" : 16,
577
+ "Ios18.mul" : 264
578
+ }
579
+ }
580
+ ],
581
+ "mlProgramOperationTypeHistogram" : {
582
+ "Ios18.expandDims" : 49,
583
+ "Ios18.mul" : 268,
584
+ "Ios18.rsqrt" : 8,
585
+ "Identity" : 2,
586
+ "Ios16.reduceMean" : 8,
587
+ "Ios18.scaledDotProductAttention" : 8,
588
+ "Split" : 107,
589
+ "Tile" : 18,
590
+ "Ios18.add" : 51,
591
+ "Ios18.layerNorm" : 91,
592
+ "Ios18.reshape" : 96,
593
+ "Pad" : 14,
594
+ "Ios18.constexprLutToDense" : 73,
595
+ "Ios18.conv" : 73,
596
+ "Ios18.gelu" : 16,
597
+ "Ios18.concat" : 122,
598
+ "Ios18.sub" : 1,
599
+ "Ios18.transpose" : 146,
600
+ "Ios18.pow" : 8,
601
+ "Stack" : 2,
602
+ "Ios18.sliceByIndex" : 87,
603
+ "Ios18.squeeze" : 31
604
+ },
605
+ "isUpdatable" : "0",
606
+ "stateSchema" : [
607
+
608
+ ],
609
+ "availability" : {
610
+ "macOS" : "15.0",
611
+ "tvOS" : "18.0",
612
+ "visionOS" : "2.0",
613
+ "watchOS" : "11.0",
614
+ "iOS" : "18.0",
615
+ "macCatalyst" : "18.0"
616
+ },
617
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
618
+ "modelType" : {
619
+ "name" : "MLModelType_mlProgram"
620
+ },
621
+ "inputSchema" : [
622
+ {
623
+ "hasShapeFlexibility" : "0",
624
+ "isOptional" : "0",
625
+ "dataType" : "Float16",
626
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1536)",
627
+ "shortDescription" : "",
628
+ "shape" : "[1, 1, 1536]",
629
+ "name" : "hidden_states",
630
+ "type" : "MultiArray"
631
+ },
632
+ {
633
+ "hasShapeFlexibility" : "0",
634
+ "isOptional" : "0",
635
+ "dataType" : "Float16",
636
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 2048)",
637
+ "shortDescription" : "",
638
+ "shape" : "[1, 1, 1, 2048]",
639
+ "name" : "causal_mask_full",
640
+ "type" : "MultiArray"
641
+ },
642
+ {
643
+ "hasShapeFlexibility" : "0",
644
+ "isOptional" : "0",
645
+ "dataType" : "Float16",
646
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 512)",
647
+ "shortDescription" : "",
648
+ "shape" : "[1, 1, 1, 512]",
649
+ "name" : "causal_mask_sliding",
650
+ "type" : "MultiArray"
651
+ },
652
+ {
653
+ "hasShapeFlexibility" : "0",
654
+ "isOptional" : "0",
655
+ "dataType" : "Float16",
656
+ "formattedType" : "MultiArray (Float16 1 × 1 × 2048 × 1)",
657
+ "shortDescription" : "",
658
+ "shape" : "[1, 1, 2048, 1]",
659
+ "name" : "update_mask",
660
+ "type" : "MultiArray"
661
+ },
662
+ {
663
+ "hasShapeFlexibility" : "0",
664
+ "isOptional" : "0",
665
+ "dataType" : "Float16",
666
+ "formattedType" : "MultiArray (Float16 1 × 1 × 8960)",
667
+ "shortDescription" : "",
668
+ "shape" : "[1, 1, 8960]",
669
+ "name" : "per_layer_raw",
670
+ "type" : "MultiArray"
671
+ },
672
+ {
673
+ "hasShapeFlexibility" : "0",
674
+ "isOptional" : "0",
675
+ "dataType" : "Float16",
676
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 256)",
677
+ "shortDescription" : "",
678
+ "shape" : "[1, 1, 1, 256]",
679
+ "name" : "cos_s",
680
+ "type" : "MultiArray"
681
+ },
682
+ {
683
+ "hasShapeFlexibility" : "0",
684
+ "isOptional" : "0",
685
+ "dataType" : "Float16",
686
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 256)",
687
+ "shortDescription" : "",
688
+ "shape" : "[1, 1, 1, 256]",
689
+ "name" : "sin_s",
690
+ "type" : "MultiArray"
691
+ },
692
+ {
693
+ "hasShapeFlexibility" : "0",
694
+ "isOptional" : "0",
695
+ "dataType" : "Float16",
696
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 512)",
697
+ "shortDescription" : "",
698
+ "shape" : "[1, 1, 1, 512]",
699
+ "name" : "cos_f",
700
+ "type" : "MultiArray"
701
+ },
702
+ {
703
+ "hasShapeFlexibility" : "0",
704
+ "isOptional" : "0",
705
+ "dataType" : "Float16",
706
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 512)",
707
+ "shortDescription" : "",
708
+ "shape" : "[1, 1, 1, 512]",
709
+ "name" : "sin_f",
710
+ "type" : "MultiArray"
711
+ },
712
+ {
713
+ "hasShapeFlexibility" : "0",
714
+ "isOptional" : "0",
715
+ "dataType" : "Float16",
716
+ "formattedType" : "MultiArray (Float16 7 × 1 × 512 × 512)",
717
+ "shortDescription" : "",
718
+ "shape" : "[7, 1, 512, 512]",
719
+ "name" : "K_sliding_in",
720
+ "type" : "MultiArray"
721
+ },
722
+ {
723
+ "hasShapeFlexibility" : "0",
724
+ "isOptional" : "0",
725
+ "dataType" : "Float16",
726
+ "formattedType" : "MultiArray (Float16 7 × 1 × 512 × 512)",
727
+ "shortDescription" : "",
728
+ "shape" : "[7, 1, 512, 512]",
729
+ "name" : "V_sliding_in",
730
+ "type" : "MultiArray"
731
+ },
732
+ {
733
+ "hasShapeFlexibility" : "0",
734
+ "isOptional" : "0",
735
+ "dataType" : "Float16",
736
+ "formattedType" : "MultiArray (Float16 1 × 1 × 2048 × 512)",
737
+ "shortDescription" : "",
738
+ "shape" : "[1, 1, 2048, 512]",
739
+ "name" : "K_full_in",
740
+ "type" : "MultiArray"
741
+ },
742
+ {
743
+ "hasShapeFlexibility" : "0",
744
+ "isOptional" : "0",
745
+ "dataType" : "Float16",
746
+ "formattedType" : "MultiArray (Float16 1 × 1 × 2048 × 512)",
747
+ "shortDescription" : "",
748
+ "shape" : "[1, 1, 2048, 512]",
749
+ "name" : "V_full_in",
750
+ "type" : "MultiArray"
751
+ }
752
+ ],
753
+ "defaultFunctionName" : "decode",
754
+ "generatedClassName" : "chunk1",
755
+ "userDefinedMetadata" : {
756
+
757
+ },
758
+ "method" : "predict"
759
+ }
760
+ ]
mf/chunk1.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
mf/chunk1.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9eaf1dccf8c3455368e013fc13807ff69c87f68272de66d7fef4b18970419e9
3
+ size 155436864
mf/chunk2.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9fc331984cad6567889cc1fe875468eea83c07ef2f60884c6b0580618a13f0c6
3
+ size 243
mf/chunk2.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eefa5ca2620252fbf47f18a2444f4b5ab57dbb7ef2515d3264f0b200c63cf8ea
3
+ size 1365
mf/chunk2.mlmodelc/metadata.json ADDED
@@ -0,0 +1,788 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "metadataOutputVersion" : "3.0",
4
+ "storagePrecision" : "Mixed (Float16, Palettized (10 bits), Palettized (11 bits), Palettized (12 bits), Palettized (7 bits), Palettized (8 bits), UInt4)",
5
+ "outputSchema" : [
6
+ {
7
+ "hasShapeFlexibility" : "0",
8
+ "isOptional" : "0",
9
+ "dataType" : "Float16",
10
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1536)",
11
+ "shortDescription" : "",
12
+ "shape" : "[1, 1, 1536]",
13
+ "name" : "hidden_states_out",
14
+ "type" : "MultiArray"
15
+ },
16
+ {
17
+ "hasShapeFlexibility" : "0",
18
+ "isOptional" : "0",
19
+ "dataType" : "Float16",
20
+ "formattedType" : "MultiArray (Float16 5 × 1 × 512 × 512)",
21
+ "shortDescription" : "",
22
+ "shape" : "[5, 1, 512, 512]",
23
+ "name" : "K_sliding_out",
24
+ "type" : "MultiArray"
25
+ },
26
+ {
27
+ "hasShapeFlexibility" : "0",
28
+ "isOptional" : "0",
29
+ "dataType" : "Float16",
30
+ "formattedType" : "MultiArray (Float16 5 × 1 × 512 × 512)",
31
+ "shortDescription" : "",
32
+ "shape" : "[5, 1, 512, 512]",
33
+ "name" : "V_sliding_out",
34
+ "type" : "MultiArray"
35
+ },
36
+ {
37
+ "hasShapeFlexibility" : "0",
38
+ "isOptional" : "0",
39
+ "dataType" : "Float16",
40
+ "formattedType" : "MultiArray (Float16 2 × 1 × 2048 × 512)",
41
+ "shortDescription" : "",
42
+ "shape" : "[2, 1, 2048, 512]",
43
+ "name" : "K_full_out",
44
+ "type" : "MultiArray"
45
+ },
46
+ {
47
+ "hasShapeFlexibility" : "0",
48
+ "isOptional" : "0",
49
+ "dataType" : "Float16",
50
+ "formattedType" : "MultiArray (Float16 2 × 1 × 2048 × 512)",
51
+ "shortDescription" : "",
52
+ "shape" : "[2, 1, 2048, 512]",
53
+ "name" : "V_full_out",
54
+ "type" : "MultiArray"
55
+ },
56
+ {
57
+ "hasShapeFlexibility" : "0",
58
+ "isOptional" : "0",
59
+ "dataType" : "Float16",
60
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
61
+ "shortDescription" : "",
62
+ "shape" : "[1, 1, 512, 256]",
63
+ "name" : "kv13_k",
64
+ "type" : "MultiArray"
65
+ },
66
+ {
67
+ "hasShapeFlexibility" : "0",
68
+ "isOptional" : "0",
69
+ "dataType" : "Float16",
70
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
71
+ "shortDescription" : "",
72
+ "shape" : "[1, 1, 512, 256]",
73
+ "name" : "kv13_v",
74
+ "type" : "MultiArray"
75
+ },
76
+ {
77
+ "hasShapeFlexibility" : "0",
78
+ "isOptional" : "0",
79
+ "dataType" : "Float16",
80
+ "formattedType" : "MultiArray (Float16 1 × 1 × 2048 × 512)",
81
+ "shortDescription" : "",
82
+ "shape" : "[1, 1, 2048, 512]",
83
+ "name" : "kv14_k",
84
+ "type" : "MultiArray"
85
+ },
86
+ {
87
+ "hasShapeFlexibility" : "0",
88
+ "isOptional" : "0",
89
+ "dataType" : "Float16",
90
+ "formattedType" : "MultiArray (Float16 1 × 1 × 2048 × 512)",
91
+ "shortDescription" : "",
92
+ "shape" : "[1, 1, 2048, 512]",
93
+ "name" : "kv14_v",
94
+ "type" : "MultiArray"
95
+ }
96
+ ],
97
+ "modelParameters" : [
98
+
99
+ ],
100
+ "specificationVersion" : 9,
101
+ "functions" : [
102
+ {
103
+ "inputSchema" : [
104
+ {
105
+ "hasShapeFlexibility" : "0",
106
+ "isOptional" : "0",
107
+ "dataType" : "Float16",
108
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1536)",
109
+ "shortDescription" : "",
110
+ "shape" : "[1, 1, 1536]",
111
+ "name" : "hidden_states",
112
+ "type" : "MultiArray"
113
+ },
114
+ {
115
+ "hasShapeFlexibility" : "0",
116
+ "isOptional" : "0",
117
+ "dataType" : "Float16",
118
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 2048)",
119
+ "shortDescription" : "",
120
+ "shape" : "[1, 1, 1, 2048]",
121
+ "name" : "causal_mask_full",
122
+ "type" : "MultiArray"
123
+ },
124
+ {
125
+ "hasShapeFlexibility" : "0",
126
+ "isOptional" : "0",
127
+ "dataType" : "Float16",
128
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 512)",
129
+ "shortDescription" : "",
130
+ "shape" : "[1, 1, 1, 512]",
131
+ "name" : "causal_mask_sliding",
132
+ "type" : "MultiArray"
133
+ },
134
+ {
135
+ "hasShapeFlexibility" : "0",
136
+ "isOptional" : "0",
137
+ "dataType" : "Float16",
138
+ "formattedType" : "MultiArray (Float16 1 × 1 × 2048 × 1)",
139
+ "shortDescription" : "",
140
+ "shape" : "[1, 1, 2048, 1]",
141
+ "name" : "update_mask",
142
+ "type" : "MultiArray"
143
+ },
144
+ {
145
+ "hasShapeFlexibility" : "0",
146
+ "isOptional" : "0",
147
+ "dataType" : "Float16",
148
+ "formattedType" : "MultiArray (Float16 1 × 1 × 8960)",
149
+ "shortDescription" : "",
150
+ "shape" : "[1, 1, 8960]",
151
+ "name" : "per_layer_combined",
152
+ "type" : "MultiArray"
153
+ },
154
+ {
155
+ "hasShapeFlexibility" : "0",
156
+ "isOptional" : "0",
157
+ "dataType" : "Float16",
158
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 256)",
159
+ "shortDescription" : "",
160
+ "shape" : "[1, 1, 1, 256]",
161
+ "name" : "cos_s",
162
+ "type" : "MultiArray"
163
+ },
164
+ {
165
+ "hasShapeFlexibility" : "0",
166
+ "isOptional" : "0",
167
+ "dataType" : "Float16",
168
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 256)",
169
+ "shortDescription" : "",
170
+ "shape" : "[1, 1, 1, 256]",
171
+ "name" : "sin_s",
172
+ "type" : "MultiArray"
173
+ },
174
+ {
175
+ "hasShapeFlexibility" : "0",
176
+ "isOptional" : "0",
177
+ "dataType" : "Float16",
178
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 512)",
179
+ "shortDescription" : "",
180
+ "shape" : "[1, 1, 1, 512]",
181
+ "name" : "cos_f",
182
+ "type" : "MultiArray"
183
+ },
184
+ {
185
+ "hasShapeFlexibility" : "0",
186
+ "isOptional" : "0",
187
+ "dataType" : "Float16",
188
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 512)",
189
+ "shortDescription" : "",
190
+ "shape" : "[1, 1, 1, 512]",
191
+ "name" : "sin_f",
192
+ "type" : "MultiArray"
193
+ },
194
+ {
195
+ "hasShapeFlexibility" : "0",
196
+ "isOptional" : "0",
197
+ "dataType" : "Float16",
198
+ "formattedType" : "MultiArray (Float16 5 × 1 × 512 × 512)",
199
+ "shortDescription" : "",
200
+ "shape" : "[5, 1, 512, 512]",
201
+ "name" : "K_sliding_in",
202
+ "type" : "MultiArray"
203
+ },
204
+ {
205
+ "hasShapeFlexibility" : "0",
206
+ "isOptional" : "0",
207
+ "dataType" : "Float16",
208
+ "formattedType" : "MultiArray (Float16 5 × 1 × 512 × 512)",
209
+ "shortDescription" : "",
210
+ "shape" : "[5, 1, 512, 512]",
211
+ "name" : "V_sliding_in",
212
+ "type" : "MultiArray"
213
+ },
214
+ {
215
+ "hasShapeFlexibility" : "0",
216
+ "isOptional" : "0",
217
+ "dataType" : "Float16",
218
+ "formattedType" : "MultiArray (Float16 2 × 1 × 2048 × 512)",
219
+ "shortDescription" : "",
220
+ "shape" : "[2, 1, 2048, 512]",
221
+ "name" : "K_full_in",
222
+ "type" : "MultiArray"
223
+ },
224
+ {
225
+ "hasShapeFlexibility" : "0",
226
+ "isOptional" : "0",
227
+ "dataType" : "Float16",
228
+ "formattedType" : "MultiArray (Float16 2 × 1 × 2048 × 512)",
229
+ "shortDescription" : "",
230
+ "shape" : "[2, 1, 2048, 512]",
231
+ "name" : "V_full_in",
232
+ "type" : "MultiArray"
233
+ }
234
+ ],
235
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
236
+ "storagePrecision" : "Mixed (Float16, Palettized (10 bits), Palettized (11 bits), Palettized (12 bits), Palettized (7 bits), Palettized (8 bits), UInt4)",
237
+ "stateSchema" : [
238
+
239
+ ],
240
+ "outputSchema" : [
241
+ {
242
+ "hasShapeFlexibility" : "0",
243
+ "isOptional" : "0",
244
+ "dataType" : "Float16",
245
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1536)",
246
+ "shortDescription" : "",
247
+ "shape" : "[1, 1, 1536]",
248
+ "name" : "hidden_states_out",
249
+ "type" : "MultiArray"
250
+ },
251
+ {
252
+ "hasShapeFlexibility" : "0",
253
+ "isOptional" : "0",
254
+ "dataType" : "Float16",
255
+ "formattedType" : "MultiArray (Float16 5 × 1 × 512 × 512)",
256
+ "shortDescription" : "",
257
+ "shape" : "[5, 1, 512, 512]",
258
+ "name" : "K_sliding_out",
259
+ "type" : "MultiArray"
260
+ },
261
+ {
262
+ "hasShapeFlexibility" : "0",
263
+ "isOptional" : "0",
264
+ "dataType" : "Float16",
265
+ "formattedType" : "MultiArray (Float16 5 × 1 × 512 × 512)",
266
+ "shortDescription" : "",
267
+ "shape" : "[5, 1, 512, 512]",
268
+ "name" : "V_sliding_out",
269
+ "type" : "MultiArray"
270
+ },
271
+ {
272
+ "hasShapeFlexibility" : "0",
273
+ "isOptional" : "0",
274
+ "dataType" : "Float16",
275
+ "formattedType" : "MultiArray (Float16 2 × 1 × 2048 × 512)",
276
+ "shortDescription" : "",
277
+ "shape" : "[2, 1, 2048, 512]",
278
+ "name" : "K_full_out",
279
+ "type" : "MultiArray"
280
+ },
281
+ {
282
+ "hasShapeFlexibility" : "0",
283
+ "isOptional" : "0",
284
+ "dataType" : "Float16",
285
+ "formattedType" : "MultiArray (Float16 2 × 1 × 2048 × 512)",
286
+ "shortDescription" : "",
287
+ "shape" : "[2, 1, 2048, 512]",
288
+ "name" : "V_full_out",
289
+ "type" : "MultiArray"
290
+ },
291
+ {
292
+ "hasShapeFlexibility" : "0",
293
+ "isOptional" : "0",
294
+ "dataType" : "Float16",
295
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
296
+ "shortDescription" : "",
297
+ "shape" : "[1, 1, 512, 256]",
298
+ "name" : "kv13_k",
299
+ "type" : "MultiArray"
300
+ },
301
+ {
302
+ "hasShapeFlexibility" : "0",
303
+ "isOptional" : "0",
304
+ "dataType" : "Float16",
305
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
306
+ "shortDescription" : "",
307
+ "shape" : "[1, 1, 512, 256]",
308
+ "name" : "kv13_v",
309
+ "type" : "MultiArray"
310
+ },
311
+ {
312
+ "hasShapeFlexibility" : "0",
313
+ "isOptional" : "0",
314
+ "dataType" : "Float16",
315
+ "formattedType" : "MultiArray (Float16 1 × 1 × 2048 × 512)",
316
+ "shortDescription" : "",
317
+ "shape" : "[1, 1, 2048, 512]",
318
+ "name" : "kv14_k",
319
+ "type" : "MultiArray"
320
+ },
321
+ {
322
+ "hasShapeFlexibility" : "0",
323
+ "isOptional" : "0",
324
+ "dataType" : "Float16",
325
+ "formattedType" : "MultiArray (Float16 1 × 1 × 2048 × 512)",
326
+ "shortDescription" : "",
327
+ "shape" : "[1, 1, 2048, 512]",
328
+ "name" : "kv14_v",
329
+ "type" : "MultiArray"
330
+ }
331
+ ],
332
+ "name" : "decode",
333
+ "mlProgramOperationTypeHistogram" : {
334
+ "Ios18.expandDims" : 42,
335
+ "Ios18.mul" : 176,
336
+ "Ios18.rsqrt" : 7,
337
+ "Ios16.reduceMean" : 7,
338
+ "Ios18.scaledDotProductAttention" : 7,
339
+ "Split" : 63,
340
+ "Tile" : 18,
341
+ "Ios18.add" : 46,
342
+ "Ios18.layerNorm" : 49,
343
+ "Ios18.reshape" : 84,
344
+ "Pad" : 10,
345
+ "Ios18.constexprLutToDense" : 63,
346
+ "Ios18.conv" : 63,
347
+ "Ios18.gelu" : 14,
348
+ "Ios18.concat" : 73,
349
+ "Ios18.sub" : 1,
350
+ "Ios18.pow" : 7,
351
+ "Ios18.transpose" : 126,
352
+ "Stack" : 4,
353
+ "Ios18.sliceByIndex" : 41,
354
+ "Ios18.squeeze" : 28
355
+ }
356
+ },
357
+ {
358
+ "inputSchema" : [
359
+ {
360
+ "hasShapeFlexibility" : "0",
361
+ "isOptional" : "0",
362
+ "dataType" : "Float16",
363
+ "formattedType" : "MultiArray (Float16 1 × 512 × 1536)",
364
+ "shortDescription" : "",
365
+ "shape" : "[1, 512, 1536]",
366
+ "name" : "hidden_states",
367
+ "type" : "MultiArray"
368
+ },
369
+ {
370
+ "hasShapeFlexibility" : "0",
371
+ "isOptional" : "0",
372
+ "dataType" : "Float16",
373
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 512)",
374
+ "shortDescription" : "",
375
+ "shape" : "[1, 1, 512, 512]",
376
+ "name" : "causal_mask",
377
+ "type" : "MultiArray"
378
+ },
379
+ {
380
+ "hasShapeFlexibility" : "0",
381
+ "isOptional" : "0",
382
+ "dataType" : "Float16",
383
+ "formattedType" : "MultiArray (Float16 1 × 512 × 8960)",
384
+ "shortDescription" : "",
385
+ "shape" : "[1, 512, 8960]",
386
+ "name" : "per_layer_combined",
387
+ "type" : "MultiArray"
388
+ },
389
+ {
390
+ "hasShapeFlexibility" : "0",
391
+ "isOptional" : "0",
392
+ "dataType" : "Float16",
393
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
394
+ "shortDescription" : "",
395
+ "shape" : "[1, 1, 512, 256]",
396
+ "name" : "cos_s",
397
+ "type" : "MultiArray"
398
+ },
399
+ {
400
+ "hasShapeFlexibility" : "0",
401
+ "isOptional" : "0",
402
+ "dataType" : "Float16",
403
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
404
+ "shortDescription" : "",
405
+ "shape" : "[1, 1, 512, 256]",
406
+ "name" : "sin_s",
407
+ "type" : "MultiArray"
408
+ },
409
+ {
410
+ "hasShapeFlexibility" : "0",
411
+ "isOptional" : "0",
412
+ "dataType" : "Float16",
413
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 512)",
414
+ "shortDescription" : "",
415
+ "shape" : "[1, 1, 512, 512]",
416
+ "name" : "cos_f",
417
+ "type" : "MultiArray"
418
+ },
419
+ {
420
+ "hasShapeFlexibility" : "0",
421
+ "isOptional" : "0",
422
+ "dataType" : "Float16",
423
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 512)",
424
+ "shortDescription" : "",
425
+ "shape" : "[1, 1, 512, 512]",
426
+ "name" : "sin_f",
427
+ "type" : "MultiArray"
428
+ }
429
+ ],
430
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
431
+ "storagePrecision" : "Mixed (Float16, Palettized (10 bits), Palettized (11 bits), Palettized (12 bits), Palettized (7 bits), Palettized (8 bits), UInt4)",
432
+ "stateSchema" : [
433
+
434
+ ],
435
+ "outputSchema" : [
436
+ {
437
+ "hasShapeFlexibility" : "0",
438
+ "isOptional" : "0",
439
+ "dataType" : "Float16",
440
+ "formattedType" : "MultiArray (Float16 1 × 512 × 1536)",
441
+ "shortDescription" : "",
442
+ "shape" : "[1, 512, 1536]",
443
+ "name" : "hidden_states_out",
444
+ "type" : "MultiArray"
445
+ },
446
+ {
447
+ "hasShapeFlexibility" : "0",
448
+ "isOptional" : "0",
449
+ "dataType" : "Float16",
450
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
451
+ "shortDescription" : "",
452
+ "shape" : "[1, 1, 512, 256]",
453
+ "name" : "K0",
454
+ "type" : "MultiArray"
455
+ },
456
+ {
457
+ "hasShapeFlexibility" : "0",
458
+ "isOptional" : "0",
459
+ "dataType" : "Float16",
460
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
461
+ "shortDescription" : "",
462
+ "shape" : "[1, 1, 512, 256]",
463
+ "name" : "V0",
464
+ "type" : "MultiArray"
465
+ },
466
+ {
467
+ "hasShapeFlexibility" : "0",
468
+ "isOptional" : "0",
469
+ "dataType" : "Float16",
470
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 512)",
471
+ "shortDescription" : "",
472
+ "shape" : "[1, 1, 512, 512]",
473
+ "name" : "K1",
474
+ "type" : "MultiArray"
475
+ },
476
+ {
477
+ "hasShapeFlexibility" : "0",
478
+ "isOptional" : "0",
479
+ "dataType" : "Float16",
480
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 512)",
481
+ "shortDescription" : "",
482
+ "shape" : "[1, 1, 512, 512]",
483
+ "name" : "V1",
484
+ "type" : "MultiArray"
485
+ },
486
+ {
487
+ "hasShapeFlexibility" : "0",
488
+ "isOptional" : "0",
489
+ "dataType" : "Float16",
490
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
491
+ "shortDescription" : "",
492
+ "shape" : "[1, 1, 512, 256]",
493
+ "name" : "K2",
494
+ "type" : "MultiArray"
495
+ },
496
+ {
497
+ "hasShapeFlexibility" : "0",
498
+ "isOptional" : "0",
499
+ "dataType" : "Float16",
500
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
501
+ "shortDescription" : "",
502
+ "shape" : "[1, 1, 512, 256]",
503
+ "name" : "V2",
504
+ "type" : "MultiArray"
505
+ },
506
+ {
507
+ "hasShapeFlexibility" : "0",
508
+ "isOptional" : "0",
509
+ "dataType" : "Float16",
510
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
511
+ "shortDescription" : "",
512
+ "shape" : "[1, 1, 512, 256]",
513
+ "name" : "K3",
514
+ "type" : "MultiArray"
515
+ },
516
+ {
517
+ "hasShapeFlexibility" : "0",
518
+ "isOptional" : "0",
519
+ "dataType" : "Float16",
520
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
521
+ "shortDescription" : "",
522
+ "shape" : "[1, 1, 512, 256]",
523
+ "name" : "V3",
524
+ "type" : "MultiArray"
525
+ },
526
+ {
527
+ "hasShapeFlexibility" : "0",
528
+ "isOptional" : "0",
529
+ "dataType" : "Float16",
530
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
531
+ "shortDescription" : "",
532
+ "shape" : "[1, 1, 512, 256]",
533
+ "name" : "K4",
534
+ "type" : "MultiArray"
535
+ },
536
+ {
537
+ "hasShapeFlexibility" : "0",
538
+ "isOptional" : "0",
539
+ "dataType" : "Float16",
540
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
541
+ "shortDescription" : "",
542
+ "shape" : "[1, 1, 512, 256]",
543
+ "name" : "V4",
544
+ "type" : "MultiArray"
545
+ },
546
+ {
547
+ "hasShapeFlexibility" : "0",
548
+ "isOptional" : "0",
549
+ "dataType" : "Float16",
550
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
551
+ "shortDescription" : "",
552
+ "shape" : "[1, 1, 512, 256]",
553
+ "name" : "kv13_k",
554
+ "type" : "MultiArray"
555
+ },
556
+ {
557
+ "hasShapeFlexibility" : "0",
558
+ "isOptional" : "0",
559
+ "dataType" : "Float16",
560
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
561
+ "shortDescription" : "",
562
+ "shape" : "[1, 1, 512, 256]",
563
+ "name" : "kv13_v",
564
+ "type" : "MultiArray"
565
+ },
566
+ {
567
+ "hasShapeFlexibility" : "0",
568
+ "isOptional" : "0",
569
+ "dataType" : "Float16",
570
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 512)",
571
+ "shortDescription" : "",
572
+ "shape" : "[1, 1, 512, 512]",
573
+ "name" : "kv14_k",
574
+ "type" : "MultiArray"
575
+ },
576
+ {
577
+ "hasShapeFlexibility" : "0",
578
+ "isOptional" : "0",
579
+ "dataType" : "Float16",
580
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 512)",
581
+ "shortDescription" : "",
582
+ "shape" : "[1, 1, 512, 512]",
583
+ "name" : "kv14_v",
584
+ "type" : "MultiArray"
585
+ }
586
+ ],
587
+ "name" : "prefill",
588
+ "mlProgramOperationTypeHistogram" : {
589
+ "Ios18.constexprLutToDense" : 63,
590
+ "Ios18.conv" : 63,
591
+ "Ios18.expandDims" : 28,
592
+ "Ios18.scaledDotProductAttention" : 7,
593
+ "Ios18.gelu" : 14,
594
+ "Ios18.concat" : 63,
595
+ "Ios18.add" : 42,
596
+ "Ios18.rsqrt" : 7,
597
+ "Ios16.reduceMean" : 7,
598
+ "Ios18.pow" : 7,
599
+ "Ios18.transpose" : 140,
600
+ "Ios18.layerNorm" : 49,
601
+ "Tile" : 14,
602
+ "Ios18.squeeze" : 14,
603
+ "Ios18.reshape" : 84,
604
+ "Split" : 63,
605
+ "Ios18.sliceByIndex" : 7,
606
+ "Ios18.mul" : 168
607
+ }
608
+ }
609
+ ],
610
+ "mlProgramOperationTypeHistogram" : {
611
+ "Ios18.expandDims" : 42,
612
+ "Ios18.mul" : 176,
613
+ "Ios18.rsqrt" : 7,
614
+ "Ios16.reduceMean" : 7,
615
+ "Ios18.scaledDotProductAttention" : 7,
616
+ "Split" : 63,
617
+ "Tile" : 18,
618
+ "Ios18.add" : 46,
619
+ "Ios18.layerNorm" : 49,
620
+ "Ios18.reshape" : 84,
621
+ "Pad" : 10,
622
+ "Ios18.constexprLutToDense" : 63,
623
+ "Ios18.conv" : 63,
624
+ "Ios18.gelu" : 14,
625
+ "Ios18.concat" : 73,
626
+ "Ios18.sub" : 1,
627
+ "Ios18.pow" : 7,
628
+ "Ios18.transpose" : 126,
629
+ "Stack" : 4,
630
+ "Ios18.sliceByIndex" : 41,
631
+ "Ios18.squeeze" : 28
632
+ },
633
+ "isUpdatable" : "0",
634
+ "stateSchema" : [
635
+
636
+ ],
637
+ "availability" : {
638
+ "macOS" : "15.0",
639
+ "tvOS" : "18.0",
640
+ "visionOS" : "2.0",
641
+ "watchOS" : "11.0",
642
+ "iOS" : "18.0",
643
+ "macCatalyst" : "18.0"
644
+ },
645
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
646
+ "modelType" : {
647
+ "name" : "MLModelType_mlProgram"
648
+ },
649
+ "inputSchema" : [
650
+ {
651
+ "hasShapeFlexibility" : "0",
652
+ "isOptional" : "0",
653
+ "dataType" : "Float16",
654
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1536)",
655
+ "shortDescription" : "",
656
+ "shape" : "[1, 1, 1536]",
657
+ "name" : "hidden_states",
658
+ "type" : "MultiArray"
659
+ },
660
+ {
661
+ "hasShapeFlexibility" : "0",
662
+ "isOptional" : "0",
663
+ "dataType" : "Float16",
664
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 2048)",
665
+ "shortDescription" : "",
666
+ "shape" : "[1, 1, 1, 2048]",
667
+ "name" : "causal_mask_full",
668
+ "type" : "MultiArray"
669
+ },
670
+ {
671
+ "hasShapeFlexibility" : "0",
672
+ "isOptional" : "0",
673
+ "dataType" : "Float16",
674
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 512)",
675
+ "shortDescription" : "",
676
+ "shape" : "[1, 1, 1, 512]",
677
+ "name" : "causal_mask_sliding",
678
+ "type" : "MultiArray"
679
+ },
680
+ {
681
+ "hasShapeFlexibility" : "0",
682
+ "isOptional" : "0",
683
+ "dataType" : "Float16",
684
+ "formattedType" : "MultiArray (Float16 1 × 1 × 2048 × 1)",
685
+ "shortDescription" : "",
686
+ "shape" : "[1, 1, 2048, 1]",
687
+ "name" : "update_mask",
688
+ "type" : "MultiArray"
689
+ },
690
+ {
691
+ "hasShapeFlexibility" : "0",
692
+ "isOptional" : "0",
693
+ "dataType" : "Float16",
694
+ "formattedType" : "MultiArray (Float16 1 × 1 × 8960)",
695
+ "shortDescription" : "",
696
+ "shape" : "[1, 1, 8960]",
697
+ "name" : "per_layer_combined",
698
+ "type" : "MultiArray"
699
+ },
700
+ {
701
+ "hasShapeFlexibility" : "0",
702
+ "isOptional" : "0",
703
+ "dataType" : "Float16",
704
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 256)",
705
+ "shortDescription" : "",
706
+ "shape" : "[1, 1, 1, 256]",
707
+ "name" : "cos_s",
708
+ "type" : "MultiArray"
709
+ },
710
+ {
711
+ "hasShapeFlexibility" : "0",
712
+ "isOptional" : "0",
713
+ "dataType" : "Float16",
714
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 256)",
715
+ "shortDescription" : "",
716
+ "shape" : "[1, 1, 1, 256]",
717
+ "name" : "sin_s",
718
+ "type" : "MultiArray"
719
+ },
720
+ {
721
+ "hasShapeFlexibility" : "0",
722
+ "isOptional" : "0",
723
+ "dataType" : "Float16",
724
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 512)",
725
+ "shortDescription" : "",
726
+ "shape" : "[1, 1, 1, 512]",
727
+ "name" : "cos_f",
728
+ "type" : "MultiArray"
729
+ },
730
+ {
731
+ "hasShapeFlexibility" : "0",
732
+ "isOptional" : "0",
733
+ "dataType" : "Float16",
734
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 512)",
735
+ "shortDescription" : "",
736
+ "shape" : "[1, 1, 1, 512]",
737
+ "name" : "sin_f",
738
+ "type" : "MultiArray"
739
+ },
740
+ {
741
+ "hasShapeFlexibility" : "0",
742
+ "isOptional" : "0",
743
+ "dataType" : "Float16",
744
+ "formattedType" : "MultiArray (Float16 5 × 1 × 512 × 512)",
745
+ "shortDescription" : "",
746
+ "shape" : "[5, 1, 512, 512]",
747
+ "name" : "K_sliding_in",
748
+ "type" : "MultiArray"
749
+ },
750
+ {
751
+ "hasShapeFlexibility" : "0",
752
+ "isOptional" : "0",
753
+ "dataType" : "Float16",
754
+ "formattedType" : "MultiArray (Float16 5 × 1 × 512 × 512)",
755
+ "shortDescription" : "",
756
+ "shape" : "[5, 1, 512, 512]",
757
+ "name" : "V_sliding_in",
758
+ "type" : "MultiArray"
759
+ },
760
+ {
761
+ "hasShapeFlexibility" : "0",
762
+ "isOptional" : "0",
763
+ "dataType" : "Float16",
764
+ "formattedType" : "MultiArray (Float16 2 × 1 × 2048 × 512)",
765
+ "shortDescription" : "",
766
+ "shape" : "[2, 1, 2048, 512]",
767
+ "name" : "K_full_in",
768
+ "type" : "MultiArray"
769
+ },
770
+ {
771
+ "hasShapeFlexibility" : "0",
772
+ "isOptional" : "0",
773
+ "dataType" : "Float16",
774
+ "formattedType" : "MultiArray (Float16 2 × 1 × 2048 × 512)",
775
+ "shortDescription" : "",
776
+ "shape" : "[2, 1, 2048, 512]",
777
+ "name" : "V_full_in",
778
+ "type" : "MultiArray"
779
+ }
780
+ ],
781
+ "defaultFunctionName" : "decode",
782
+ "generatedClassName" : "chunk2",
783
+ "userDefinedMetadata" : {
784
+
785
+ },
786
+ "method" : "predict"
787
+ }
788
+ ]
mf/chunk2.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
mf/chunk2.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c25d52a035e531bf37a39688d52b49456541ba9d0c32f45850a6fbe7acfcab1b
3
+ size 133964544
mf/chunk3.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e411899900c12d53665b02f91c599382019f4b403a2cfb4ff608a63381152823
3
+ size 243
mf/chunk3.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:844e182dafa176af20e67a4d1f86be9c57582878a967b469bf5eaa6dc50685d5
3
+ size 897
mf/chunk3.mlmodelc/metadata.json ADDED
@@ -0,0 +1,515 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "metadataOutputVersion" : "3.0",
4
+ "storagePrecision" : "Mixed (Float16, Palettized (10 bits), Palettized (11 bits), Palettized (13 bits), Palettized (7 bits), UInt4)",
5
+ "outputSchema" : [
6
+ {
7
+ "hasShapeFlexibility" : "0",
8
+ "isOptional" : "0",
9
+ "dataType" : "Float16",
10
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1536)",
11
+ "shortDescription" : "",
12
+ "shape" : "[1, 1, 1536]",
13
+ "name" : "hidden_states_out",
14
+ "type" : "MultiArray"
15
+ }
16
+ ],
17
+ "modelParameters" : [
18
+
19
+ ],
20
+ "specificationVersion" : 9,
21
+ "functions" : [
22
+ {
23
+ "inputSchema" : [
24
+ {
25
+ "hasShapeFlexibility" : "0",
26
+ "isOptional" : "0",
27
+ "dataType" : "Float16",
28
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1536)",
29
+ "shortDescription" : "",
30
+ "shape" : "[1, 1, 1536]",
31
+ "name" : "hidden_states",
32
+ "type" : "MultiArray"
33
+ },
34
+ {
35
+ "hasShapeFlexibility" : "0",
36
+ "isOptional" : "0",
37
+ "dataType" : "Float16",
38
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 2048)",
39
+ "shortDescription" : "",
40
+ "shape" : "[1, 1, 1, 2048]",
41
+ "name" : "causal_mask_full",
42
+ "type" : "MultiArray"
43
+ },
44
+ {
45
+ "hasShapeFlexibility" : "0",
46
+ "isOptional" : "0",
47
+ "dataType" : "Float16",
48
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 512)",
49
+ "shortDescription" : "",
50
+ "shape" : "[1, 1, 1, 512]",
51
+ "name" : "causal_mask_sliding",
52
+ "type" : "MultiArray"
53
+ },
54
+ {
55
+ "hasShapeFlexibility" : "0",
56
+ "isOptional" : "0",
57
+ "dataType" : "Float16",
58
+ "formattedType" : "MultiArray (Float16 1 × 1 × 2048 × 1)",
59
+ "shortDescription" : "",
60
+ "shape" : "[1, 1, 2048, 1]",
61
+ "name" : "update_mask",
62
+ "type" : "MultiArray"
63
+ },
64
+ {
65
+ "hasShapeFlexibility" : "0",
66
+ "isOptional" : "0",
67
+ "dataType" : "Float16",
68
+ "formattedType" : "MultiArray (Float16 1 × 1 × 8960)",
69
+ "shortDescription" : "",
70
+ "shape" : "[1, 1, 8960]",
71
+ "name" : "per_layer_combined",
72
+ "type" : "MultiArray"
73
+ },
74
+ {
75
+ "hasShapeFlexibility" : "0",
76
+ "isOptional" : "0",
77
+ "dataType" : "Float16",
78
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 256)",
79
+ "shortDescription" : "",
80
+ "shape" : "[1, 1, 1, 256]",
81
+ "name" : "cos_s",
82
+ "type" : "MultiArray"
83
+ },
84
+ {
85
+ "hasShapeFlexibility" : "0",
86
+ "isOptional" : "0",
87
+ "dataType" : "Float16",
88
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 256)",
89
+ "shortDescription" : "",
90
+ "shape" : "[1, 1, 1, 256]",
91
+ "name" : "sin_s",
92
+ "type" : "MultiArray"
93
+ },
94
+ {
95
+ "hasShapeFlexibility" : "0",
96
+ "isOptional" : "0",
97
+ "dataType" : "Float16",
98
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 512)",
99
+ "shortDescription" : "",
100
+ "shape" : "[1, 1, 1, 512]",
101
+ "name" : "cos_f",
102
+ "type" : "MultiArray"
103
+ },
104
+ {
105
+ "hasShapeFlexibility" : "0",
106
+ "isOptional" : "0",
107
+ "dataType" : "Float16",
108
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 512)",
109
+ "shortDescription" : "",
110
+ "shape" : "[1, 1, 1, 512]",
111
+ "name" : "sin_f",
112
+ "type" : "MultiArray"
113
+ },
114
+ {
115
+ "hasShapeFlexibility" : "0",
116
+ "isOptional" : "0",
117
+ "dataType" : "Float16",
118
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
119
+ "shortDescription" : "",
120
+ "shape" : "[1, 1, 512, 256]",
121
+ "name" : "kv13_k",
122
+ "type" : "MultiArray"
123
+ },
124
+ {
125
+ "hasShapeFlexibility" : "0",
126
+ "isOptional" : "0",
127
+ "dataType" : "Float16",
128
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
129
+ "shortDescription" : "",
130
+ "shape" : "[1, 1, 512, 256]",
131
+ "name" : "kv13_v",
132
+ "type" : "MultiArray"
133
+ },
134
+ {
135
+ "hasShapeFlexibility" : "0",
136
+ "isOptional" : "0",
137
+ "dataType" : "Float16",
138
+ "formattedType" : "MultiArray (Float16 1 × 1 × 2048 × 512)",
139
+ "shortDescription" : "",
140
+ "shape" : "[1, 1, 2048, 512]",
141
+ "name" : "kv14_k",
142
+ "type" : "MultiArray"
143
+ },
144
+ {
145
+ "hasShapeFlexibility" : "0",
146
+ "isOptional" : "0",
147
+ "dataType" : "Float16",
148
+ "formattedType" : "MultiArray (Float16 1 × 1 × 2048 × 512)",
149
+ "shortDescription" : "",
150
+ "shape" : "[1, 1, 2048, 512]",
151
+ "name" : "kv14_v",
152
+ "type" : "MultiArray"
153
+ }
154
+ ],
155
+ "computePrecision" : "Mixed (Float16, Int32)",
156
+ "storagePrecision" : "Mixed (Float16, Palettized (10 bits), Palettized (11 bits), Palettized (13 bits), Palettized (7 bits), UInt4)",
157
+ "stateSchema" : [
158
+
159
+ ],
160
+ "outputSchema" : [
161
+ {
162
+ "hasShapeFlexibility" : "0",
163
+ "isOptional" : "0",
164
+ "dataType" : "Float16",
165
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1536)",
166
+ "shortDescription" : "",
167
+ "shape" : "[1, 1, 1536]",
168
+ "name" : "hidden_states_out",
169
+ "type" : "MultiArray"
170
+ }
171
+ ],
172
+ "name" : "decode",
173
+ "mlProgramOperationTypeHistogram" : {
174
+ "Ios18.constexprLutToDense" : 70,
175
+ "Ios18.scaledDotProductAttention" : 10,
176
+ "Ios18.expandDims" : 40,
177
+ "Ios18.conv" : 70,
178
+ "Ios18.gelu" : 20,
179
+ "Ios18.concat" : 70,
180
+ "Ios18.add" : 40,
181
+ "Ios18.sliceByIndex" : 10,
182
+ "Tile" : 4,
183
+ "Ios18.transpose" : 112,
184
+ "Ios18.layerNorm" : 60,
185
+ "Ios18.squeeze" : 20,
186
+ "Ios18.reshape" : 48,
187
+ "Split" : 70,
188
+ "Identity" : 1,
189
+ "Ios18.mul" : 180
190
+ }
191
+ },
192
+ {
193
+ "inputSchema" : [
194
+ {
195
+ "hasShapeFlexibility" : "0",
196
+ "isOptional" : "0",
197
+ "dataType" : "Float16",
198
+ "formattedType" : "MultiArray (Float16 1 × 512 × 1536)",
199
+ "shortDescription" : "",
200
+ "shape" : "[1, 512, 1536]",
201
+ "name" : "hidden_states",
202
+ "type" : "MultiArray"
203
+ },
204
+ {
205
+ "hasShapeFlexibility" : "0",
206
+ "isOptional" : "0",
207
+ "dataType" : "Float16",
208
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 512)",
209
+ "shortDescription" : "",
210
+ "shape" : "[1, 1, 512, 512]",
211
+ "name" : "causal_mask",
212
+ "type" : "MultiArray"
213
+ },
214
+ {
215
+ "hasShapeFlexibility" : "0",
216
+ "isOptional" : "0",
217
+ "dataType" : "Float16",
218
+ "formattedType" : "MultiArray (Float16 1 × 512 × 8960)",
219
+ "shortDescription" : "",
220
+ "shape" : "[1, 512, 8960]",
221
+ "name" : "per_layer_combined",
222
+ "type" : "MultiArray"
223
+ },
224
+ {
225
+ "hasShapeFlexibility" : "0",
226
+ "isOptional" : "0",
227
+ "dataType" : "Float16",
228
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
229
+ "shortDescription" : "",
230
+ "shape" : "[1, 1, 512, 256]",
231
+ "name" : "cos_s",
232
+ "type" : "MultiArray"
233
+ },
234
+ {
235
+ "hasShapeFlexibility" : "0",
236
+ "isOptional" : "0",
237
+ "dataType" : "Float16",
238
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
239
+ "shortDescription" : "",
240
+ "shape" : "[1, 1, 512, 256]",
241
+ "name" : "sin_s",
242
+ "type" : "MultiArray"
243
+ },
244
+ {
245
+ "hasShapeFlexibility" : "0",
246
+ "isOptional" : "0",
247
+ "dataType" : "Float16",
248
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 512)",
249
+ "shortDescription" : "",
250
+ "shape" : "[1, 1, 512, 512]",
251
+ "name" : "cos_f",
252
+ "type" : "MultiArray"
253
+ },
254
+ {
255
+ "hasShapeFlexibility" : "0",
256
+ "isOptional" : "0",
257
+ "dataType" : "Float16",
258
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 512)",
259
+ "shortDescription" : "",
260
+ "shape" : "[1, 1, 512, 512]",
261
+ "name" : "sin_f",
262
+ "type" : "MultiArray"
263
+ },
264
+ {
265
+ "hasShapeFlexibility" : "0",
266
+ "isOptional" : "0",
267
+ "dataType" : "Float16",
268
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
269
+ "shortDescription" : "",
270
+ "shape" : "[1, 1, 512, 256]",
271
+ "name" : "kv13_k",
272
+ "type" : "MultiArray"
273
+ },
274
+ {
275
+ "hasShapeFlexibility" : "0",
276
+ "isOptional" : "0",
277
+ "dataType" : "Float16",
278
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
279
+ "shortDescription" : "",
280
+ "shape" : "[1, 1, 512, 256]",
281
+ "name" : "kv13_v",
282
+ "type" : "MultiArray"
283
+ },
284
+ {
285
+ "hasShapeFlexibility" : "0",
286
+ "isOptional" : "0",
287
+ "dataType" : "Float16",
288
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 512)",
289
+ "shortDescription" : "",
290
+ "shape" : "[1, 1, 512, 512]",
291
+ "name" : "kv14_k",
292
+ "type" : "MultiArray"
293
+ },
294
+ {
295
+ "hasShapeFlexibility" : "0",
296
+ "isOptional" : "0",
297
+ "dataType" : "Float16",
298
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 512)",
299
+ "shortDescription" : "",
300
+ "shape" : "[1, 1, 512, 512]",
301
+ "name" : "kv14_v",
302
+ "type" : "MultiArray"
303
+ }
304
+ ],
305
+ "computePrecision" : "Mixed (Float16, Int32)",
306
+ "storagePrecision" : "Mixed (Float16, Palettized (10 bits), Palettized (11 bits), Palettized (13 bits), Palettized (7 bits), UInt4)",
307
+ "stateSchema" : [
308
+
309
+ ],
310
+ "outputSchema" : [
311
+ {
312
+ "hasShapeFlexibility" : "0",
313
+ "isOptional" : "0",
314
+ "dataType" : "Float16",
315
+ "formattedType" : "MultiArray (Float16 1 × 512 × 1536)",
316
+ "shortDescription" : "",
317
+ "shape" : "[1, 512, 1536]",
318
+ "name" : "hidden_states_out",
319
+ "type" : "MultiArray"
320
+ }
321
+ ],
322
+ "name" : "prefill",
323
+ "mlProgramOperationTypeHistogram" : {
324
+ "Ios18.constexprLutToDense" : 70,
325
+ "Ios18.scaledDotProductAttention" : 10,
326
+ "Ios18.expandDims" : 40,
327
+ "Ios18.conv" : 70,
328
+ "Ios18.gelu" : 20,
329
+ "Ios18.concat" : 70,
330
+ "Ios18.add" : 40,
331
+ "Ios18.sliceByIndex" : 10,
332
+ "Tile" : 4,
333
+ "Ios18.transpose" : 122,
334
+ "Ios18.layerNorm" : 60,
335
+ "Ios18.squeeze" : 20,
336
+ "Ios18.reshape" : 48,
337
+ "Split" : 70,
338
+ "Ios18.mul" : 180
339
+ }
340
+ }
341
+ ],
342
+ "mlProgramOperationTypeHistogram" : {
343
+ "Ios18.constexprLutToDense" : 70,
344
+ "Ios18.scaledDotProductAttention" : 10,
345
+ "Ios18.expandDims" : 40,
346
+ "Ios18.conv" : 70,
347
+ "Ios18.gelu" : 20,
348
+ "Ios18.concat" : 70,
349
+ "Ios18.add" : 40,
350
+ "Ios18.sliceByIndex" : 10,
351
+ "Tile" : 4,
352
+ "Ios18.transpose" : 112,
353
+ "Ios18.layerNorm" : 60,
354
+ "Ios18.squeeze" : 20,
355
+ "Ios18.reshape" : 48,
356
+ "Split" : 70,
357
+ "Identity" : 1,
358
+ "Ios18.mul" : 180
359
+ },
360
+ "isUpdatable" : "0",
361
+ "stateSchema" : [
362
+
363
+ ],
364
+ "availability" : {
365
+ "macOS" : "15.0",
366
+ "tvOS" : "18.0",
367
+ "visionOS" : "2.0",
368
+ "watchOS" : "11.0",
369
+ "iOS" : "18.0",
370
+ "macCatalyst" : "18.0"
371
+ },
372
+ "computePrecision" : "Mixed (Float16, Int32)",
373
+ "modelType" : {
374
+ "name" : "MLModelType_mlProgram"
375
+ },
376
+ "inputSchema" : [
377
+ {
378
+ "hasShapeFlexibility" : "0",
379
+ "isOptional" : "0",
380
+ "dataType" : "Float16",
381
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1536)",
382
+ "shortDescription" : "",
383
+ "shape" : "[1, 1, 1536]",
384
+ "name" : "hidden_states",
385
+ "type" : "MultiArray"
386
+ },
387
+ {
388
+ "hasShapeFlexibility" : "0",
389
+ "isOptional" : "0",
390
+ "dataType" : "Float16",
391
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 2048)",
392
+ "shortDescription" : "",
393
+ "shape" : "[1, 1, 1, 2048]",
394
+ "name" : "causal_mask_full",
395
+ "type" : "MultiArray"
396
+ },
397
+ {
398
+ "hasShapeFlexibility" : "0",
399
+ "isOptional" : "0",
400
+ "dataType" : "Float16",
401
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 512)",
402
+ "shortDescription" : "",
403
+ "shape" : "[1, 1, 1, 512]",
404
+ "name" : "causal_mask_sliding",
405
+ "type" : "MultiArray"
406
+ },
407
+ {
408
+ "hasShapeFlexibility" : "0",
409
+ "isOptional" : "0",
410
+ "dataType" : "Float16",
411
+ "formattedType" : "MultiArray (Float16 1 × 1 × 2048 × 1)",
412
+ "shortDescription" : "",
413
+ "shape" : "[1, 1, 2048, 1]",
414
+ "name" : "update_mask",
415
+ "type" : "MultiArray"
416
+ },
417
+ {
418
+ "hasShapeFlexibility" : "0",
419
+ "isOptional" : "0",
420
+ "dataType" : "Float16",
421
+ "formattedType" : "MultiArray (Float16 1 × 1 × 8960)",
422
+ "shortDescription" : "",
423
+ "shape" : "[1, 1, 8960]",
424
+ "name" : "per_layer_combined",
425
+ "type" : "MultiArray"
426
+ },
427
+ {
428
+ "hasShapeFlexibility" : "0",
429
+ "isOptional" : "0",
430
+ "dataType" : "Float16",
431
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 256)",
432
+ "shortDescription" : "",
433
+ "shape" : "[1, 1, 1, 256]",
434
+ "name" : "cos_s",
435
+ "type" : "MultiArray"
436
+ },
437
+ {
438
+ "hasShapeFlexibility" : "0",
439
+ "isOptional" : "0",
440
+ "dataType" : "Float16",
441
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 256)",
442
+ "shortDescription" : "",
443
+ "shape" : "[1, 1, 1, 256]",
444
+ "name" : "sin_s",
445
+ "type" : "MultiArray"
446
+ },
447
+ {
448
+ "hasShapeFlexibility" : "0",
449
+ "isOptional" : "0",
450
+ "dataType" : "Float16",
451
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 512)",
452
+ "shortDescription" : "",
453
+ "shape" : "[1, 1, 1, 512]",
454
+ "name" : "cos_f",
455
+ "type" : "MultiArray"
456
+ },
457
+ {
458
+ "hasShapeFlexibility" : "0",
459
+ "isOptional" : "0",
460
+ "dataType" : "Float16",
461
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 512)",
462
+ "shortDescription" : "",
463
+ "shape" : "[1, 1, 1, 512]",
464
+ "name" : "sin_f",
465
+ "type" : "MultiArray"
466
+ },
467
+ {
468
+ "hasShapeFlexibility" : "0",
469
+ "isOptional" : "0",
470
+ "dataType" : "Float16",
471
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
472
+ "shortDescription" : "",
473
+ "shape" : "[1, 1, 512, 256]",
474
+ "name" : "kv13_k",
475
+ "type" : "MultiArray"
476
+ },
477
+ {
478
+ "hasShapeFlexibility" : "0",
479
+ "isOptional" : "0",
480
+ "dataType" : "Float16",
481
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
482
+ "shortDescription" : "",
483
+ "shape" : "[1, 1, 512, 256]",
484
+ "name" : "kv13_v",
485
+ "type" : "MultiArray"
486
+ },
487
+ {
488
+ "hasShapeFlexibility" : "0",
489
+ "isOptional" : "0",
490
+ "dataType" : "Float16",
491
+ "formattedType" : "MultiArray (Float16 1 × 1 × 2048 × 512)",
492
+ "shortDescription" : "",
493
+ "shape" : "[1, 1, 2048, 512]",
494
+ "name" : "kv14_k",
495
+ "type" : "MultiArray"
496
+ },
497
+ {
498
+ "hasShapeFlexibility" : "0",
499
+ "isOptional" : "0",
500
+ "dataType" : "Float16",
501
+ "formattedType" : "MultiArray (Float16 1 × 1 × 2048 × 512)",
502
+ "shortDescription" : "",
503
+ "shape" : "[1, 1, 2048, 512]",
504
+ "name" : "kv14_v",
505
+ "type" : "MultiArray"
506
+ }
507
+ ],
508
+ "defaultFunctionName" : "decode",
509
+ "generatedClassName" : "chunk3",
510
+ "userDefinedMetadata" : {
511
+
512
+ },
513
+ "method" : "predict"
514
+ }
515
+ ]
mf/chunk3.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
mf/chunk3.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:560ba9d7ba21739817d78aa46e00abb5b14b5dbb12ebdd6f2736515b0cbf8672
3
+ size 325282880
mf/chunk4.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9524736efd306828984931fba24e4180bbdd5cb3203ebb0e3e5940a5afb49aa8
3
+ size 243
mf/chunk4.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c17444352416692476cf4d3cdae49b738e323ea785d303df273d2392338c5ac5
3
+ size 960
mf/chunk4.mlmodelc/metadata.json ADDED
@@ -0,0 +1,565 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "metadataOutputVersion" : "3.0",
4
+ "storagePrecision" : "Mixed (Float16, Palettized (10 bits), Palettized (11 bits), Palettized (13 bits), Palettized (17 bits), Palettized (7 bits), UInt4)",
5
+ "outputSchema" : [
6
+ {
7
+ "hasShapeFlexibility" : "0",
8
+ "isOptional" : "0",
9
+ "dataType" : "Int32",
10
+ "formattedType" : "MultiArray (Int32 1)",
11
+ "shortDescription" : "",
12
+ "shape" : "[1]",
13
+ "name" : "token_id",
14
+ "type" : "MultiArray"
15
+ },
16
+ {
17
+ "hasShapeFlexibility" : "0",
18
+ "isOptional" : "0",
19
+ "dataType" : "Float16",
20
+ "formattedType" : "MultiArray (Float16 1)",
21
+ "shortDescription" : "",
22
+ "shape" : "[1]",
23
+ "name" : "token_logit",
24
+ "type" : "MultiArray"
25
+ }
26
+ ],
27
+ "modelParameters" : [
28
+
29
+ ],
30
+ "specificationVersion" : 9,
31
+ "functions" : [
32
+ {
33
+ "inputSchema" : [
34
+ {
35
+ "hasShapeFlexibility" : "0",
36
+ "isOptional" : "0",
37
+ "dataType" : "Float16",
38
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1536)",
39
+ "shortDescription" : "",
40
+ "shape" : "[1, 1, 1536]",
41
+ "name" : "hidden_states",
42
+ "type" : "MultiArray"
43
+ },
44
+ {
45
+ "hasShapeFlexibility" : "0",
46
+ "isOptional" : "0",
47
+ "dataType" : "Float16",
48
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 2048)",
49
+ "shortDescription" : "",
50
+ "shape" : "[1, 1, 1, 2048]",
51
+ "name" : "causal_mask_full",
52
+ "type" : "MultiArray"
53
+ },
54
+ {
55
+ "hasShapeFlexibility" : "0",
56
+ "isOptional" : "0",
57
+ "dataType" : "Float16",
58
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 512)",
59
+ "shortDescription" : "",
60
+ "shape" : "[1, 1, 1, 512]",
61
+ "name" : "causal_mask_sliding",
62
+ "type" : "MultiArray"
63
+ },
64
+ {
65
+ "hasShapeFlexibility" : "0",
66
+ "isOptional" : "0",
67
+ "dataType" : "Float16",
68
+ "formattedType" : "MultiArray (Float16 1 × 1 × 2048 × 1)",
69
+ "shortDescription" : "",
70
+ "shape" : "[1, 1, 2048, 1]",
71
+ "name" : "update_mask",
72
+ "type" : "MultiArray"
73
+ },
74
+ {
75
+ "hasShapeFlexibility" : "0",
76
+ "isOptional" : "0",
77
+ "dataType" : "Float16",
78
+ "formattedType" : "MultiArray (Float16 1 × 1 × 8960)",
79
+ "shortDescription" : "",
80
+ "shape" : "[1, 1, 8960]",
81
+ "name" : "per_layer_combined",
82
+ "type" : "MultiArray"
83
+ },
84
+ {
85
+ "hasShapeFlexibility" : "0",
86
+ "isOptional" : "0",
87
+ "dataType" : "Float16",
88
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 256)",
89
+ "shortDescription" : "",
90
+ "shape" : "[1, 1, 1, 256]",
91
+ "name" : "cos_s",
92
+ "type" : "MultiArray"
93
+ },
94
+ {
95
+ "hasShapeFlexibility" : "0",
96
+ "isOptional" : "0",
97
+ "dataType" : "Float16",
98
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 256)",
99
+ "shortDescription" : "",
100
+ "shape" : "[1, 1, 1, 256]",
101
+ "name" : "sin_s",
102
+ "type" : "MultiArray"
103
+ },
104
+ {
105
+ "hasShapeFlexibility" : "0",
106
+ "isOptional" : "0",
107
+ "dataType" : "Float16",
108
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 512)",
109
+ "shortDescription" : "",
110
+ "shape" : "[1, 1, 1, 512]",
111
+ "name" : "cos_f",
112
+ "type" : "MultiArray"
113
+ },
114
+ {
115
+ "hasShapeFlexibility" : "0",
116
+ "isOptional" : "0",
117
+ "dataType" : "Float16",
118
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 512)",
119
+ "shortDescription" : "",
120
+ "shape" : "[1, 1, 1, 512]",
121
+ "name" : "sin_f",
122
+ "type" : "MultiArray"
123
+ },
124
+ {
125
+ "hasShapeFlexibility" : "0",
126
+ "isOptional" : "0",
127
+ "dataType" : "Float16",
128
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
129
+ "shortDescription" : "",
130
+ "shape" : "[1, 1, 512, 256]",
131
+ "name" : "kv13_k",
132
+ "type" : "MultiArray"
133
+ },
134
+ {
135
+ "hasShapeFlexibility" : "0",
136
+ "isOptional" : "0",
137
+ "dataType" : "Float16",
138
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
139
+ "shortDescription" : "",
140
+ "shape" : "[1, 1, 512, 256]",
141
+ "name" : "kv13_v",
142
+ "type" : "MultiArray"
143
+ },
144
+ {
145
+ "hasShapeFlexibility" : "0",
146
+ "isOptional" : "0",
147
+ "dataType" : "Float16",
148
+ "formattedType" : "MultiArray (Float16 1 × 1 × 2048 × 512)",
149
+ "shortDescription" : "",
150
+ "shape" : "[1, 1, 2048, 512]",
151
+ "name" : "kv14_k",
152
+ "type" : "MultiArray"
153
+ },
154
+ {
155
+ "hasShapeFlexibility" : "0",
156
+ "isOptional" : "0",
157
+ "dataType" : "Float16",
158
+ "formattedType" : "MultiArray (Float16 1 × 1 × 2048 × 512)",
159
+ "shortDescription" : "",
160
+ "shape" : "[1, 1, 2048, 512]",
161
+ "name" : "kv14_v",
162
+ "type" : "MultiArray"
163
+ }
164
+ ],
165
+ "computePrecision" : "Mixed (Float16, Int32)",
166
+ "storagePrecision" : "Mixed (Float16, Palettized (10 bits), Palettized (11 bits), Palettized (13 bits), Palettized (17 bits), Palettized (7 bits), UInt4)",
167
+ "stateSchema" : [
168
+
169
+ ],
170
+ "outputSchema" : [
171
+ {
172
+ "hasShapeFlexibility" : "0",
173
+ "isOptional" : "0",
174
+ "dataType" : "Int32",
175
+ "formattedType" : "MultiArray (Int32 1)",
176
+ "shortDescription" : "",
177
+ "shape" : "[1]",
178
+ "name" : "token_id",
179
+ "type" : "MultiArray"
180
+ },
181
+ {
182
+ "hasShapeFlexibility" : "0",
183
+ "isOptional" : "0",
184
+ "dataType" : "Float16",
185
+ "formattedType" : "MultiArray (Float16 1)",
186
+ "shortDescription" : "",
187
+ "shape" : "[1]",
188
+ "name" : "token_logit",
189
+ "type" : "MultiArray"
190
+ }
191
+ ],
192
+ "name" : "decode",
193
+ "mlProgramOperationTypeHistogram" : {
194
+ "Ios18.constexprLutToDense" : 71,
195
+ "Identity" : 1,
196
+ "Ios18.scaledDotProductAttention" : 10,
197
+ "Ios18.expandDims" : 41,
198
+ "Ios18.conv" : 71,
199
+ "Ios18.reduceArgmax" : 1,
200
+ "Ios18.gelu" : 20,
201
+ "Ios18.concat" : 71,
202
+ "Ios18.add" : 40,
203
+ "Ios18.tanh" : 1,
204
+ "Ios18.sliceByIndex" : 10,
205
+ "Tile" : 4,
206
+ "Ios18.transpose" : 114,
207
+ "Ios18.layerNorm" : 61,
208
+ "Ios18.squeeze" : 22,
209
+ "Ios18.reshape" : 48,
210
+ "Split" : 71,
211
+ "Ios18.gatherAlongAxis" : 1,
212
+ "Ios18.mul" : 184
213
+ }
214
+ },
215
+ {
216
+ "inputSchema" : [
217
+ {
218
+ "hasShapeFlexibility" : "0",
219
+ "isOptional" : "0",
220
+ "dataType" : "Float16",
221
+ "formattedType" : "MultiArray (Float16 1 × 512 × 1536)",
222
+ "shortDescription" : "",
223
+ "shape" : "[1, 512, 1536]",
224
+ "name" : "hidden_states",
225
+ "type" : "MultiArray"
226
+ },
227
+ {
228
+ "hasShapeFlexibility" : "0",
229
+ "isOptional" : "0",
230
+ "dataType" : "Float16",
231
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 512)",
232
+ "shortDescription" : "",
233
+ "shape" : "[1, 1, 512, 512]",
234
+ "name" : "causal_mask",
235
+ "type" : "MultiArray"
236
+ },
237
+ {
238
+ "hasShapeFlexibility" : "0",
239
+ "isOptional" : "0",
240
+ "dataType" : "Float16",
241
+ "formattedType" : "MultiArray (Float16 1 × 512 × 8960)",
242
+ "shortDescription" : "",
243
+ "shape" : "[1, 512, 8960]",
244
+ "name" : "per_layer_combined",
245
+ "type" : "MultiArray"
246
+ },
247
+ {
248
+ "hasShapeFlexibility" : "0",
249
+ "isOptional" : "0",
250
+ "dataType" : "Float16",
251
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
252
+ "shortDescription" : "",
253
+ "shape" : "[1, 1, 512, 256]",
254
+ "name" : "cos_s",
255
+ "type" : "MultiArray"
256
+ },
257
+ {
258
+ "hasShapeFlexibility" : "0",
259
+ "isOptional" : "0",
260
+ "dataType" : "Float16",
261
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
262
+ "shortDescription" : "",
263
+ "shape" : "[1, 1, 512, 256]",
264
+ "name" : "sin_s",
265
+ "type" : "MultiArray"
266
+ },
267
+ {
268
+ "hasShapeFlexibility" : "0",
269
+ "isOptional" : "0",
270
+ "dataType" : "Float16",
271
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 512)",
272
+ "shortDescription" : "",
273
+ "shape" : "[1, 1, 512, 512]",
274
+ "name" : "cos_f",
275
+ "type" : "MultiArray"
276
+ },
277
+ {
278
+ "hasShapeFlexibility" : "0",
279
+ "isOptional" : "0",
280
+ "dataType" : "Float16",
281
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 512)",
282
+ "shortDescription" : "",
283
+ "shape" : "[1, 1, 512, 512]",
284
+ "name" : "sin_f",
285
+ "type" : "MultiArray"
286
+ },
287
+ {
288
+ "hasShapeFlexibility" : "0",
289
+ "isOptional" : "0",
290
+ "dataType" : "Float16",
291
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
292
+ "shortDescription" : "",
293
+ "shape" : "[1, 1, 512, 256]",
294
+ "name" : "kv13_k",
295
+ "type" : "MultiArray"
296
+ },
297
+ {
298
+ "hasShapeFlexibility" : "0",
299
+ "isOptional" : "0",
300
+ "dataType" : "Float16",
301
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
302
+ "shortDescription" : "",
303
+ "shape" : "[1, 1, 512, 256]",
304
+ "name" : "kv13_v",
305
+ "type" : "MultiArray"
306
+ },
307
+ {
308
+ "hasShapeFlexibility" : "0",
309
+ "isOptional" : "0",
310
+ "dataType" : "Float16",
311
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 512)",
312
+ "shortDescription" : "",
313
+ "shape" : "[1, 1, 512, 512]",
314
+ "name" : "kv14_k",
315
+ "type" : "MultiArray"
316
+ },
317
+ {
318
+ "hasShapeFlexibility" : "0",
319
+ "isOptional" : "0",
320
+ "dataType" : "Float16",
321
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 512)",
322
+ "shortDescription" : "",
323
+ "shape" : "[1, 1, 512, 512]",
324
+ "name" : "kv14_v",
325
+ "type" : "MultiArray"
326
+ },
327
+ {
328
+ "hasShapeFlexibility" : "0",
329
+ "isOptional" : "0",
330
+ "dataType" : "Float16",
331
+ "formattedType" : "MultiArray (Float16 1 × 512 × 1)",
332
+ "shortDescription" : "",
333
+ "shape" : "[1, 512, 1]",
334
+ "name" : "last_position_mask",
335
+ "type" : "MultiArray"
336
+ }
337
+ ],
338
+ "computePrecision" : "Mixed (Float16, Int32)",
339
+ "storagePrecision" : "Mixed (Float16, Palettized (10 bits), Palettized (11 bits), Palettized (13 bits), Palettized (17 bits), Palettized (7 bits), UInt4)",
340
+ "stateSchema" : [
341
+
342
+ ],
343
+ "outputSchema" : [
344
+ {
345
+ "hasShapeFlexibility" : "0",
346
+ "isOptional" : "0",
347
+ "dataType" : "Int32",
348
+ "formattedType" : "MultiArray (Int32 1)",
349
+ "shortDescription" : "",
350
+ "shape" : "[1]",
351
+ "name" : "token_id",
352
+ "type" : "MultiArray"
353
+ },
354
+ {
355
+ "hasShapeFlexibility" : "0",
356
+ "isOptional" : "0",
357
+ "dataType" : "Float16",
358
+ "formattedType" : "MultiArray (Float16 1)",
359
+ "shortDescription" : "",
360
+ "shape" : "[1]",
361
+ "name" : "token_logit",
362
+ "type" : "MultiArray"
363
+ }
364
+ ],
365
+ "name" : "prefill",
366
+ "mlProgramOperationTypeHistogram" : {
367
+ "Ios18.constexprLutToDense" : 71,
368
+ "Ios18.gatherAlongAxis" : 1,
369
+ "Ios18.scaledDotProductAttention" : 10,
370
+ "Ios18.expandDims" : 41,
371
+ "Ios18.conv" : 71,
372
+ "Ios18.reduceArgmax" : 1,
373
+ "Ios18.gelu" : 20,
374
+ "Ios18.concat" : 71,
375
+ "Ios18.add" : 40,
376
+ "Ios18.tanh" : 1,
377
+ "Ios18.sliceByIndex" : 10,
378
+ "Tile" : 4,
379
+ "Ios18.transpose" : 124,
380
+ "Ios18.layerNorm" : 61,
381
+ "Ios18.squeeze" : 22,
382
+ "Ios18.reshape" : 48,
383
+ "Split" : 71,
384
+ "Ios16.reduceSum" : 1,
385
+ "Ios18.mul" : 185
386
+ }
387
+ }
388
+ ],
389
+ "mlProgramOperationTypeHistogram" : {
390
+ "Ios18.constexprLutToDense" : 71,
391
+ "Identity" : 1,
392
+ "Ios18.scaledDotProductAttention" : 10,
393
+ "Ios18.expandDims" : 41,
394
+ "Ios18.conv" : 71,
395
+ "Ios18.reduceArgmax" : 1,
396
+ "Ios18.gelu" : 20,
397
+ "Ios18.concat" : 71,
398
+ "Ios18.add" : 40,
399
+ "Ios18.tanh" : 1,
400
+ "Ios18.sliceByIndex" : 10,
401
+ "Tile" : 4,
402
+ "Ios18.transpose" : 114,
403
+ "Ios18.layerNorm" : 61,
404
+ "Ios18.squeeze" : 22,
405
+ "Ios18.reshape" : 48,
406
+ "Split" : 71,
407
+ "Ios18.gatherAlongAxis" : 1,
408
+ "Ios18.mul" : 184
409
+ },
410
+ "isUpdatable" : "0",
411
+ "stateSchema" : [
412
+
413
+ ],
414
+ "availability" : {
415
+ "macOS" : "15.0",
416
+ "tvOS" : "18.0",
417
+ "visionOS" : "2.0",
418
+ "watchOS" : "11.0",
419
+ "iOS" : "18.0",
420
+ "macCatalyst" : "18.0"
421
+ },
422
+ "computePrecision" : "Mixed (Float16, Int32)",
423
+ "modelType" : {
424
+ "name" : "MLModelType_mlProgram"
425
+ },
426
+ "inputSchema" : [
427
+ {
428
+ "hasShapeFlexibility" : "0",
429
+ "isOptional" : "0",
430
+ "dataType" : "Float16",
431
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1536)",
432
+ "shortDescription" : "",
433
+ "shape" : "[1, 1, 1536]",
434
+ "name" : "hidden_states",
435
+ "type" : "MultiArray"
436
+ },
437
+ {
438
+ "hasShapeFlexibility" : "0",
439
+ "isOptional" : "0",
440
+ "dataType" : "Float16",
441
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 2048)",
442
+ "shortDescription" : "",
443
+ "shape" : "[1, 1, 1, 2048]",
444
+ "name" : "causal_mask_full",
445
+ "type" : "MultiArray"
446
+ },
447
+ {
448
+ "hasShapeFlexibility" : "0",
449
+ "isOptional" : "0",
450
+ "dataType" : "Float16",
451
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 512)",
452
+ "shortDescription" : "",
453
+ "shape" : "[1, 1, 1, 512]",
454
+ "name" : "causal_mask_sliding",
455
+ "type" : "MultiArray"
456
+ },
457
+ {
458
+ "hasShapeFlexibility" : "0",
459
+ "isOptional" : "0",
460
+ "dataType" : "Float16",
461
+ "formattedType" : "MultiArray (Float16 1 × 1 × 2048 × 1)",
462
+ "shortDescription" : "",
463
+ "shape" : "[1, 1, 2048, 1]",
464
+ "name" : "update_mask",
465
+ "type" : "MultiArray"
466
+ },
467
+ {
468
+ "hasShapeFlexibility" : "0",
469
+ "isOptional" : "0",
470
+ "dataType" : "Float16",
471
+ "formattedType" : "MultiArray (Float16 1 × 1 × 8960)",
472
+ "shortDescription" : "",
473
+ "shape" : "[1, 1, 8960]",
474
+ "name" : "per_layer_combined",
475
+ "type" : "MultiArray"
476
+ },
477
+ {
478
+ "hasShapeFlexibility" : "0",
479
+ "isOptional" : "0",
480
+ "dataType" : "Float16",
481
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 256)",
482
+ "shortDescription" : "",
483
+ "shape" : "[1, 1, 1, 256]",
484
+ "name" : "cos_s",
485
+ "type" : "MultiArray"
486
+ },
487
+ {
488
+ "hasShapeFlexibility" : "0",
489
+ "isOptional" : "0",
490
+ "dataType" : "Float16",
491
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 256)",
492
+ "shortDescription" : "",
493
+ "shape" : "[1, 1, 1, 256]",
494
+ "name" : "sin_s",
495
+ "type" : "MultiArray"
496
+ },
497
+ {
498
+ "hasShapeFlexibility" : "0",
499
+ "isOptional" : "0",
500
+ "dataType" : "Float16",
501
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 512)",
502
+ "shortDescription" : "",
503
+ "shape" : "[1, 1, 1, 512]",
504
+ "name" : "cos_f",
505
+ "type" : "MultiArray"
506
+ },
507
+ {
508
+ "hasShapeFlexibility" : "0",
509
+ "isOptional" : "0",
510
+ "dataType" : "Float16",
511
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 512)",
512
+ "shortDescription" : "",
513
+ "shape" : "[1, 1, 1, 512]",
514
+ "name" : "sin_f",
515
+ "type" : "MultiArray"
516
+ },
517
+ {
518
+ "hasShapeFlexibility" : "0",
519
+ "isOptional" : "0",
520
+ "dataType" : "Float16",
521
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
522
+ "shortDescription" : "",
523
+ "shape" : "[1, 1, 512, 256]",
524
+ "name" : "kv13_k",
525
+ "type" : "MultiArray"
526
+ },
527
+ {
528
+ "hasShapeFlexibility" : "0",
529
+ "isOptional" : "0",
530
+ "dataType" : "Float16",
531
+ "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
532
+ "shortDescription" : "",
533
+ "shape" : "[1, 1, 512, 256]",
534
+ "name" : "kv13_v",
535
+ "type" : "MultiArray"
536
+ },
537
+ {
538
+ "hasShapeFlexibility" : "0",
539
+ "isOptional" : "0",
540
+ "dataType" : "Float16",
541
+ "formattedType" : "MultiArray (Float16 1 × 1 × 2048 × 512)",
542
+ "shortDescription" : "",
543
+ "shape" : "[1, 1, 2048, 512]",
544
+ "name" : "kv14_k",
545
+ "type" : "MultiArray"
546
+ },
547
+ {
548
+ "hasShapeFlexibility" : "0",
549
+ "isOptional" : "0",
550
+ "dataType" : "Float16",
551
+ "formattedType" : "MultiArray (Float16 1 × 1 × 2048 × 512)",
552
+ "shortDescription" : "",
553
+ "shape" : "[1, 1, 2048, 512]",
554
+ "name" : "kv14_v",
555
+ "type" : "MultiArray"
556
+ }
557
+ ],
558
+ "defaultFunctionName" : "decode",
559
+ "generatedClassName" : "chunk4",
560
+ "userDefinedMetadata" : {
561
+
562
+ },
563
+ "method" : "predict"
564
+ }
565
+ ]
mf/chunk4.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
mf/chunk4.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b34de9f847b88c27155b1c5acf361d74d7f42508062c7ed35a03666aa42315c
3
+ size 526874880