seba commited on
Commit
63af479
·
verified ·
1 Parent(s): d8558dc

Add cached-mask ResidualLM multifunction model

Browse files
residual_lm_fused_multifunction.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:79cf96df308f174c72f697dd6a96fd4daf8f39947ce747c6ecb9ae9de742dffa
3
+ size 243
residual_lm_fused_multifunction.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1dce7286bb135ad4d3c47482f7718b4cb124b9dd500e0e9331f41ec51977d2a2
3
+ size 1351
residual_lm_fused_multifunction.mlmodelc/metadata.json ADDED
@@ -0,0 +1,592 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "metadataOutputVersion" : "3.0",
4
+ "storagePrecision" : "Float16",
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 × 4096 × 1 × 1)",
29
+ "shortDescription" : "",
30
+ "shape" : "[1, 4096, 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, Int16, Int32)",
56
+ "storagePrecision" : "Float16",
57
+ "stateSchema" : [
58
+ {
59
+ "dataType" : "Float16",
60
+ "isOptional" : "0",
61
+ "formattedType" : "State (Float16 8 × 2 × 2048 × 128)",
62
+ "shortDescription" : "",
63
+ "shape" : "[8, 2, 2048, 128]",
64
+ "name" : "key_cache",
65
+ "type" : "State"
66
+ },
67
+ {
68
+ "dataType" : "Float16",
69
+ "isOptional" : "0",
70
+ "formattedType" : "State (Float16 8 × 2 × 2048 × 128)",
71
+ "shortDescription" : "",
72
+ "shape" : "[8, 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" : 2,
92
+ "Ios18.mul" : 42,
93
+ "Ios18.softmax" : 16,
94
+ "Ios18.matmul" : 32,
95
+ "Split" : 41,
96
+ "Ios18.greaterEqual" : 2,
97
+ "Select" : 2,
98
+ "Ios18.readState" : 18,
99
+ "Ios18.gather" : 1,
100
+ "Ios18.add" : 38,
101
+ "Ios18.writeState" : 16,
102
+ "Ios18.sliceUpdate" : 16,
103
+ "Ios18.layerNorm" : 17,
104
+ "Ios16.reduceSum" : 1,
105
+ "Ios18.reshape" : 32,
106
+ "Ios18.conv" : 57,
107
+ "Ios18.concat" : 41,
108
+ "Ios18.cast" : 6,
109
+ "Ios18.sub" : 2,
110
+ "Ios18.transpose" : 24,
111
+ "Ios18.silu" : 8,
112
+ "Ios18.sliceByIndex" : 16,
113
+ "Ios16.cumsum" : 1
114
+ }
115
+ },
116
+ {
117
+ "inputSchema" : [
118
+ {
119
+ "hasShapeFlexibility" : "0",
120
+ "isOptional" : "0",
121
+ "dataType" : "Float32",
122
+ "formattedType" : "MultiArray (Float32 1 × 4096 × 1 × 1)",
123
+ "shortDescription" : "",
124
+ "shape" : "[1, 4096, 1, 1]",
125
+ "name" : "inputs_embeds",
126
+ "type" : "MultiArray"
127
+ },
128
+ {
129
+ "hasShapeFlexibility" : "0",
130
+ "isOptional" : "0",
131
+ "dataType" : "Int32",
132
+ "formattedType" : "MultiArray (Int32 1)",
133
+ "shortDescription" : "",
134
+ "shape" : "[1]",
135
+ "name" : "position_id",
136
+ "type" : "MultiArray"
137
+ },
138
+ {
139
+ "hasShapeFlexibility" : "0",
140
+ "isOptional" : "0",
141
+ "dataType" : "Int32",
142
+ "formattedType" : "MultiArray (Int32 1)",
143
+ "shortDescription" : "",
144
+ "shape" : "[1]",
145
+ "name" : "position_index_seed",
146
+ "type" : "MultiArray"
147
+ }
148
+ ],
149
+ "computePrecision" : "Mixed (Float16, Int16, Int32, UInt16)",
150
+ "storagePrecision" : "Float16",
151
+ "stateSchema" : [
152
+ {
153
+ "dataType" : "Float16",
154
+ "isOptional" : "0",
155
+ "formattedType" : "State (Float16 8 × 2 × 2048 × 128)",
156
+ "shortDescription" : "",
157
+ "shape" : "[8, 2, 2048, 128]",
158
+ "name" : "key_cache",
159
+ "type" : "State"
160
+ },
161
+ {
162
+ "dataType" : "Float16",
163
+ "isOptional" : "0",
164
+ "formattedType" : "State (Float16 8 × 2 × 2048 × 128)",
165
+ "shortDescription" : "",
166
+ "shape" : "[8, 2, 2048, 128]",
167
+ "name" : "value_cache",
168
+ "type" : "State"
169
+ }
170
+ ],
171
+ "outputSchema" : [
172
+ {
173
+ "hasShapeFlexibility" : "0",
174
+ "isOptional" : "0",
175
+ "dataType" : "Float16",
176
+ "formattedType" : "MultiArray (Float16 1 × 2048 × 1 × 1)",
177
+ "shortDescription" : "",
178
+ "shape" : "[1, 2048, 1, 1]",
179
+ "name" : "hidden_states",
180
+ "type" : "MultiArray"
181
+ }
182
+ ],
183
+ "name" : "length_1",
184
+ "mlProgramOperationTypeHistogram" : {
185
+ "Ios18.expandDims" : 2,
186
+ "Ios18.mul" : 42,
187
+ "Ios18.softmax" : 16,
188
+ "Ios18.matmul" : 32,
189
+ "Split" : 41,
190
+ "Ios18.greaterEqual" : 2,
191
+ "Select" : 2,
192
+ "Ios18.readState" : 18,
193
+ "Ios18.gather" : 1,
194
+ "Ios18.add" : 38,
195
+ "Ios18.writeState" : 16,
196
+ "Ios18.sliceUpdate" : 16,
197
+ "Ios18.layerNorm" : 17,
198
+ "Ios16.reduceSum" : 1,
199
+ "Ios18.reshape" : 32,
200
+ "Ios18.conv" : 57,
201
+ "Ios18.concat" : 41,
202
+ "Ios18.cast" : 6,
203
+ "Ios18.sub" : 2,
204
+ "Ios18.transpose" : 24,
205
+ "Ios18.silu" : 8,
206
+ "Ios18.sliceByIndex" : 16,
207
+ "Ios16.cumsum" : 1
208
+ }
209
+ },
210
+ {
211
+ "inputSchema" : [
212
+ {
213
+ "hasShapeFlexibility" : "0",
214
+ "isOptional" : "0",
215
+ "dataType" : "Float32",
216
+ "formattedType" : "MultiArray (Float32 1 × 4096 × 1 × 64)",
217
+ "shortDescription" : "",
218
+ "shape" : "[1, 4096, 1, 64]",
219
+ "name" : "inputs_embeds",
220
+ "type" : "MultiArray"
221
+ },
222
+ {
223
+ "hasShapeFlexibility" : "0",
224
+ "isOptional" : "0",
225
+ "dataType" : "Int32",
226
+ "formattedType" : "MultiArray (Int32 1)",
227
+ "shortDescription" : "",
228
+ "shape" : "[1]",
229
+ "name" : "position_id",
230
+ "type" : "MultiArray"
231
+ },
232
+ {
233
+ "hasShapeFlexibility" : "0",
234
+ "isOptional" : "0",
235
+ "dataType" : "Int32",
236
+ "formattedType" : "MultiArray (Int32 64)",
237
+ "shortDescription" : "",
238
+ "shape" : "[64]",
239
+ "name" : "position_index_seed",
240
+ "type" : "MultiArray"
241
+ }
242
+ ],
243
+ "computePrecision" : "Mixed (Float16, Int16, Int32, UInt16)",
244
+ "storagePrecision" : "Float16",
245
+ "stateSchema" : [
246
+ {
247
+ "dataType" : "Float16",
248
+ "isOptional" : "0",
249
+ "formattedType" : "State (Float16 8 × 2 × 2048 × 128)",
250
+ "shortDescription" : "",
251
+ "shape" : "[8, 2, 2048, 128]",
252
+ "name" : "key_cache",
253
+ "type" : "State"
254
+ },
255
+ {
256
+ "dataType" : "Float16",
257
+ "isOptional" : "0",
258
+ "formattedType" : "State (Float16 8 × 2 × 2048 × 128)",
259
+ "shortDescription" : "",
260
+ "shape" : "[8, 2, 2048, 128]",
261
+ "name" : "value_cache",
262
+ "type" : "State"
263
+ }
264
+ ],
265
+ "outputSchema" : [
266
+ {
267
+ "hasShapeFlexibility" : "0",
268
+ "isOptional" : "0",
269
+ "dataType" : "Float16",
270
+ "formattedType" : "MultiArray (Float16 1 × 2048 × 1 × 64)",
271
+ "shortDescription" : "",
272
+ "shape" : "[1, 2048, 1, 64]",
273
+ "name" : "hidden_states",
274
+ "type" : "MultiArray"
275
+ }
276
+ ],
277
+ "name" : "length_64",
278
+ "mlProgramOperationTypeHistogram" : {
279
+ "Ios18.expandDims" : 2,
280
+ "Ios18.mul" : 42,
281
+ "Ios18.softmax" : 16,
282
+ "Ios18.matmul" : 32,
283
+ "Split" : 41,
284
+ "Ios18.greaterEqual" : 2,
285
+ "Select" : 2,
286
+ "Ios18.readState" : 18,
287
+ "Ios18.gather" : 1,
288
+ "Ios18.add" : 38,
289
+ "Ios18.writeState" : 16,
290
+ "Ios18.sliceUpdate" : 16,
291
+ "Ios18.layerNorm" : 17,
292
+ "Ios16.reduceSum" : 1,
293
+ "Ios18.reshape" : 32,
294
+ "Ios18.conv" : 57,
295
+ "Ios18.concat" : 41,
296
+ "Ios18.cast" : 6,
297
+ "Ios18.sub" : 2,
298
+ "Ios18.transpose" : 24,
299
+ "Ios18.silu" : 8,
300
+ "Ios18.sliceByIndex" : 16,
301
+ "Ios16.cumsum" : 1
302
+ }
303
+ },
304
+ {
305
+ "inputSchema" : [
306
+ {
307
+ "hasShapeFlexibility" : "0",
308
+ "isOptional" : "0",
309
+ "dataType" : "Float32",
310
+ "formattedType" : "MultiArray (Float32 1 × 4096 × 1 × 128)",
311
+ "shortDescription" : "",
312
+ "shape" : "[1, 4096, 1, 128]",
313
+ "name" : "inputs_embeds",
314
+ "type" : "MultiArray"
315
+ },
316
+ {
317
+ "hasShapeFlexibility" : "0",
318
+ "isOptional" : "0",
319
+ "dataType" : "Int32",
320
+ "formattedType" : "MultiArray (Int32 1)",
321
+ "shortDescription" : "",
322
+ "shape" : "[1]",
323
+ "name" : "position_id",
324
+ "type" : "MultiArray"
325
+ },
326
+ {
327
+ "hasShapeFlexibility" : "0",
328
+ "isOptional" : "0",
329
+ "dataType" : "Int32",
330
+ "formattedType" : "MultiArray (Int32 128)",
331
+ "shortDescription" : "",
332
+ "shape" : "[128]",
333
+ "name" : "position_index_seed",
334
+ "type" : "MultiArray"
335
+ }
336
+ ],
337
+ "computePrecision" : "Mixed (Float16, Int16, Int32, UInt16)",
338
+ "storagePrecision" : "Float16",
339
+ "stateSchema" : [
340
+ {
341
+ "dataType" : "Float16",
342
+ "isOptional" : "0",
343
+ "formattedType" : "State (Float16 8 × 2 × 2048 × 128)",
344
+ "shortDescription" : "",
345
+ "shape" : "[8, 2, 2048, 128]",
346
+ "name" : "key_cache",
347
+ "type" : "State"
348
+ },
349
+ {
350
+ "dataType" : "Float16",
351
+ "isOptional" : "0",
352
+ "formattedType" : "State (Float16 8 × 2 × 2048 × 128)",
353
+ "shortDescription" : "",
354
+ "shape" : "[8, 2, 2048, 128]",
355
+ "name" : "value_cache",
356
+ "type" : "State"
357
+ }
358
+ ],
359
+ "outputSchema" : [
360
+ {
361
+ "hasShapeFlexibility" : "0",
362
+ "isOptional" : "0",
363
+ "dataType" : "Float16",
364
+ "formattedType" : "MultiArray (Float16 1 × 2048 × 1 × 128)",
365
+ "shortDescription" : "",
366
+ "shape" : "[1, 2048, 1, 128]",
367
+ "name" : "hidden_states",
368
+ "type" : "MultiArray"
369
+ }
370
+ ],
371
+ "name" : "length_128",
372
+ "mlProgramOperationTypeHistogram" : {
373
+ "Ios18.expandDims" : 2,
374
+ "Ios18.mul" : 42,
375
+ "Ios18.softmax" : 16,
376
+ "Ios18.matmul" : 32,
377
+ "Split" : 41,
378
+ "Ios18.greaterEqual" : 2,
379
+ "Select" : 2,
380
+ "Ios18.readState" : 18,
381
+ "Ios18.gather" : 1,
382
+ "Ios18.add" : 38,
383
+ "Ios18.writeState" : 16,
384
+ "Ios18.sliceUpdate" : 16,
385
+ "Ios18.layerNorm" : 17,
386
+ "Ios16.reduceSum" : 1,
387
+ "Ios18.reshape" : 32,
388
+ "Ios18.conv" : 57,
389
+ "Ios18.concat" : 41,
390
+ "Ios18.cast" : 6,
391
+ "Ios18.sub" : 2,
392
+ "Ios18.transpose" : 24,
393
+ "Ios18.silu" : 8,
394
+ "Ios18.sliceByIndex" : 16,
395
+ "Ios16.cumsum" : 1
396
+ }
397
+ },
398
+ {
399
+ "inputSchema" : [
400
+ {
401
+ "hasShapeFlexibility" : "0",
402
+ "isOptional" : "0",
403
+ "dataType" : "Float32",
404
+ "formattedType" : "MultiArray (Float32 1 × 4096 × 1 × 256)",
405
+ "shortDescription" : "",
406
+ "shape" : "[1, 4096, 1, 256]",
407
+ "name" : "inputs_embeds",
408
+ "type" : "MultiArray"
409
+ },
410
+ {
411
+ "hasShapeFlexibility" : "0",
412
+ "isOptional" : "0",
413
+ "dataType" : "Int32",
414
+ "formattedType" : "MultiArray (Int32 1)",
415
+ "shortDescription" : "",
416
+ "shape" : "[1]",
417
+ "name" : "position_id",
418
+ "type" : "MultiArray"
419
+ },
420
+ {
421
+ "hasShapeFlexibility" : "0",
422
+ "isOptional" : "0",
423
+ "dataType" : "Int32",
424
+ "formattedType" : "MultiArray (Int32 256)",
425
+ "shortDescription" : "",
426
+ "shape" : "[256]",
427
+ "name" : "position_index_seed",
428
+ "type" : "MultiArray"
429
+ }
430
+ ],
431
+ "computePrecision" : "Mixed (Float16, Int16, Int32, UInt16)",
432
+ "storagePrecision" : "Float16",
433
+ "stateSchema" : [
434
+ {
435
+ "dataType" : "Float16",
436
+ "isOptional" : "0",
437
+ "formattedType" : "State (Float16 8 × 2 × 2048 × 128)",
438
+ "shortDescription" : "",
439
+ "shape" : "[8, 2, 2048, 128]",
440
+ "name" : "key_cache",
441
+ "type" : "State"
442
+ },
443
+ {
444
+ "dataType" : "Float16",
445
+ "isOptional" : "0",
446
+ "formattedType" : "State (Float16 8 × 2 × 2048 × 128)",
447
+ "shortDescription" : "",
448
+ "shape" : "[8, 2, 2048, 128]",
449
+ "name" : "value_cache",
450
+ "type" : "State"
451
+ }
452
+ ],
453
+ "outputSchema" : [
454
+ {
455
+ "hasShapeFlexibility" : "0",
456
+ "isOptional" : "0",
457
+ "dataType" : "Float16",
458
+ "formattedType" : "MultiArray (Float16 1 × 2048 × 1 × 256)",
459
+ "shortDescription" : "",
460
+ "shape" : "[1, 2048, 1, 256]",
461
+ "name" : "hidden_states",
462
+ "type" : "MultiArray"
463
+ }
464
+ ],
465
+ "name" : "length_256",
466
+ "mlProgramOperationTypeHistogram" : {
467
+ "Ios18.expandDims" : 2,
468
+ "Ios18.mul" : 42,
469
+ "Ios18.softmax" : 16,
470
+ "Ios18.matmul" : 32,
471
+ "Split" : 41,
472
+ "Ios18.greaterEqual" : 2,
473
+ "Select" : 2,
474
+ "Ios18.readState" : 18,
475
+ "Ios18.gather" : 1,
476
+ "Ios18.add" : 38,
477
+ "Ios18.writeState" : 16,
478
+ "Ios18.sliceUpdate" : 16,
479
+ "Ios18.layerNorm" : 17,
480
+ "Ios16.reduceSum" : 1,
481
+ "Ios18.reshape" : 32,
482
+ "Ios18.conv" : 57,
483
+ "Ios18.concat" : 41,
484
+ "Ios18.cast" : 6,
485
+ "Ios18.sub" : 2,
486
+ "Ios18.transpose" : 24,
487
+ "Ios18.silu" : 8,
488
+ "Ios18.sliceByIndex" : 16,
489
+ "Ios16.cumsum" : 1
490
+ }
491
+ }
492
+ ],
493
+ "mlProgramOperationTypeHistogram" : {
494
+ "Ios18.expandDims" : 2,
495
+ "Ios18.mul" : 42,
496
+ "Ios18.softmax" : 16,
497
+ "Ios18.matmul" : 32,
498
+ "Split" : 41,
499
+ "Ios18.greaterEqual" : 2,
500
+ "Select" : 2,
501
+ "Ios18.readState" : 18,
502
+ "Ios18.gather" : 1,
503
+ "Ios18.add" : 38,
504
+ "Ios18.writeState" : 16,
505
+ "Ios18.sliceUpdate" : 16,
506
+ "Ios18.layerNorm" : 17,
507
+ "Ios16.reduceSum" : 1,
508
+ "Ios18.reshape" : 32,
509
+ "Ios18.conv" : 57,
510
+ "Ios18.concat" : 41,
511
+ "Ios18.cast" : 6,
512
+ "Ios18.sub" : 2,
513
+ "Ios18.transpose" : 24,
514
+ "Ios18.silu" : 8,
515
+ "Ios18.sliceByIndex" : 16,
516
+ "Ios16.cumsum" : 1
517
+ },
518
+ "isUpdatable" : "0",
519
+ "stateSchema" : [
520
+ {
521
+ "dataType" : "Float16",
522
+ "isOptional" : "0",
523
+ "formattedType" : "State (Float16 8 × 2 × 2048 × 128)",
524
+ "shortDescription" : "",
525
+ "shape" : "[8, 2, 2048, 128]",
526
+ "name" : "key_cache",
527
+ "type" : "State"
528
+ },
529
+ {
530
+ "dataType" : "Float16",
531
+ "isOptional" : "0",
532
+ "formattedType" : "State (Float16 8 × 2 × 2048 × 128)",
533
+ "shortDescription" : "",
534
+ "shape" : "[8, 2, 2048, 128]",
535
+ "name" : "value_cache",
536
+ "type" : "State"
537
+ }
538
+ ],
539
+ "availability" : {
540
+ "macOS" : "15.0",
541
+ "tvOS" : "18.0",
542
+ "visionOS" : "2.0",
543
+ "watchOS" : "11.0",
544
+ "iOS" : "18.0",
545
+ "macCatalyst" : "18.0"
546
+ },
547
+ "computePrecision" : "Mixed (Float16, Int16, Int32)",
548
+ "modelType" : {
549
+ "name" : "MLModelType_mlProgram"
550
+ },
551
+ "inputSchema" : [
552
+ {
553
+ "hasShapeFlexibility" : "0",
554
+ "isOptional" : "0",
555
+ "dataType" : "Float32",
556
+ "formattedType" : "MultiArray (Float32 1 × 4096 × 1 × 1)",
557
+ "shortDescription" : "",
558
+ "shape" : "[1, 4096, 1, 1]",
559
+ "name" : "inputs_embeds",
560
+ "type" : "MultiArray"
561
+ },
562
+ {
563
+ "hasShapeFlexibility" : "0",
564
+ "isOptional" : "0",
565
+ "dataType" : "Int32",
566
+ "formattedType" : "MultiArray (Int32 1)",
567
+ "shortDescription" : "",
568
+ "shape" : "[1]",
569
+ "name" : "position_id",
570
+ "type" : "MultiArray"
571
+ },
572
+ {
573
+ "hasShapeFlexibility" : "0",
574
+ "isOptional" : "0",
575
+ "dataType" : "Int32",
576
+ "formattedType" : "MultiArray (Int32 1)",
577
+ "shortDescription" : "",
578
+ "shape" : "[1]",
579
+ "name" : "position_index_seed",
580
+ "type" : "MultiArray"
581
+ }
582
+ ],
583
+ "defaultFunctionName" : "main",
584
+ "generatedClassName" : "residual_lm_fused_multifunction",
585
+ "userDefinedMetadata" : {
586
+ "com.github.apple.coremltools.version" : "9.0",
587
+ "com.github.apple.coremltools.conversion_date" : "2026-09-05",
588
+ "com.github.apple.coremltools.source" : "milinternal"
589
+ },
590
+ "method" : "predict"
591
+ }
592
+ ]
residual_lm_fused_multifunction.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
residual_lm_fused_multifunction.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:518b31cecc4a0ad2af80de48c28a1d470f4dbec16d559a44ad366b956586d121
3
+ size 780288832