| [ | |
| { | |
| "metadataOutputVersion" : "3.0", | |
| "storagePrecision" : "Float16", | |
| "outputSchema" : [ | |
| { | |
| "hasShapeFlexibility" : "0", | |
| "isOptional" : "0", | |
| "dataType" : "Float16", | |
| "formattedType" : "MultiArray (Float16 1 × 640)", | |
| "shortDescription" : "", | |
| "shape" : "[1, 640]", | |
| "name" : "decoder_output_projected", | |
| "type" : "MultiArray" | |
| }, | |
| { | |
| "hasShapeFlexibility" : "0", | |
| "isOptional" : "0", | |
| "dataType" : "Float16", | |
| "formattedType" : "MultiArray (Float16 2 × 640)", | |
| "shortDescription" : "", | |
| "shape" : "[2, 640]", | |
| "name" : "new_state_1", | |
| "type" : "MultiArray" | |
| }, | |
| { | |
| "hasShapeFlexibility" : "0", | |
| "isOptional" : "0", | |
| "dataType" : "Float16", | |
| "formattedType" : "MultiArray (Float16 2 × 640)", | |
| "shortDescription" : "", | |
| "shape" : "[2, 640]", | |
| "name" : "new_state_2", | |
| "type" : "MultiArray" | |
| } | |
| ], | |
| "modelParameters" : [ | |
| ], | |
| "specificationVersion" : 8, | |
| "mlProgramOperationTypeHistogram" : { | |
| "Ios17.squeeze" : 7, | |
| "Ios17.gather" : 1, | |
| "Ios17.cast" : 1, | |
| "Ios17.lstm" : 2, | |
| "Split" : 2, | |
| "Ios17.linear" : 1, | |
| "Stack" : 2, | |
| "Ios17.expandDims" : 3 | |
| }, | |
| "computePrecision" : "Mixed (Float16, Int16, 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" : "Int32", | |
| "formattedType" : "MultiArray (Int32 1)", | |
| "shortDescription" : "", | |
| "shape" : "[1]", | |
| "name" : "decoder_input_ids", | |
| "type" : "MultiArray" | |
| }, | |
| { | |
| "hasShapeFlexibility" : "0", | |
| "isOptional" : "0", | |
| "dataType" : "Float16", | |
| "formattedType" : "MultiArray (Float16 2 × 640)", | |
| "shortDescription" : "", | |
| "shape" : "[2, 640]", | |
| "name" : "state_1", | |
| "type" : "MultiArray" | |
| }, | |
| { | |
| "hasShapeFlexibility" : "0", | |
| "isOptional" : "0", | |
| "dataType" : "Float16", | |
| "formattedType" : "MultiArray (Float16 2 × 640)", | |
| "shortDescription" : "", | |
| "shape" : "[2, 640]", | |
| "name" : "state_2", | |
| "type" : "MultiArray" | |
| } | |
| ], | |
| "generatedClassName" : "TextDecoder", | |
| "method" : "predict" | |
| } | |
| ] |