ZachNagengast's picture
Upload 5 files
b8f21db verified
[
{
"metadataOutputVersion" : "3.0",
"storagePrecision" : "Float16",
"outputSchema" : [
{
"hasShapeFlexibility" : "0",
"isOptional" : "0",
"dataType" : "Float16",
"formattedType" : "MultiArray (Float16 1 × 4096 × 1 × 77)",
"shortDescription" : "",
"shape" : "[1, 4096, 1, 77]",
"name" : "encoder_hidden_states",
"type" : "MultiArray"
}
],
"modelParameters" : [
],
"specificationVersion" : 7,
"mlProgramOperationTypeHistogram" : {
"Ios16.rsqrt" : 49,
"Ios16.mul" : 171,
"Transpose" : 1,
"Ios16.conv" : 168,
"Ios16.add" : 145,
"Ios16.reduceMean" : 49,
"Ios16.matmul" : 48,
"Ios16.clip" : 49,
"Ios16.gelu" : 24,
"ExpandDims" : 3,
"Ios16.gather" : 1,
"Ios16.softmax" : 24,
"Ios16.reshape" : 96
},
"computePrecision" : "Mixed (Float16, Int32)",
"isUpdatable" : "0",
"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.source_dialect" : "TorchScript",
"com.github.apple.coremltools.source" : "torch==2.2.1",
"com.github.apple.coremltools.version" : "7.1"
},
"inputSchema" : [
{
"hasShapeFlexibility" : "0",
"isOptional" : "0",
"dataType" : "Int32",
"formattedType" : "MultiArray (Int32 1 × 77)",
"shortDescription" : "",
"shape" : "[1, 77]",
"name" : "input_ids",
"type" : "MultiArray"
},
{
"hasShapeFlexibility" : "0",
"isOptional" : "0",
"dataType" : "Float16",
"formattedType" : "MultiArray (Float16 1 × 77)",
"shortDescription" : "",
"shape" : "[1, 77]",
"name" : "attention_mask",
"type" : "MultiArray"
}
],
"generatedClassName" : "T5Encoder_maxSeqLen77",
"method" : "predict"
}
]