| [ |
| { |
| "metadataOutputVersion" : "3.0", |
| "storagePrecision" : "Float16", |
| "outputSchema" : [ |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Int8", |
| "formattedType" : "MultiArray (Int8 1 × 1024)", |
| "shortDescription" : "", |
| "shape" : "[1, 1024]", |
| "name" : "embedding", |
| "type" : "MultiArray" |
| } |
| ], |
| "modelParameters" : [ |
|
|
| ], |
| "specificationVersion" : 10, |
| "mlProgramOperationTypeHistogram" : { |
| "Ios18.softmax" : 28, |
| "Ios19.mul" : 453, |
| "Ios18.rsqrt" : 113, |
| "Ios18.matmul" : 56, |
| "Ios19.maximum" : 1, |
| "Ios16.reduceMean" : 113, |
| "Ios19.squeeze" : 28, |
| "Tile" : 57, |
| "Ios18.gather" : 3, |
| "Ios16.reduceSum" : 2, |
| "Ios19.add" : 255, |
| "Ios16.fillLike" : 1, |
| "Ios19.concat" : 56, |
| "Ios19.transpose" : 252, |
| "Ios19.realDiv" : 1, |
| "Ios18.round" : 1, |
| "Ios19.expandDims" : 113, |
| "Ios18.conv" : 196, |
| "Ios18.cast" : 2, |
| "Ios18.silu" : 28, |
| "Ios19.split" : 56, |
| "Ios18.tanh" : 1, |
| "Ios19.sliceByIndex" : 1, |
| "Ios19.sub" : 2, |
| "Ios19.select" : 2, |
| "Ios19.pow" : 113, |
| "Ios19.greaterEqual" : 2, |
| "Ios18.clip" : 1, |
| "Ios16.cumsum" : 1, |
| "Ios19.reshape" : 171 |
| }, |
| "computePrecision" : "Mixed (Float16, Float32, Int32, Int8)", |
| "isUpdatable" : "0", |
| "stateSchema" : [ |
|
|
| ], |
| "availability" : { |
| "macOS" : "16.0", |
| "tvOS" : "19.0", |
| "visionOS" : "3.0", |
| "watchOS" : "12.0", |
| "iOS" : "19.0", |
| "macCatalyst" : "19.0" |
| }, |
| "modelType" : { |
| "name" : "MLModelType_mlProgram" |
| }, |
| "userDefinedMetadata" : { |
| "com.github.apple.coremltools.conversion_date" : "2026-06-18", |
| "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" : "Int32", |
| "formattedType" : "MultiArray (Int32 1 × 1024)", |
| "shortDescription" : "", |
| "shape" : "[1, 1024]", |
| "name" : "input_ids", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float16", |
| "formattedType" : "MultiArray (Float16 1 × 1024)", |
| "shortDescription" : "", |
| "shape" : "[1, 1024]", |
| "name" : "attention_mask", |
| "type" : "MultiArray" |
| } |
| ], |
| "generatedClassName" : "encoder", |
| "method" : "predict" |
| } |
| ] |