| [ | |
| { | |
| "metadataOutputVersion" : "3.0", | |
| "storagePrecision" : "Float16", | |
| "outputSchema" : [ | |
| { | |
| "hasShapeFlexibility" : "0", | |
| "isOptional" : "0", | |
| "dataType" : "Float16", | |
| "formattedType" : "MultiArray (Float16 1 × 5 × 50257)", | |
| "shortDescription" : "", | |
| "shape" : "[1, 5, 50257]", | |
| "name" : "var_289", | |
| "type" : "MultiArray" | |
| } | |
| ], | |
| "modelParameters" : [ | |
| ], | |
| "specificationVersion" : 8, | |
| "mlProgramOperationTypeHistogram" : { | |
| "Ios17.layerNorm" : 5, | |
| "Ios17.reshape" : 22, | |
| "Ios17.cast" : 1, | |
| "Ios17.gather" : 1, | |
| "Split" : 2, | |
| "Ios17.matmul" : 12, | |
| "Ios17.add" : 7, | |
| "Ios17.transpose" : 8, | |
| "Ios16.softmax" : 2, | |
| "Ios16.gelu" : 2, | |
| "Ios17.linear" : 1 | |
| }, | |
| "computePrecision" : "Mixed (Float16, Int32)", | |
| "isUpdatable" : "0", | |
| "stateSchema" : [ | |
| ], | |
| "availability" : { | |
| "macOS" : "14.0", | |
| "tvOS" : "17.0", | |
| "visionOS" : "1.0", | |
| "watchOS" : "10.0", | |
| "iOS" : "17.0", | |
| "macCatalyst" : "17.0" | |
| }, | |
| "modelType" : { | |
| "name" : "MLModelType_mlProgram" | |
| }, | |
| "userDefinedMetadata" : { | |
| "com.github.apple.coremltools.source_dialect" : "TorchScript", | |
| "com.github.apple.coremltools.source" : "torch==2.6.0", | |
| "com.github.apple.coremltools.version" : "8.2" | |
| }, | |
| "inputSchema" : [ | |
| { | |
| "hasShapeFlexibility" : "0", | |
| "isOptional" : "0", | |
| "dataType" : "Float16", | |
| "formattedType" : "MultiArray (Float16 1 × 5)", | |
| "shortDescription" : "", | |
| "shape" : "[1, 5]", | |
| "name" : "input_ids_1", | |
| "type" : "MultiArray" | |
| } | |
| ], | |
| "generatedClassName" : "TinyGPT2", | |
| "method" : "predict" | |
| } | |
| ] |