Download base_lm_multifunction.mlmodelc/metadata.json from seba/VoxCPMANE2-Debug-Models: direct link, hf CLI and curl.
- Browser
- Download file 28.2 kB
-
https://huggingface.co/seba/VoxCPMANE2-Debug-Models/resolve/main/base_lm_multifunction.mlmodelc/metadata.json
- Command line
-
hf download hf://seba/VoxCPMANE2-Debug-Models/base_lm_multifunction.mlmodelc/metadata.json
-
curl -L -o metadata.json https://huggingface.co/seba/VoxCPMANE2-Debug-Models/resolve/main/base_lm_multifunction.mlmodelc/metadata.json
28.2 kB
| [ | |
| { | |
| "metadataOutputVersion" : "3.0", | |
| "storagePrecision" : "Mixed (Float16, Int8)", | |
| "outputSchema" : [ | |
| { | |
| "hasShapeFlexibility" : "0", | |
| "isOptional" : "0", | |
| "dataType" : "Float16", | |
| "formattedType" : "MultiArray (Float16 1 × 2048 × 1 × 1)", | |
| "shortDescription" : "", | |
| "shape" : "[1, 2048, 1, 1]", | |
| "name" : "hidden_states", | |
| "type" : "MultiArray" | |
| } | |
| ], | |
| "modelParameters" : [ | |
| ], | |
| "specificationVersion" : 9, | |
| "functions" : [ | |
| { | |
| "inputSchema" : [ | |
| { | |
| "hasShapeFlexibility" : "0", | |
| "isOptional" : "0", | |
| "dataType" : "Float32", | |
| "formattedType" : "MultiArray (Float32 1 × 2048 × 1 × 1)", | |
| "shortDescription" : "", | |
| "shape" : "[1, 2048, 1, 1]", | |
| "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 1)", | |
| "shortDescription" : "", | |
| "shape" : "[1]", | |
| "name" : "position_index_seed", | |
| "type" : "MultiArray" | |
| } | |
| ], | |
| "computePrecision" : "Mixed (Float16, Int32, UInt16)", | |
| "storagePrecision" : "Mixed (Float16, Int8)", | |
| "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" | |
| } | |
| ], | |
| "outputSchema" : [ | |
| { | |
| "hasShapeFlexibility" : "0", | |
| "isOptional" : "0", | |
| "dataType" : "Float16", | |
| "formattedType" : "MultiArray (Float16 1 × 2048 × 1 × 1)", | |
| "shortDescription" : "", | |
| "shape" : "[1, 2048, 1, 1]", | |
| "name" : "hidden_states", | |
| "type" : "MultiArray" | |
| } | |
| ], | |
| "name" : "main", | |
| "mlProgramOperationTypeHistogram" : { | |
| "Ios18.expandDims" : 6, | |
| "Ios18.mul" : 310, | |
| "Ios18.softmax" : 56, | |
| "Ios18.matmul" : 112, | |
| "Split" : 197, | |
| "Ios18.greaterEqual" : 2, | |
| "Select" : 2, | |
| "Ios18.readState" : 58, | |
| "Ios18.gather" : 3, | |
| "Ios18.add" : 174, | |
| "Ios18.writeState" : 56, | |
| "Ios18.sliceUpdate" : 56, | |
| "Ios18.reshape" : 112, | |
| "Ios16.reduceSum" : 1, | |
| "Ios18.layerNorm" : 57, | |
| "Ios18.conv" : 196, | |
| "Ios18.concat" : 197, | |
| "Ios18.transpose" : 86, | |
| "Ios18.sub" : 2, | |
| "Ios18.cast" : 2, | |
| "Ios18.silu" : 28, | |
| "Ios18.sliceByIndex" : 56, | |
| "Ios16.cumsum" : 1, | |
| "Ios18.constexprBlockwiseShiftScale" : 133 | |
| } | |
| }, | |
| { | |
| "inputSchema" : [ | |
| { | |
| "hasShapeFlexibility" : "0", | |
| "isOptional" : "0", | |
| "dataType" : "Float32", | |
| "formattedType" : "MultiArray (Float32 1 × 2048 × 1 × 1)", | |
| "shortDescription" : "", | |
| "shape" : "[1, 2048, 1, 1]", | |
| "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 1)", | |
| "shortDescription" : "", | |
| "shape" : "[1]", | |
| "name" : "position_index_seed", | |
| "type" : "MultiArray" | |
| } | |
| ], | |
| "computePrecision" : "Mixed (Float16, Int32, UInt16)", | |
| "storagePrecision" : "Mixed (Float16, Int8)", | |
| "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" | |
| } | |
| ], | |
| "outputSchema" : [ | |
| { | |
| "hasShapeFlexibility" : "0", | |
| "isOptional" : "0", | |
| "dataType" : "Float16", | |
| "formattedType" : "MultiArray (Float16 1 × 2048 × 1 × 1)", | |
| "shortDescription" : "", | |
| "shape" : "[1, 2048, 1, 1]", | |
| "name" : "hidden_states", | |
| "type" : "MultiArray" | |
| } | |
| ], | |
| "name" : "length_1", | |
| "mlProgramOperationTypeHistogram" : { | |
| "Ios18.expandDims" : 6, | |
| "Ios18.mul" : 310, | |
| "Ios18.softmax" : 56, | |
| "Ios18.matmul" : 112, | |
| "Split" : 197, | |
| "Ios18.greaterEqual" : 2, | |
| "Select" : 2, | |
| "Ios18.readState" : 58, | |
| "Ios18.gather" : 3, | |
| "Ios18.add" : 174, | |
| "Ios18.writeState" : 56, | |
| "Ios18.sliceUpdate" : 56, | |
| "Ios18.reshape" : 112, | |
| "Ios16.reduceSum" : 1, | |
| "Ios18.layerNorm" : 57, | |
| "Ios18.conv" : 196, | |
| "Ios18.concat" : 197, | |
| "Ios18.transpose" : 86, | |
| "Ios18.sub" : 2, | |
| "Ios18.cast" : 2, | |
| "Ios18.silu" : 28, | |
| "Ios18.sliceByIndex" : 56, | |
| "Ios16.cumsum" : 1, | |
| "Ios18.constexprBlockwiseShiftScale" : 133 | |
| } | |
| }, | |
| { | |
| "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" | |
| } | |
| ], | |
| "computePrecision" : "Mixed (Float16, Int32, UInt16)", | |
| "storagePrecision" : "Mixed (Float16, Int8)", | |
| "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" | |
| } | |
| ], | |
| "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" | |
| } | |
| ], | |
| "name" : "length_8", | |
| "mlProgramOperationTypeHistogram" : { | |
| "Ios18.expandDims" : 6, | |
| "Ios18.mul" : 310, | |
| "Ios18.softmax" : 56, | |
| "Ios18.matmul" : 112, | |
| "Split" : 197, | |
| "Ios18.greaterEqual" : 2, | |
| "Select" : 2, | |
| "Ios18.readState" : 58, | |
| "Ios18.gather" : 3, | |
| "Ios18.add" : 174, | |
| "Ios18.writeState" : 56, | |
| "Ios18.sliceUpdate" : 56, | |
| "Ios18.reshape" : 112, | |
| "Ios16.reduceSum" : 1, | |
| "Ios18.layerNorm" : 57, | |
| "Ios18.conv" : 196, | |
| "Ios18.concat" : 197, | |
| "Ios18.transpose" : 86, | |
| "Ios18.sub" : 2, | |
| "Ios18.cast" : 2, | |
| "Ios18.silu" : 28, | |
| "Ios18.sliceByIndex" : 56, | |
| "Ios16.cumsum" : 1, | |
| "Ios18.constexprBlockwiseShiftScale" : 133 | |
| } | |
| }, | |
| { | |
| "inputSchema" : [ | |
| { | |
| "hasShapeFlexibility" : "0", | |
| "isOptional" : "0", | |
| "dataType" : "Float32", | |
| "formattedType" : "MultiArray (Float32 1 × 2048 × 1 × 16)", | |
| "shortDescription" : "", | |
| "shape" : "[1, 2048, 1, 16]", | |
| "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 16)", | |
| "shortDescription" : "", | |
| "shape" : "[16]", | |
| "name" : "position_index_seed", | |
| "type" : "MultiArray" | |
| } | |
| ], | |
| "computePrecision" : "Mixed (Float16, Int32, UInt16)", | |
| "storagePrecision" : "Mixed (Float16, Int8)", | |
| "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" | |
| } | |
| ], | |
| "outputSchema" : [ | |
| { | |
| "hasShapeFlexibility" : "0", | |
| "isOptional" : "0", | |
| "dataType" : "Float16", | |
| "formattedType" : "MultiArray (Float16 1 × 2048 × 1 × 16)", | |
| "shortDescription" : "", | |
| "shape" : "[1, 2048, 1, 16]", | |
| "name" : "hidden_states", | |
| "type" : "MultiArray" | |
| } | |
| ], | |
| "name" : "length_16", | |
| "mlProgramOperationTypeHistogram" : { | |
| "Ios18.expandDims" : 6, | |
| "Ios18.mul" : 310, | |
| "Ios18.softmax" : 56, | |
| "Ios18.matmul" : 112, | |
| "Split" : 197, | |
| "Ios18.greaterEqual" : 2, | |
| "Select" : 2, | |
| "Ios18.readState" : 58, | |
| "Ios18.gather" : 3, | |
| "Ios18.add" : 174, | |
| "Ios18.writeState" : 56, | |
| "Ios18.sliceUpdate" : 56, | |
| "Ios18.reshape" : 112, | |
| "Ios16.reduceSum" : 1, | |
| "Ios18.layerNorm" : 57, | |
| "Ios18.conv" : 196, | |
| "Ios18.concat" : 197, | |
| "Ios18.transpose" : 86, | |
| "Ios18.sub" : 2, | |
| "Ios18.cast" : 2, | |
| "Ios18.silu" : 28, | |
| "Ios18.sliceByIndex" : 56, | |
| "Ios16.cumsum" : 1, | |
| "Ios18.constexprBlockwiseShiftScale" : 133 | |
| } | |
| }, | |
| { | |
| "inputSchema" : [ | |
| { | |
| "hasShapeFlexibility" : "0", | |
| "isOptional" : "0", | |
| "dataType" : "Float32", | |
| "formattedType" : "MultiArray (Float32 1 × 2048 × 1 × 32)", | |
| "shortDescription" : "", | |
| "shape" : "[1, 2048, 1, 32]", | |
| "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 32)", | |
| "shortDescription" : "", | |
| "shape" : "[32]", | |
| "name" : "position_index_seed", | |
| "type" : "MultiArray" | |
| } | |
| ], | |
| "computePrecision" : "Mixed (Float16, Int32, UInt16)", | |
| "storagePrecision" : "Mixed (Float16, Int8)", | |
| "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" | |
| } | |
| ], | |
| "outputSchema" : [ | |
| { | |
| "hasShapeFlexibility" : "0", | |
| "isOptional" : "0", | |
| "dataType" : "Float16", | |
| "formattedType" : "MultiArray (Float16 1 × 2048 × 1 × 32)", | |
| "shortDescription" : "", | |
| "shape" : "[1, 2048, 1, 32]", | |
| "name" : "hidden_states", | |
| "type" : "MultiArray" | |
| } | |
| ], | |
| "name" : "length_32", | |
| "mlProgramOperationTypeHistogram" : { | |
| "Ios18.expandDims" : 6, | |
| "Ios18.mul" : 310, | |
| "Ios18.softmax" : 56, | |
| "Ios18.matmul" : 112, | |
| "Split" : 197, | |
| "Ios18.greaterEqual" : 2, | |
| "Select" : 2, | |
| "Ios18.readState" : 58, | |
| "Ios18.gather" : 3, | |
| "Ios18.add" : 174, | |
| "Ios18.writeState" : 56, | |
| "Ios18.sliceUpdate" : 56, | |
| "Ios18.reshape" : 112, | |
| "Ios16.reduceSum" : 1, | |
| "Ios18.layerNorm" : 57, | |
| "Ios18.conv" : 196, | |
| "Ios18.concat" : 197, | |
| "Ios18.transpose" : 86, | |
| "Ios18.sub" : 2, | |
| "Ios18.cast" : 2, | |
| "Ios18.silu" : 28, | |
| "Ios18.sliceByIndex" : 56, | |
| "Ios16.cumsum" : 1, | |
| "Ios18.constexprBlockwiseShiftScale" : 133 | |
| } | |
| }, | |
| { | |
| "inputSchema" : [ | |
| { | |
| "hasShapeFlexibility" : "0", | |
| "isOptional" : "0", | |
| "dataType" : "Float32", | |
| "formattedType" : "MultiArray (Float32 1 × 2048 × 1 × 64)", | |
| "shortDescription" : "", | |
| "shape" : "[1, 2048, 1, 64]", | |
| "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 64)", | |
| "shortDescription" : "", | |
| "shape" : "[64]", | |
| "name" : "position_index_seed", | |
| "type" : "MultiArray" | |
| } | |
| ], | |
| "computePrecision" : "Mixed (Float16, Int32, UInt16)", | |
| "storagePrecision" : "Mixed (Float16, Int8)", | |
| "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" | |
| } | |
| ], | |
| "outputSchema" : [ | |
| { | |
| "hasShapeFlexibility" : "0", | |
| "isOptional" : "0", | |
| "dataType" : "Float16", | |
| "formattedType" : "MultiArray (Float16 1 × 2048 × 1 × 64)", | |
| "shortDescription" : "", | |
| "shape" : "[1, 2048, 1, 64]", | |
| "name" : "hidden_states", | |
| "type" : "MultiArray" | |
| } | |
| ], | |
| "name" : "length_64", | |
| "mlProgramOperationTypeHistogram" : { | |
| "Ios18.expandDims" : 6, | |
| "Ios18.mul" : 310, | |
| "Ios18.softmax" : 56, | |
| "Ios18.matmul" : 112, | |
| "Split" : 197, | |
| "Ios18.greaterEqual" : 2, | |
| "Select" : 2, | |
| "Ios18.readState" : 58, | |
| "Ios18.gather" : 3, | |
| "Ios18.add" : 174, | |
| "Ios18.writeState" : 56, | |
| "Ios18.sliceUpdate" : 56, | |
| "Ios18.reshape" : 112, | |
| "Ios16.reduceSum" : 1, | |
| "Ios18.layerNorm" : 57, | |
| "Ios18.conv" : 196, | |
| "Ios18.concat" : 197, | |
| "Ios18.transpose" : 86, | |
| "Ios18.sub" : 2, | |
| "Ios18.cast" : 2, | |
| "Ios18.silu" : 28, | |
| "Ios18.sliceByIndex" : 56, | |
| "Ios16.cumsum" : 1, | |
| "Ios18.constexprBlockwiseShiftScale" : 133 | |
| } | |
| }, | |
| { | |
| "inputSchema" : [ | |
| { | |
| "hasShapeFlexibility" : "0", | |
| "isOptional" : "0", | |
| "dataType" : "Float32", | |
| "formattedType" : "MultiArray (Float32 1 × 2048 × 1 × 128)", | |
| "shortDescription" : "", | |
| "shape" : "[1, 2048, 1, 128]", | |
| "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 128)", | |
| "shortDescription" : "", | |
| "shape" : "[128]", | |
| "name" : "position_index_seed", | |
| "type" : "MultiArray" | |
| } | |
| ], | |
| "computePrecision" : "Mixed (Float16, Int32, UInt16)", | |
| "storagePrecision" : "Mixed (Float16, Int8)", | |
| "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" | |
| } | |
| ], | |
| "outputSchema" : [ | |
| { | |
| "hasShapeFlexibility" : "0", | |
| "isOptional" : "0", | |
| "dataType" : "Float16", | |
| "formattedType" : "MultiArray (Float16 1 × 2048 × 1 × 128)", | |
| "shortDescription" : "", | |
| "shape" : "[1, 2048, 1, 128]", | |
| "name" : "hidden_states", | |
| "type" : "MultiArray" | |
| } | |
| ], | |
| "name" : "length_128", | |
| "mlProgramOperationTypeHistogram" : { | |
| "Ios18.expandDims" : 6, | |
| "Ios18.mul" : 310, | |
| "Ios18.softmax" : 56, | |
| "Ios18.matmul" : 112, | |
| "Split" : 197, | |
| "Ios18.greaterEqual" : 2, | |
| "Select" : 2, | |
| "Ios18.readState" : 58, | |
| "Ios18.gather" : 3, | |
| "Ios18.add" : 174, | |
| "Ios18.writeState" : 56, | |
| "Ios18.sliceUpdate" : 56, | |
| "Ios18.reshape" : 112, | |
| "Ios16.reduceSum" : 1, | |
| "Ios18.layerNorm" : 57, | |
| "Ios18.conv" : 196, | |
| "Ios18.concat" : 197, | |
| "Ios18.transpose" : 86, | |
| "Ios18.sub" : 2, | |
| "Ios18.cast" : 2, | |
| "Ios18.silu" : 28, | |
| "Ios18.sliceByIndex" : 56, | |
| "Ios16.cumsum" : 1, | |
| "Ios18.constexprBlockwiseShiftScale" : 133 | |
| } | |
| }, | |
| { | |
| "inputSchema" : [ | |
| { | |
| "hasShapeFlexibility" : "0", | |
| "isOptional" : "0", | |
| "dataType" : "Float32", | |
| "formattedType" : "MultiArray (Float32 1 × 2048 × 1 × 256)", | |
| "shortDescription" : "", | |
| "shape" : "[1, 2048, 1, 256]", | |
| "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 256)", | |
| "shortDescription" : "", | |
| "shape" : "[256]", | |
| "name" : "position_index_seed", | |
| "type" : "MultiArray" | |
| } | |
| ], | |
| "computePrecision" : "Mixed (Float16, Int32, UInt16)", | |
| "storagePrecision" : "Mixed (Float16, Int8)", | |
| "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" | |
| } | |
| ], | |
| "outputSchema" : [ | |
| { | |
| "hasShapeFlexibility" : "0", | |
| "isOptional" : "0", | |
| "dataType" : "Float16", | |
| "formattedType" : "MultiArray (Float16 1 × 2048 × 1 × 256)", | |
| "shortDescription" : "", | |
| "shape" : "[1, 2048, 1, 256]", | |
| "name" : "hidden_states", | |
| "type" : "MultiArray" | |
| } | |
| ], | |
| "name" : "length_256", | |
| "mlProgramOperationTypeHistogram" : { | |
| "Ios18.expandDims" : 6, | |
| "Ios18.mul" : 310, | |
| "Ios18.softmax" : 56, | |
| "Ios18.matmul" : 112, | |
| "Split" : 197, | |
| "Ios18.greaterEqual" : 2, | |
| "Select" : 2, | |
| "Ios18.readState" : 58, | |
| "Ios18.gather" : 3, | |
| "Ios18.add" : 174, | |
| "Ios18.writeState" : 56, | |
| "Ios18.sliceUpdate" : 56, | |
| "Ios18.reshape" : 112, | |
| "Ios16.reduceSum" : 1, | |
| "Ios18.layerNorm" : 57, | |
| "Ios18.conv" : 196, | |
| "Ios18.concat" : 197, | |
| "Ios18.transpose" : 86, | |
| "Ios18.sub" : 2, | |
| "Ios18.cast" : 2, | |
| "Ios18.silu" : 28, | |
| "Ios18.sliceByIndex" : 56, | |
| "Ios16.cumsum" : 1, | |
| "Ios18.constexprBlockwiseShiftScale" : 133 | |
| } | |
| } | |
| ], | |
| "mlProgramOperationTypeHistogram" : { | |
| "Ios18.expandDims" : 6, | |
| "Ios18.mul" : 310, | |
| "Ios18.softmax" : 56, | |
| "Ios18.matmul" : 112, | |
| "Split" : 197, | |
| "Ios18.greaterEqual" : 2, | |
| "Select" : 2, | |
| "Ios18.readState" : 58, | |
| "Ios18.gather" : 3, | |
| "Ios18.add" : 174, | |
| "Ios18.writeState" : 56, | |
| "Ios18.sliceUpdate" : 56, | |
| "Ios18.reshape" : 112, | |
| "Ios16.reduceSum" : 1, | |
| "Ios18.layerNorm" : 57, | |
| "Ios18.conv" : 196, | |
| "Ios18.concat" : 197, | |
| "Ios18.transpose" : 86, | |
| "Ios18.sub" : 2, | |
| "Ios18.cast" : 2, | |
| "Ios18.silu" : 28, | |
| "Ios18.sliceByIndex" : 56, | |
| "Ios16.cumsum" : 1, | |
| "Ios18.constexprBlockwiseShiftScale" : 133 | |
| }, | |
| "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" | |
| }, | |
| "computePrecision" : "Mixed (Float16, Int32, UInt16)", | |
| "modelType" : { | |
| "name" : "MLModelType_mlProgram" | |
| }, | |
| "inputSchema" : [ | |
| { | |
| "hasShapeFlexibility" : "0", | |
| "isOptional" : "0", | |
| "dataType" : "Float32", | |
| "formattedType" : "MultiArray (Float32 1 × 2048 × 1 × 1)", | |
| "shortDescription" : "", | |
| "shape" : "[1, 2048, 1, 1]", | |
| "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 1)", | |
| "shortDescription" : "", | |
| "shape" : "[1]", | |
| "name" : "position_index_seed", | |
| "type" : "MultiArray" | |
| } | |
| ], | |
| "defaultFunctionName" : "main", | |
| "generatedClassName" : "base_lm_multifunction", | |
| "userDefinedMetadata" : { | |
| "com.github.apple.coremltools.version" : "9.0", | |
| "com.github.apple.coremltools.source" : "milinternal", | |
| "com.github.apple.coremltools.conversion_date" : "2026-09-06" | |
| }, | |
| "method" : "predict" | |
| } | |
| ] |