|
[ |
|
{ |
|
"shortDescription" : "Anemll Model (Embeddings) converted to CoreML", |
|
"metadataOutputVersion" : "3.0", |
|
"outputSchema" : [ |
|
{ |
|
"hasShapeFlexibility" : "0", |
|
"isOptional" : "0", |
|
"dataType" : "Float16", |
|
"formattedType" : "MultiArray (Float16)", |
|
"shortDescription" : "", |
|
"shape" : "[]", |
|
"name" : "hidden_states", |
|
"type" : "MultiArray" |
|
} |
|
], |
|
"version" : "0.1.2", |
|
"modelParameters" : [ |
|
|
|
], |
|
"author" : "Converted with Anemll v0.1.2", |
|
"specificationVersion" : 9, |
|
"storagePrecision" : "Float16", |
|
"mlProgramOperationTypeHistogram" : { |
|
"Ios18.gather" : 1 |
|
}, |
|
"computePrecision" : "Mixed (Float16, 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" : [ |
|
{ |
|
"shortDescription" : "", |
|
"dataType" : "Int32", |
|
"hasShapeFlexibility" : "1", |
|
"isOptional" : "0", |
|
"shapeFlexibility" : "1 × 1 | 1 × 64", |
|
"formattedType" : "MultiArray (Int32 1 × 1)", |
|
"type" : "MultiArray", |
|
"shape" : "[1, 1]", |
|
"name" : "input_ids", |
|
"enumeratedShapes" : "[[1, 1], [1, 64]]" |
|
} |
|
], |
|
"userDefinedMetadata" : { |
|
"com.github.apple.coremltools.source_dialect" : "TorchScript", |
|
"com.github.apple.coremltools.version" : "8.2", |
|
"com.github.apple.coremltools.source" : "torch==2.5.0", |
|
"com.anemll.info" : "Converted with Anemll v0.1.2", |
|
"com.anemll.context_length" : "512" |
|
}, |
|
"generatedClassName" : "llama_embeddings", |
|
"method" : "predict" |
|
} |
|
] |