bweng's picture
With normalization and batching
a26ed29 verified
raw
history blame
2.73 kB
[
{
"shortDescription" : "pyannote community-1 speaker embedding (10 s WeSpeaker ResNet34, interpolates 589-frame weights to pooling layer size internally)",
"metadataOutputVersion" : "3.0",
"outputSchema" : [
{
"hasShapeFlexibility" : "0",
"isOptional" : "0",
"dataType" : "Float32",
"formattedType" : "MultiArray (Float32 1 × 256)",
"shortDescription" : "",
"shape" : "[1, 256]",
"name" : "embedding",
"type" : "MultiArray"
}
],
"version" : "pyannote-speaker-diarization-community-1",
"modelParameters" : [
],
"author" : "Fluid Inference",
"specificationVersion" : 8,
"storagePrecision" : "Float32",
"license" : "CC-BY-4.0",
"mlProgramOperationTypeHistogram" : {
"Ios16.reduceL2Norm" : 1,
"Ios17.reshape" : 1,
"Ios16.reduceMean" : 2,
"Ios17.transpose" : 2,
"Ios17.expandDims" : 8,
"Ios17.add" : 20,
"Ios17.gatherAlongAxis" : 2,
"Ios17.sliceByIndex" : 1,
"Ios16.reduceSum" : 4,
"Ios17.squeeze" : 4,
"Pad" : 2,
"Ios17.log" : 1,
"Ios17.sqrt" : 1,
"Ios17.sub" : 5,
"Ios17.conv" : 37,
"Ios17.clip" : 3,
"Ios16.relu" : 33,
"Ios17.linear" : 4,
"Ios17.pow" : 2,
"Ios17.realDiv" : 4,
"Ios17.concat" : 1,
"Ios17.mul" : 9
},
"computePrecision" : "Mixed (Float32, Int32)",
"stateSchema" : [
],
"isUpdatable" : "0",
"availability" : {
"macOS" : "14.0",
"tvOS" : "17.0",
"visionOS" : "1.0",
"watchOS" : "10.0",
"iOS" : "17.0",
"macCatalyst" : "17.0"
},
"modelType" : {
"name" : "MLModelType_mlProgram"
},
"inputSchema" : [
{
"hasShapeFlexibility" : "0",
"isOptional" : "0",
"dataType" : "Float32",
"formattedType" : "MultiArray (Float32 1 × 1 × 160000)",
"shortDescription" : "",
"shape" : "[1, 1, 160000]",
"name" : "audio",
"type" : "MultiArray"
},
{
"hasShapeFlexibility" : "0",
"isOptional" : "0",
"dataType" : "Float32",
"formattedType" : "MultiArray (Float32 1 × 589)",
"shortDescription" : "",
"shape" : "[1, 589]",
"name" : "weights",
"type" : "MultiArray"
}
],
"userDefinedMetadata" : {
"com.github.apple.coremltools.conversion_date" : "2025-10-03",
"com.github.apple.coremltools.source" : "torch==2.8.0",
"com.github.apple.coremltools.version" : "9.0b1",
"com.github.apple.coremltools.source_dialect" : "TorchScript"
},
"generatedClassName" : "embedding_community_1",
"method" : "predict"
}
]