| [ |
| { |
| "metadataOutputVersion" : "3.0", |
| "storagePrecision" : "Mixed (Float16, Palettized (10 bits), Palettized (11 bits), Palettized (12 bits), Palettized (13 bits), Palettized (7 bits), Palettized (8 bits), UInt4)", |
| "outputSchema" : [ |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float16", |
| "formattedType" : "MultiArray (Float16 1 × 1 × 1536)", |
| "shortDescription" : "", |
| "shape" : "[1, 1, 1536]", |
| "name" : "hidden_states_out", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float16", |
| "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)", |
| "shortDescription" : "", |
| "shape" : "[1, 1, 512, 256]", |
| "name" : "kv13_k", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float16", |
| "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)", |
| "shortDescription" : "", |
| "shape" : "[1, 1, 512, 256]", |
| "name" : "kv13_v", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float16", |
| "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 512)", |
| "shortDescription" : "", |
| "shape" : "[1, 1, 512, 512]", |
| "name" : "kv14_k", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float16", |
| "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 512)", |
| "shortDescription" : "", |
| "shape" : "[1, 1, 512, 512]", |
| "name" : "kv14_v", |
| "type" : "MultiArray" |
| } |
| ], |
| "modelParameters" : [ |
|
|
| ], |
| "specificationVersion" : 9, |
| "mlProgramOperationTypeHistogram" : { |
| "Ios18.expandDims" : 30, |
| "Ios18.mul" : 246, |
| "Ios18.softmax" : 12, |
| "Ios18.matmul" : 24, |
| "Ios16.reduceMean" : 3, |
| "Split" : 90, |
| "Ios18.readState" : 6, |
| "Tile" : 12, |
| "Ios18.add" : 72, |
| "Ios18.writeState" : 6, |
| "Ios18.sliceUpdate" : 6, |
| "Ios18.layerNorm" : 75, |
| "Pad" : 4, |
| "Ios18.reshape" : 72, |
| "Ios18.constexprLutToDense" : 90, |
| "Ios18.conv" : 66, |
| "Ios18.concat" : 90, |
| "Ios18.transpose" : 108, |
| "Ios18.sub" : 1, |
| "Ios18.pow" : 6, |
| "Ios18.gelu" : 24, |
| "Ios18.linear" : 24, |
| "Ios18.sliceByIndex" : 22, |
| "Ios18.squeeze" : 18 |
| }, |
| "computePrecision" : "Mixed (Float16, Int32)", |
| "isUpdatable" : "0", |
| "stateSchema" : [ |
| { |
| "dataType" : "Float16", |
| "isOptional" : "0", |
| "formattedType" : "State (Float16 24 × 1 × 512 × 512)", |
| "shortDescription" : "", |
| "shape" : "[24, 1, 512, 512]", |
| "name" : "kv_cache_0", |
| "type" : "State" |
| } |
| ], |
| "availability" : { |
| "macOS" : "15.0", |
| "tvOS" : "18.0", |
| "visionOS" : "2.0", |
| "watchOS" : "11.0", |
| "iOS" : "18.0", |
| "macCatalyst" : "18.0" |
| }, |
| "modelType" : { |
| "name" : "MLModelType_mlProgram" |
| }, |
| "userDefinedMetadata" : { |
| "com.github.apple.coremltools.conversion_date" : "2026-04-09", |
| "com.github.apple.coremltools.source" : "torch==2.11.0", |
| "com.github.apple.coremltools.version" : "9.0", |
| "com.github.apple.coremltools.source_dialect" : "TorchScript" |
| }, |
| "inputSchema" : [ |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float16", |
| "formattedType" : "MultiArray (Float16 1 × 1 × 1536)", |
| "shortDescription" : "", |
| "shape" : "[1, 1, 1536]", |
| "name" : "hidden_states", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float16", |
| "formattedType" : "MultiArray (Float16 1 × 1 × 8960)", |
| "shortDescription" : "", |
| "shape" : "[1, 1, 8960]", |
| "name" : "per_layer_combined", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float16", |
| "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 256)", |
| "shortDescription" : "", |
| "shape" : "[1, 1, 1, 256]", |
| "name" : "cos_s", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float16", |
| "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 256)", |
| "shortDescription" : "", |
| "shape" : "[1, 1, 1, 256]", |
| "name" : "sin_s", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float16", |
| "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 512)", |
| "shortDescription" : "", |
| "shape" : "[1, 1, 1, 512]", |
| "name" : "cos_f", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float16", |
| "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 512)", |
| "shortDescription" : "", |
| "shape" : "[1, 1, 1, 512]", |
| "name" : "sin_f", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float16", |
| "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 512)", |
| "shortDescription" : "", |
| "shape" : "[1, 1, 1, 512]", |
| "name" : "causal_mask", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float16", |
| "formattedType" : "MultiArray (Float16 1 × 1 × 512 × 1)", |
| "shortDescription" : "", |
| "shape" : "[1, 1, 512, 1]", |
| "name" : "update_mask", |
| "type" : "MultiArray" |
| } |
| ], |
| "generatedClassName" : "chunk2", |
| "method" : "predict" |
| } |
| ] |