[ { "metadataOutputVersion" : "3.0", "storagePrecision" : "Float16", "outputSchema" : [ { "hasShapeFlexibility" : "0", "isOptional" : "0", "dataType" : "Float32", "formattedType" : "MultiArray (Float32 1 × 3)", "shortDescription" : "", "shape" : "[1, 3]", "name" : "logits", "type" : "MultiArray" } ], "modelParameters" : [ ], "specificationVersion" : 9, "functions" : [ { "inputSchema" : [ { "hasShapeFlexibility" : "0", "isOptional" : "0", "dataType" : "Int32", "formattedType" : "MultiArray (Int32 1 × 128)", "shortDescription" : "", "shape" : "[1, 128]", "name" : "input_ids", "type" : "MultiArray" }, { "hasShapeFlexibility" : "0", "isOptional" : "0", "dataType" : "Int32", "formattedType" : "MultiArray (Int32 1 × 128)", "shortDescription" : "", "shape" : "[1, 128]", "name" : "attention_mask", "type" : "MultiArray" } ], "computePrecision" : "Mixed (Float16, Float32, Int32)", "storagePrecision" : "Float16", "stateSchema" : [ ], "outputSchema" : [ { "hasShapeFlexibility" : "0", "isOptional" : "0", "dataType" : "Float32", "formattedType" : "MultiArray (Float32 1 × 3)", "shortDescription" : "", "shape" : "[1, 3]", "name" : "logits", "type" : "MultiArray" } ], "name" : "len128", "mlProgramOperationTypeHistogram" : { "Ios18.expandDims" : 3, "Ios18.softmax" : 28, "Ios18.mul" : 226, "Ios18.matmul" : 56, "Ios18.realDiv" : 1, "Split" : 56, "Ios18.greaterEqual" : 1, "Select" : 1, "Ios16.reduceSum" : 2, "Ios18.gather" : 1, "Ios18.add" : 142, "Ios18.layerNorm" : 58, "Ios18.reshape" : 56, "Ios18.linear" : 114, "Ios18.concat" : 56, "Ios18.gelu" : 29, "Ios18.sub" : 1, "Ios18.cast" : 2, "Ios18.transpose" : 112, "Ios18.sliceByIndex" : 112, "Ios18.squeeze" : 84 } }, { "inputSchema" : [ { "hasShapeFlexibility" : "0", "isOptional" : "0", "dataType" : "Int32", "formattedType" : "MultiArray (Int32 1 × 192)", "shortDescription" : "", "shape" : "[1, 192]", "name" : "input_ids", "type" : "MultiArray" }, { "hasShapeFlexibility" : "0", "isOptional" : "0", "dataType" : "Int32", "formattedType" : "MultiArray (Int32 1 × 192)", "shortDescription" : "", "shape" : "[1, 192]", "name" : "attention_mask", "type" : "MultiArray" } ], "computePrecision" : "Mixed (Float16, Float32, Int32)", "storagePrecision" : "Float16", "stateSchema" : [ ], "outputSchema" : [ { "hasShapeFlexibility" : "0", "isOptional" : "0", "dataType" : "Float32", "formattedType" : "MultiArray (Float32 1 × 3)", "shortDescription" : "", "shape" : "[1, 3]", "name" : "logits", "type" : "MultiArray" } ], "name" : "len192", "mlProgramOperationTypeHistogram" : { "Ios18.expandDims" : 3, "Ios18.softmax" : 28, "Ios18.mul" : 226, "Ios18.matmul" : 56, "Ios18.realDiv" : 1, "Split" : 56, "Ios18.greaterEqual" : 1, "Select" : 1, "Ios16.reduceSum" : 2, "Ios18.gather" : 1, "Ios18.add" : 142, "Ios18.layerNorm" : 58, "Ios18.reshape" : 56, "Ios18.linear" : 114, "Ios18.concat" : 56, "Ios18.gelu" : 29, "Ios18.sub" : 1, "Ios18.cast" : 2, "Ios18.transpose" : 112, "Ios18.sliceByIndex" : 112, "Ios18.squeeze" : 84 } }, { "inputSchema" : [ { "hasShapeFlexibility" : "0", "isOptional" : "0", "dataType" : "Int32", "formattedType" : "MultiArray (Int32 1 × 224)", "shortDescription" : "", "shape" : "[1, 224]", "name" : "input_ids", "type" : "MultiArray" }, { "hasShapeFlexibility" : "0", "isOptional" : "0", "dataType" : "Int32", "formattedType" : "MultiArray (Int32 1 × 224)", "shortDescription" : "", "shape" : "[1, 224]", "name" : "attention_mask", "type" : "MultiArray" } ], "computePrecision" : "Mixed (Float16, Float32, Int32)", "storagePrecision" : "Float16", "stateSchema" : [ ], "outputSchema" : [ { "hasShapeFlexibility" : "0", "isOptional" : "0", "dataType" : "Float32", "formattedType" : "MultiArray (Float32 1 × 3)", "shortDescription" : "", "shape" : "[1, 3]", "name" : "logits", "type" : "MultiArray" } ], "name" : "len224", "mlProgramOperationTypeHistogram" : { "Ios18.expandDims" : 3, "Ios18.softmax" : 28, "Ios18.mul" : 226, "Ios18.matmul" : 56, "Ios18.realDiv" : 1, "Split" : 56, "Ios18.greaterEqual" : 1, "Select" : 1, "Ios16.reduceSum" : 2, "Ios18.gather" : 1, "Ios18.add" : 142, "Ios18.layerNorm" : 58, "Ios18.reshape" : 56, "Ios18.linear" : 114, "Ios18.concat" : 56, "Ios18.gelu" : 29, "Ios18.sub" : 1, "Ios18.cast" : 2, "Ios18.transpose" : 112, "Ios18.sliceByIndex" : 112, "Ios18.squeeze" : 84 } } ], "mlProgramOperationTypeHistogram" : { "Ios18.expandDims" : 3, "Ios18.softmax" : 28, "Ios18.mul" : 226, "Ios18.matmul" : 56, "Ios18.realDiv" : 1, "Split" : 56, "Ios18.greaterEqual" : 1, "Select" : 1, "Ios16.reduceSum" : 2, "Ios18.gather" : 1, "Ios18.add" : 142, "Ios18.layerNorm" : 58, "Ios18.reshape" : 56, "Ios18.linear" : 114, "Ios18.concat" : 56, "Ios18.gelu" : 29, "Ios18.sub" : 1, "Ios18.cast" : 2, "Ios18.transpose" : 112, "Ios18.sliceByIndex" : 112, "Ios18.squeeze" : 84 }, "isUpdatable" : "0", "stateSchema" : [ ], "availability" : { "macOS" : "15.0", "tvOS" : "18.0", "visionOS" : "2.0", "watchOS" : "11.0", "iOS" : "18.0", "macCatalyst" : "18.0" }, "computePrecision" : "Mixed (Float16, Float32, Int32)", "modelType" : { "name" : "MLModelType_mlProgram" }, "inputSchema" : [ { "hasShapeFlexibility" : "0", "isOptional" : "0", "dataType" : "Int32", "formattedType" : "MultiArray (Int32 1 × 128)", "shortDescription" : "", "shape" : "[1, 128]", "name" : "input_ids", "type" : "MultiArray" }, { "hasShapeFlexibility" : "0", "isOptional" : "0", "dataType" : "Int32", "formattedType" : "MultiArray (Int32 1 × 128)", "shortDescription" : "", "shape" : "[1, 128]", "name" : "attention_mask", "type" : "MultiArray" } ], "defaultFunctionName" : "len128", "generatedClassName" : "judgment", "userDefinedMetadata" : { }, "method" : "predict" } ]