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

Add cached-mask BaseLM multifunction model

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