| [ |
| { |
| "metadataOutputVersion" : "3.0", |
| "storagePrecision" : "Float32", |
| "outputSchema" : [ |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float32", |
| "formattedType" : "MultiArray (Float32 1 × 1 × 256206)", |
| "shortDescription" : "", |
| "shape" : "[1, 1, 256206]", |
| "name" : "logits", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float32", |
| "formattedType" : "MultiArray (Float32 12 × 1 × 16 × 2 × 64)", |
| "shortDescription" : "", |
| "shape" : "[12, 1, 16, 2, 64]", |
| "name" : "past_self_key", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float32", |
| "formattedType" : "MultiArray (Float32 12 × 1 × 16 × 2 × 64)", |
| "shortDescription" : "", |
| "shape" : "[12, 1, 16, 2, 64]", |
| "name" : "past_self_value", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float32", |
| "formattedType" : "MultiArray (Float32)", |
| "shortDescription" : "", |
| "shape" : "[]", |
| "name" : "past_cross_key", |
| "type" : "MultiArray" |
| }, |
| { |
| "hasShapeFlexibility" : "0", |
| "isOptional" : "0", |
| "dataType" : "Float32", |
| "formattedType" : "MultiArray (Float32)", |
| "shortDescription" : "", |
| "shape" : "[]", |
| "name" : "past_cross_value", |
| "type" : "MultiArray" |
| } |
| ], |
| "modelParameters" : [ |
|
|
| ], |
| "specificationVersion" : 7, |
| "mlProgramOperationTypeHistogram" : { |
| "Transpose" : 108, |
| "Ios16.gather" : 15, |
| "Ios16.softmax" : 24, |
| "Ios16.notEqual" : 1, |
| "Ios16.linear" : 121, |
| "Select" : 2, |
| "Concat" : 61, |
| "Ios16.realDiv" : 1, |
| "Ios16.add" : 62, |
| "Tile" : 1, |
| "Shape" : 14, |
| "ExpandDims" : 2, |
| "Ios16.sub" : 1, |
| "Ios16.cast" : 3, |
| "Ios16.reshape" : 99, |
| "Ios16.matmul" : 48, |
| "Ios16.relu" : 12, |
| "Ios16.layerNorm" : 37, |
| "Ios16.scatter" : 1, |
| "SliceByIndex" : 13, |
| "Ios16.equal" : 1, |
| "Stack" : 4, |
| "Ios16.mul" : 26, |
| "Ios16.cumsum" : 1 |
| }, |
| "computePrecision" : "Mixed (Float32, Int32)", |
| "isUpdatable" : "0", |
| "stateSchema" : [ |
|
|
| ], |
| "availability" : { |
| "macOS" : "13.0", |
| "tvOS" : "16.0", |
| "visionOS" : "1.0", |
| "watchOS" : "9.0", |
| "iOS" : "16.0", |
| "macCatalyst" : "16.0" |
| }, |
| "modelType" : { |
| "name" : "MLModelType_mlProgram" |
| }, |
| "userDefinedMetadata" : { |
| "com.github.apple.coremltools.conversion_date" : "2026-03-21", |
| "com.github.apple.coremltools.source" : "torch==2.8.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 × 2)", |
| "shortDescription" : "", |
| "shape" : "[1, 2]", |
| "name" : "input_ids", |
| "type" : "MultiArray" |
| }, |
| { |
| "dataType" : "Float32", |
| "hasShapeFlexibility" : "1", |
| "isOptional" : "0", |
| "shapeFlexibility" : "1 × 1...1024 × 1024", |
| "shapeRange" : "[[1, 1], [1, 1024], [1024, 1024]]", |
| "formattedType" : "MultiArray (Float32 1 × 1 × 1024)", |
| "type" : "MultiArray", |
| "shape" : "[1, 1, 1024]", |
| "name" : "encoder_hidden_states", |
| "shortDescription" : "" |
| }, |
| { |
| "dataType" : "Int32", |
| "hasShapeFlexibility" : "1", |
| "isOptional" : "0", |
| "shapeFlexibility" : "1 × 1...1024", |
| "shapeRange" : "[[1, 1], [1, 1024]]", |
| "formattedType" : "MultiArray (Int32 1 × 1)", |
| "type" : "MultiArray", |
| "shape" : "[1, 1]", |
| "name" : "encoder_attention_mask", |
| "shortDescription" : "" |
| } |
| ], |
| "generatedClassName" : "NLLB_Decoder_1024_init", |
| "method" : "predict" |
| } |
| ] |