innerloop-dev's picture
mdbr-leaf-ir 4262131b as Core ML fp16 (m:1845)
bd7bc12 verified
Raw History Blame Contribute Delete
2.64 kB
[
{
"metadataOutputVersion" : "3.0",
"shortDescription" : "MongoDB\/mdbr-leaf-ir, its own pooling\/dense\/normalize, unit length, buckets [16, 32, 64, 128, 256, 512]",
"outputSchema" : [
{
"hasShapeFlexibility" : "0",
"isOptional" : "0",
"dataType" : "Float32",
"formattedType" : "MultiArray (Float32)",
"shortDescription" : "",
"shape" : "[]",
"name" : "embedding",
"type" : "MultiArray"
}
],
"storagePrecision" : "Float16",
"modelParameters" : [
],
"specificationVersion" : 8,
"mlProgramOperationTypeHistogram" : {
"Ios16.reduceL2Norm" : 2,
"Ios17.equal" : 4,
"Ios17.notEqual" : 1,
"Ios17.reshape" : 24,
"Ios16.softmax" : 6,
"Ios17.matmul" : 12,
"Ios17.transpose" : 24,
"Ios17.maximum" : 2,
"Select" : 5,
"Ios17.expandDims" : 3,
"Ios17.add" : 20,
"Tile" : 4,
"Ios17.sliceByIndex" : 1,
"Ios16.reduceSum" : 2,
"Shape" : 9,
"Ios17.gather" : 5,
"Ios17.layerNorm" : 13,
"Ios17.cast" : 12,
"Ios17.sub" : 2,
"Ios16.gelu" : 6,
"Ios17.clip" : 1,
"Ios17.realDiv" : 7,
"Ios17.linear" : 37,
"Ios17.concat" : 3,
"Ios17.mul" : 7
},
"computePrecision" : "Mixed (Float16, Float32, Int16, Int32, UInt16)",
"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"
},
"inputSchema" : [
{
"shortDescription" : "",
"dataType" : "Int32",
"hasShapeFlexibility" : "1",
"isOptional" : "0",
"shapeFlexibility" : "1 × 16 | 1 × 32 | 1 × 64 | 1 × 128 | 1 × 256 | 1 × 512",
"formattedType" : "MultiArray (Int32 1 × 16)",
"type" : "MultiArray",
"shape" : "[1, 16]",
"name" : "input_ids",
"enumeratedShapes" : "[[1, 16], [1, 32], [1, 64], [1, 128], [1, 256], [1, 512]]"
}
],
"userDefinedMetadata" : {
"maxlen" : "512",
"com.github.apple.coremltools.version" : "9.0",
"com.github.apple.coremltools.conversion_date" : "2026-10-04",
"repo" : "MongoDB\/mdbr-leaf-ir",
"com.github.apple.coremltools.source" : "torch==2.14.1",
"com.github.apple.coremltools.source_dialect" : "TorchScript",
"buckets" : "[16, 32, 64, 128, 256, 512]"
},
"generatedClassName" : "leaf",
"method" : "predict"
}
]