seba commited on
Commit
02c993c
·
verified ·
1 Parent(s): 8c46c29

Upload folder using huggingface_hub

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