aoiandroid's picture
NLLB-200 600M ANE-native pack (W8, enc 128 / dec 128) with precompiled .mlmodelc
7cfe7bd verified
Raw History Blame Contribute Delete
2.79 kB
[
{
"metadataOutputVersion" : "3.0",
"shortDescription" : "NLLB-200 distilled 600M, ANE-native layout",
"outputSchema" : [
{
"hasShapeFlexibility" : "0",
"isOptional" : "0",
"dataType" : "Float16",
"formattedType" : "MultiArray (Float16 1 × 12288 × 1 × 128)",
"shortDescription" : "",
"shape" : "[1, 12288, 1, 128]",
"name" : "cross_k",
"type" : "MultiArray"
},
{
"hasShapeFlexibility" : "0",
"isOptional" : "0",
"dataType" : "Float16",
"formattedType" : "MultiArray (Float16 1 × 12288 × 1 × 128)",
"shortDescription" : "",
"shape" : "[1, 12288, 1, 128]",
"name" : "cross_v",
"type" : "MultiArray"
}
],
"storagePrecision" : "Mixed (Float16, Int32, Int8)",
"modelParameters" : [
],
"author" : "TranslateBlue (converted from facebook\/nllb-200-distilled-600M, CC-BY-NC-4.0)",
"specificationVersion" : 9,
"mlProgramOperationTypeHistogram" : {
"Ios18.batchNorm" : 25,
"Ios18.conv" : 96,
"Ios18.sub" : 25,
"Ios18.expandDims" : 2,
"Ios18.relu" : 12,
"Ios18.concat" : 14,
"Ios16.einsum" : 384,
"Ios18.rsqrt" : 25,
"Ios18.add" : 241,
"Ios16.reduceMean" : 50,
"Ios18.softmax" : 192,
"Ios18.transpose" : 12,
"Ios18.constexprBlockwiseShiftScale" : 96,
"Split" : 36,
"Ios18.mul" : 75
},
"computePrecision" : "Mixed (Float16, Float32, Int32)",
"isUpdatable" : "0",
"stateSchema" : [
],
"availability" : {
"macOS" : "15.0",
"tvOS" : "18.0",
"visionOS" : "2.0",
"watchOS" : "11.0",
"iOS" : "18.0",
"macCatalyst" : "18.0"
},
"modelType" : {
"name" : "MLModelType_mlProgram"
},
"inputSchema" : [
{
"hasShapeFlexibility" : "0",
"isOptional" : "0",
"dataType" : "Float16",
"formattedType" : "MultiArray (Float16 1 × 1024 × 1 × 128)",
"shortDescription" : "",
"shape" : "[1, 1024, 1, 128]",
"name" : "inputs_embeds",
"type" : "MultiArray"
},
{
"hasShapeFlexibility" : "0",
"isOptional" : "0",
"dataType" : "Float16",
"formattedType" : "MultiArray (Float16 1 × 128)",
"shortDescription" : "",
"shape" : "[1, 128]",
"name" : "attention_mask",
"type" : "MultiArray"
}
],
"userDefinedMetadata" : {
"com.github.apple.coremltools.source_dialect" : "TorchScript",
"com.github.apple.coremltools.source" : "torch==2.7.1",
"com.github.apple.coremltools.version" : "8.3.0"
},
"generatedClassName" : "NLLB_ANE_Encoder_128",
"method" : "predict"
}
]