[ { "metadataOutputVersion" : "3.0", "storagePrecision" : "Mixed (Float16, Int32, Int8)", "outputSchema" : [ { "hasShapeFlexibility" : "0", "isOptional" : "0", "dataType" : "Float16", "formattedType" : "MultiArray (Float16 1 × 2048 × 1 × 8)", "shortDescription" : "", "shape" : "[1, 2048, 1, 8]", "name" : "hidden_states", "type" : "MultiArray" } ], "modelParameters" : [ ], "specificationVersion" : 9, "mlProgramOperationTypeHistogram" : { "Ios18.expandDims" : 5, "Ios18.mul" : 309, "Ios18.softmax" : 56, "Ios18.matmul" : 112, "Ios18.equal" : 1, "Split" : 197, "Ios18.greaterEqual" : 1, "Select" : 2, "Ios18.greater" : 1, "Ios18.readState" : 58, "Ios18.gather" : 2, "Ios18.add" : 171, "Ios18.layerNorm" : 57, "Ios16.fillLike" : 1, "Ios18.reshape" : 112, "Ios18.sliceUpdate" : 56, "Ios18.writeState" : 56, "Ios18.conv" : 196, "Ios18.concat" : 197, "Ios18.transpose" : 87, "Ios18.sub" : 1, "Ios18.cast" : 4, "Ios18.silu" : 28, "Ios18.sliceByIndex" : 56, "Ios16.cumsum" : 1, "Ios18.constexprBlockwiseShiftScale" : 133 }, "computePrecision" : "Mixed (Float16, Int32)", "isUpdatable" : "0", "stateSchema" : [ { "dataType" : "Float16", "isOptional" : "0", "formattedType" : "State (Float16 28 × 2 × 2048 × 128)", "shortDescription" : "", "shape" : "[28, 2, 2048, 128]", "name" : "key_cache", "type" : "State" }, { "dataType" : "Float16", "isOptional" : "0", "formattedType" : "State (Float16 28 × 2 × 2048 × 128)", "shortDescription" : "", "shape" : "[28, 2, 2048, 128]", "name" : "value_cache", "type" : "State" } ], "availability" : { "macOS" : "15.0", "tvOS" : "18.0", "visionOS" : "2.0", "watchOS" : "11.0", "iOS" : "18.0", "macCatalyst" : "18.0" }, "modelType" : { "name" : "MLModelType_mlProgram" }, "userDefinedMetadata" : { "com.github.apple.coremltools.conversion_date" : "2026-06-09", "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" : "Float32", "formattedType" : "MultiArray (Float32 1 × 2048 × 1 × 8)", "shortDescription" : "", "shape" : "[1, 2048, 1, 8]", "name" : "inputs_embeds", "type" : "MultiArray" }, { "hasShapeFlexibility" : "0", "isOptional" : "0", "dataType" : "Int32", "formattedType" : "MultiArray (Int32 1)", "shortDescription" : "", "shape" : "[1]", "name" : "position_id", "type" : "MultiArray" }, { "hasShapeFlexibility" : "0", "isOptional" : "0", "dataType" : "Int32", "formattedType" : "MultiArray (Int32 8)", "shortDescription" : "", "shape" : "[8]", "name" : "position_index_seed", "type" : "MultiArray" } ], "generatedClassName" : "base_lm_s8", "method" : "predict" } ]