Upload folder using huggingface_hub
Browse files
openai_whisper-tiny/MelSpectrogram.mlmodelc/metadata.json
CHANGED
|
@@ -19,27 +19,24 @@
|
|
| 19 |
],
|
| 20 |
"specificationVersion" : 7,
|
| 21 |
"mlProgramOperationTypeHistogram" : {
|
| 22 |
-
"
|
| 23 |
"Ios16.mul" : 2,
|
| 24 |
"SliceByIndex" : 1,
|
| 25 |
"Ios16.sub" : 1,
|
| 26 |
"Ios16.log" : 1,
|
| 27 |
-
"Ios16.
|
| 28 |
"Ios16.add" : 3,
|
| 29 |
-
"
|
| 30 |
"Ios16.matmul" : 1,
|
| 31 |
-
"
|
| 32 |
"Ios16.maximum" : 1,
|
| 33 |
"ExpandDims" : 4,
|
| 34 |
"Ios16.reduceMax" : 1,
|
| 35 |
"Identity" : 1,
|
| 36 |
-
"
|
| 37 |
},
|
| 38 |
"computePrecision" : "Mixed (Float16, Int32)",
|
| 39 |
"isUpdatable" : "0",
|
| 40 |
-
"stateSchema" : [
|
| 41 |
-
|
| 42 |
-
],
|
| 43 |
"availability" : {
|
| 44 |
"macOS" : "13.0",
|
| 45 |
"tvOS" : "16.0",
|
|
@@ -53,8 +50,8 @@
|
|
| 53 |
},
|
| 54 |
"userDefinedMetadata" : {
|
| 55 |
"com.github.apple.coremltools.source_dialect" : "TorchScript",
|
| 56 |
-
"com.github.apple.coremltools.
|
| 57 |
-
"com.github.apple.coremltools.
|
| 58 |
},
|
| 59 |
"inputSchema" : [
|
| 60 |
{
|
|
|
|
| 19 |
],
|
| 20 |
"specificationVersion" : 7,
|
| 21 |
"mlProgramOperationTypeHistogram" : {
|
| 22 |
+
"Pad" : 1,
|
| 23 |
"Ios16.mul" : 2,
|
| 24 |
"SliceByIndex" : 1,
|
| 25 |
"Ios16.sub" : 1,
|
| 26 |
"Ios16.log" : 1,
|
| 27 |
+
"Ios16.conv" : 2,
|
| 28 |
"Ios16.add" : 3,
|
| 29 |
+
"Ios16.square" : 2,
|
| 30 |
"Ios16.matmul" : 1,
|
| 31 |
+
"Squeeze" : 2,
|
| 32 |
"Ios16.maximum" : 1,
|
| 33 |
"ExpandDims" : 4,
|
| 34 |
"Ios16.reduceMax" : 1,
|
| 35 |
"Identity" : 1,
|
| 36 |
+
"Ios16.reshape" : 2
|
| 37 |
},
|
| 38 |
"computePrecision" : "Mixed (Float16, Int32)",
|
| 39 |
"isUpdatable" : "0",
|
|
|
|
|
|
|
|
|
|
| 40 |
"availability" : {
|
| 41 |
"macOS" : "13.0",
|
| 42 |
"tvOS" : "16.0",
|
|
|
|
| 50 |
},
|
| 51 |
"userDefinedMetadata" : {
|
| 52 |
"com.github.apple.coremltools.source_dialect" : "TorchScript",
|
| 53 |
+
"com.github.apple.coremltools.version" : "7.1",
|
| 54 |
+
"com.github.apple.coremltools.source" : "torch==2.2.1"
|
| 55 |
},
|
| 56 |
"inputSchema" : [
|
| 57 |
{
|
openai_whisper-tiny/MelSpectrogram.mlmodelc/model.mil
CHANGED
|
@@ -1,13 +1,13 @@
|
|
| 1 |
program(1.0)
|
| 2 |
-
[buildInfo = dict<tensor<string, []>, tensor<string, []>>({{"coremlc-component-MIL", "
|
| 3 |
{
|
| 4 |
func main<ios16>(tensor<fp16, [480000]> audio) {
|
| 5 |
tensor<int32, [3]> var_10 = const()[name = tensor<string, []>("op_10"), val = tensor<int32, [3]>([1, 1, 480000])];
|
| 6 |
tensor<fp16, [1, 1, 480000]> input_1_cast_fp16 = reshape(shape = var_10, x = audio)[name = tensor<string, []>("input_1_cast_fp16")];
|
| 7 |
tensor<int32, [6]> input_3_pad_0 = const()[name = tensor<string, []>("input_3_pad_0"), val = tensor<int32, [6]>([0, 0, 0, 0, 200, 200])];
|
| 8 |
tensor<string, []> input_3_mode_0 = const()[name = tensor<string, []>("input_3_mode_0"), val = tensor<string, []>("reflect")];
|
| 9 |
-
tensor<fp16, []>
|
| 10 |
-
tensor<fp16, [1, 1, 480400]> input_3_cast_fp16 = pad(constant_val =
|
| 11 |
tensor<int32, [1]> var_22 = const()[name = tensor<string, []>("op_22"), val = tensor<int32, [1]>([480400])];
|
| 12 |
tensor<fp16, [480400]> input_cast_fp16 = reshape(shape = var_22, x = input_3_cast_fp16)[name = tensor<string, []>("input_cast_fp16")];
|
| 13 |
tensor<int32, [1]> expand_dims_0_axes_0 = const()[name = tensor<string, []>("expand_dims_0_axes_0"), val = tensor<int32, [1]>([0])];
|
|
|
|
| 1 |
program(1.0)
|
| 2 |
+
[buildInfo = dict<tensor<string, []>, tensor<string, []>>({{"coremlc-component-MIL", "5.33.5"}, {"coremlc-version", "1877.40.3"}, {"coremltools-component-torch", "2.2.1"}, {"coremltools-source-dialect", "TorchScript"}, {"coremltools-version", "7.1"}})]
|
| 3 |
{
|
| 4 |
func main<ios16>(tensor<fp16, [480000]> audio) {
|
| 5 |
tensor<int32, [3]> var_10 = const()[name = tensor<string, []>("op_10"), val = tensor<int32, [3]>([1, 1, 480000])];
|
| 6 |
tensor<fp16, [1, 1, 480000]> input_1_cast_fp16 = reshape(shape = var_10, x = audio)[name = tensor<string, []>("input_1_cast_fp16")];
|
| 7 |
tensor<int32, [6]> input_3_pad_0 = const()[name = tensor<string, []>("input_3_pad_0"), val = tensor<int32, [6]>([0, 0, 0, 0, 200, 200])];
|
| 8 |
tensor<string, []> input_3_mode_0 = const()[name = tensor<string, []>("input_3_mode_0"), val = tensor<string, []>("reflect")];
|
| 9 |
+
tensor<fp16, []> input_3_constant_val_0_to_fp16 = const()[name = tensor<string, []>("input_3_constant_val_0_to_fp16"), val = tensor<fp16, []>(0x0p+0)];
|
| 10 |
+
tensor<fp16, [1, 1, 480400]> input_3_cast_fp16 = pad(constant_val = input_3_constant_val_0_to_fp16, mode = input_3_mode_0, pad = input_3_pad_0, x = input_1_cast_fp16)[name = tensor<string, []>("input_3_cast_fp16")];
|
| 11 |
tensor<int32, [1]> var_22 = const()[name = tensor<string, []>("op_22"), val = tensor<int32, [1]>([480400])];
|
| 12 |
tensor<fp16, [480400]> input_cast_fp16 = reshape(shape = var_22, x = input_3_cast_fp16)[name = tensor<string, []>("input_cast_fp16")];
|
| 13 |
tensor<int32, [1]> expand_dims_0_axes_0 = const()[name = tensor<string, []>("expand_dims_0_axes_0"), val = tensor<int32, [1]>([0])];
|