File size: 2,665 Bytes
1fe25f4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | [
{
"shortDescription" : "Anemll Model (LM Head) converted to CoreML",
"metadataOutputVersion" : "3.0",
"outputSchema" : [
{
"hasShapeFlexibility" : "0",
"isOptional" : "0",
"dataType" : "Int32",
"formattedType" : "MultiArray (Int32 16)",
"shortDescription" : "",
"shape" : "[16]",
"name" : "argmax_idx",
"type" : "MultiArray"
},
{
"hasShapeFlexibility" : "0",
"isOptional" : "0",
"dataType" : "Float16",
"formattedType" : "MultiArray (Float16 16)",
"shortDescription" : "",
"shape" : "[16]",
"name" : "argmax_val",
"type" : "MultiArray"
}
],
"version" : "0.1.1",
"modelParameters" : [
],
"author" : "Converted with Anemll v0.1.1",
"specificationVersion" : 9,
"storagePrecision" : "Mixed (Float16, Palettized (19 bits), UInt8)",
"mlProgramOperationTypeHistogram" : {
"Ios18.squeeze" : 20,
"Ios18.gatherAlongAxis" : 16,
"Ios18.reduceArgmax" : 16,
"Ios18.concat" : 2,
"Ios18.transpose" : 17,
"Ios18.constexprLutToDense" : 16,
"Ios18.expandDims" : 1,
"Ios18.conv" : 16,
"Ios18.cast" : 18
},
"computePrecision" : "Mixed (Float16, Int16, Int32, UInt16)",
"stateSchema" : [
],
"isUpdatable" : "0",
"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 × 1 × 1024)",
"shortDescription" : "",
"shape" : "[1, 1, 1024]",
"name" : "hidden_states",
"type" : "MultiArray"
}
],
"userDefinedMetadata" : {
"com.github.apple.coremltools.source" : "torch==2.5.0",
"com.github.apple.coremltools.version" : "9.0",
"com.github.apple.coremltools.conversion_date" : "2026-09-28",
"com.anemll.context_length" : "512",
"com.anemll.lm_head_chunk_sizes" : "9496,9496,9496,9496,9496,9496,9496,9496,9496,9496,9496,9496,9496,9496,9496,9496",
"com.github.apple.coremltools.source_dialect" : "TorchScript",
"com.anemll.vocab_size" : "151936",
"com.anemll.info" : "Converted with Anemll v0.1.1",
"com.anemll.argmax_in_model" : "true",
"com.anemll.lut_bits" : "8"
},
"generatedClassName" : "qwen_lm_head_lut8",
"method" : "predict"
}
] |