File size: 3,076 Bytes
ce07cde | 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 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | [
{
"metadataOutputVersion" : "3.0",
"shortDescription" : "Supertonic 3 TextEncoder (fp32), converted for Rytability",
"outputSchema" : [
{
"hasShapeFlexibility" : "0",
"isOptional" : "0",
"dataType" : "Float32",
"formattedType" : "MultiArray (Float32)",
"shortDescription" : "",
"shape" : "[]",
"name" : "text_emb",
"type" : "MultiArray"
}
],
"storagePrecision" : "Float32",
"modelParameters" : [
],
"specificationVersion" : 9,
"license" : "OpenRAIL-M (Supertone Inc.) - see LICENSE",
"mlProgramOperationTypeHistogram" : {
"Ios18.expandDims" : 43,
"Ios18.mul" : 56,
"Ios18.softmax" : 6,
"Ios18.matmul" : 20,
"Identity" : 1,
"Ios18.equal" : 2,
"Split" : 6,
"Ios18.greaterEqual" : 1,
"Select" : 7,
"Tile" : 12,
"Ios18.gather" : 13,
"Ios18.add" : 34,
"Ios18.layerNorm" : 15,
"Ios18.reshape" : 72,
"Shape" : 12,
"Pad" : 24,
"Ios18.maximum" : 8,
"Ios18.linear" : 6,
"Ios18.conv" : 42,
"Ios18.gelu" : 6,
"Ios18.sub" : 24,
"Ios18.concat" : 56,
"Ios18.transpose" : 48,
"Ios18.relu" : 4,
"Ios18.sliceByIndex" : 48,
"Ios18.squeeze" : 14
},
"computePrecision" : "Mixed (Float32, Int32)",
"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" : [
{
"dataType" : "Int32",
"hasShapeFlexibility" : "1",
"isOptional" : "0",
"shapeFlexibility" : "1 × 8...1024",
"shapeRange" : "[[1, 1], [8, 1024]]",
"formattedType" : "MultiArray (Int32 1 × 64)",
"type" : "MultiArray",
"shape" : "[1, 64]",
"name" : "text_ids",
"shortDescription" : ""
},
{
"hasShapeFlexibility" : "0",
"isOptional" : "0",
"dataType" : "Float32",
"formattedType" : "MultiArray (Float32 1 × 50 × 256)",
"shortDescription" : "",
"shape" : "[1, 50, 256]",
"name" : "style_ttl",
"type" : "MultiArray"
},
{
"dataType" : "Float32",
"hasShapeFlexibility" : "1",
"isOptional" : "0",
"shapeFlexibility" : "1 × 1 × 8...1024",
"shapeRange" : "[[1, 1], [1, 1], [8, 1024]]",
"formattedType" : "MultiArray (Float32 1 × 1 × 64)",
"type" : "MultiArray",
"shape" : "[1, 1, 64]",
"name" : "text_mask",
"shortDescription" : ""
}
],
"userDefinedMetadata" : {
"com.github.apple.coremltools.version" : "9.0",
"com.github.apple.coremltools.source" : "milinternal",
"com.github.apple.coremltools.conversion_date" : "2026-10-01"
},
"generatedClassName" : "TextEncoder",
"method" : "predict"
}
] |