upload encoder.mlmodelc/metadata.json
Browse files
encoder.mlmodelc/metadata.json
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"metadataOutputVersion" : "3.0",
|
| 4 |
+
"storagePrecision" : "Float16",
|
| 5 |
+
"outputSchema" : [
|
| 6 |
+
{
|
| 7 |
+
"hasShapeFlexibility" : "0",
|
| 8 |
+
"isOptional" : "0",
|
| 9 |
+
"dataType" : "Float16",
|
| 10 |
+
"formattedType" : "MultiArray (Float16 1 × 768)",
|
| 11 |
+
"shortDescription" : "",
|
| 12 |
+
"shape" : "[1, 768]",
|
| 13 |
+
"name" : "embedding",
|
| 14 |
+
"type" : "MultiArray"
|
| 15 |
+
}
|
| 16 |
+
],
|
| 17 |
+
"modelParameters" : [
|
| 18 |
+
|
| 19 |
+
],
|
| 20 |
+
"specificationVersion" : 10,
|
| 21 |
+
"mlProgramOperationTypeHistogram" : {
|
| 22 |
+
"Ios18.softmax" : 24,
|
| 23 |
+
"Ios19.mul" : 487,
|
| 24 |
+
"Ios18.matmul" : 48,
|
| 25 |
+
"Ios19.maximum" : 2,
|
| 26 |
+
"Ios18.rsqrt" : 1,
|
| 27 |
+
"Ios19.squeeze" : 24,
|
| 28 |
+
"Ios16.reduceMax" : 1,
|
| 29 |
+
"Tile" : 49,
|
| 30 |
+
"Ios18.gather" : 1,
|
| 31 |
+
"Ios16.reduceSum" : 3,
|
| 32 |
+
"Ios19.add" : 122,
|
| 33 |
+
"Ios18.layerNorm" : 145,
|
| 34 |
+
"Ios19.concat" : 193,
|
| 35 |
+
"Ios19.transpose" : 216,
|
| 36 |
+
"Ios19.realDiv" : 2,
|
| 37 |
+
"Ios19.expandDims" : 99,
|
| 38 |
+
"Ios18.conv" : 170,
|
| 39 |
+
"Ios18.gelu" : 24,
|
| 40 |
+
"Ios19.split" : 193,
|
| 41 |
+
"Ios19.sub" : 1,
|
| 42 |
+
"Ios19.greaterEqual" : 1,
|
| 43 |
+
"Ios19.select" : 1,
|
| 44 |
+
"Ios18.abs" : 1,
|
| 45 |
+
"Ios19.reshape" : 146
|
| 46 |
+
},
|
| 47 |
+
"computePrecision" : "Mixed (Float16, Float32, Int32)",
|
| 48 |
+
"isUpdatable" : "0",
|
| 49 |
+
"stateSchema" : [
|
| 50 |
+
|
| 51 |
+
],
|
| 52 |
+
"availability" : {
|
| 53 |
+
"macOS" : "16.0",
|
| 54 |
+
"tvOS" : "19.0",
|
| 55 |
+
"visionOS" : "3.0",
|
| 56 |
+
"watchOS" : "12.0",
|
| 57 |
+
"iOS" : "19.0",
|
| 58 |
+
"macCatalyst" : "19.0"
|
| 59 |
+
},
|
| 60 |
+
"modelType" : {
|
| 61 |
+
"name" : "MLModelType_mlProgram"
|
| 62 |
+
},
|
| 63 |
+
"userDefinedMetadata" : {
|
| 64 |
+
"com.github.apple.coremltools.conversion_date" : "2026-04-22",
|
| 65 |
+
"com.github.apple.coremltools.source" : "torch==2.8.0",
|
| 66 |
+
"com.github.apple.coremltools.version" : "9.0",
|
| 67 |
+
"com.github.apple.coremltools.source_dialect" : "TorchScript"
|
| 68 |
+
},
|
| 69 |
+
"inputSchema" : [
|
| 70 |
+
{
|
| 71 |
+
"hasShapeFlexibility" : "0",
|
| 72 |
+
"isOptional" : "0",
|
| 73 |
+
"dataType" : "Int32",
|
| 74 |
+
"formattedType" : "MultiArray (Int32 1 × 128)",
|
| 75 |
+
"shortDescription" : "",
|
| 76 |
+
"shape" : "[1, 128]",
|
| 77 |
+
"name" : "input_ids",
|
| 78 |
+
"type" : "MultiArray"
|
| 79 |
+
},
|
| 80 |
+
{
|
| 81 |
+
"hasShapeFlexibility" : "0",
|
| 82 |
+
"isOptional" : "0",
|
| 83 |
+
"dataType" : "Float16",
|
| 84 |
+
"formattedType" : "MultiArray (Float16 1 × 128)",
|
| 85 |
+
"shortDescription" : "",
|
| 86 |
+
"shape" : "[1, 128]",
|
| 87 |
+
"name" : "attention_mask",
|
| 88 |
+
"type" : "MultiArray"
|
| 89 |
+
}
|
| 90 |
+
],
|
| 91 |
+
"generatedClassName" : "encoder",
|
| 92 |
+
"method" : "predict"
|
| 93 |
+
}
|
| 94 |
+
]
|