alexwengg's picture
Upload 16 files
cc7b0cd verified
[
{
"metadataOutputVersion" : "3.0",
"storagePrecision" : "Float32",
"outputSchema" : [
{
"hasShapeFlexibility" : "0",
"isOptional" : "0",
"dataType" : "Float32",
"formattedType" : "MultiArray (Float32)",
"shortDescription" : "",
"shape" : "[]",
"name" : "last_hidden_state",
"type" : "MultiArray"
}
],
"modelParameters" : [
],
"specificationVersion" : 8,
"mlProgramOperationTypeHistogram" : {
"Range1d" : 1,
"Ios17.reshape" : 48,
"Ios16.reduceMean" : 25,
"Ios16.softmax" : 12,
"Ios17.matmul" : 24,
"Ios17.transpose" : 49,
"Select" : 3,
"Ios17.expandDims" : 5,
"Ios17.add" : 66,
"Ios16.fillLike" : 1,
"Shape" : 1,
"Ios17.gather" : 3,
"Ios17.log" : 1,
"Ios17.less" : 1,
"Ios17.sub" : 2,
"Ios17.pow" : 25,
"Ios17.cast" : 4,
"Ios16.gelu" : 12,
"Ios17.linear" : 84,
"Ios17.abs" : 1,
"Ios17.greaterEqual" : 2,
"Ios17.minimum" : 1,
"Ios17.rsqrt" : 25,
"Ios17.greater" : 1,
"Ios17.mul" : 67
},
"computePrecision" : "Mixed (Float32, 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.conversion_date" : "2026-03-13",
"com.github.apple.coremltools.source" : "torch==2.7.0",
"com.github.apple.coremltools.version" : "9.0",
"com.github.apple.coremltools.source_dialect" : "TorchScript"
},
"inputSchema" : [
{
"dataType" : "Int32",
"hasShapeFlexibility" : "1",
"isOptional" : "0",
"shapeFlexibility" : "1 × 1...64",
"shapeRange" : "[[1, 1], [1, 64]]",
"formattedType" : "MultiArray (Int32 1 × 16)",
"type" : "MultiArray",
"shape" : "[1, 16]",
"name" : "input_ids",
"shortDescription" : ""
},
{
"dataType" : "Int32",
"hasShapeFlexibility" : "1",
"isOptional" : "0",
"shapeFlexibility" : "1 × 1...64",
"shapeRange" : "[[1, 1], [1, 64]]",
"formattedType" : "MultiArray (Int32 1 × 16)",
"type" : "MultiArray",
"shape" : "[1, 16]",
"name" : "attention_mask",
"shortDescription" : ""
}
],
"generatedClassName" : "G2PEncoder",
"method" : "predict"
}
]