praveenperera commited on
Commit
54f3f97
·
verified ·
1 Parent(s): 1eb3665

Add Silero VAD 6.2.3 Core ML model

Browse files
README.md CHANGED
@@ -129,10 +129,11 @@ For offline setups, download this repository and set `SCRIPTRS_MODELS_DIR` to it
129
  | `parakeet-v2/model.safetensors` | CUDA | nvidia/parakeet-tdt-0.6b-v2, exported from the NeMo checkpoint |
130
  | `parakeet-v3/model.safetensors` | CUDA | nvidia/parakeet-tdt-0.6b-v3, exported from the NeMo checkpoint |
131
  | `parakeet-v2/vocab.txt`, `parakeet-v3/parakeet_vocab.json` | both | NVIDIA tokenizers |
132
- | `vad/silero-vad.mlmodelc` | Core ML | [Silero VAD](https://github.com/snakers4/silero-vad) |
 
133
  | `vad/silero-vad-v5.safetensors` | CUDA | Silero VAD 5.1.2, 16 kHz branch |
134
 
135
- The native CUDA files also live in model-named repositories, which scriptrs 0.3.1 and later download from: [avencera/parakeet-tdt-0.6b-v2-cuda](https://huggingface.co/avencera/parakeet-tdt-0.6b-v2-cuda), [avencera/parakeet-tdt-0.6b-v3-cuda](https://huggingface.co/avencera/parakeet-tdt-0.6b-v3-cuda) and [avencera/silero-vad-v5-safetensors](https://huggingface.co/avencera/silero-vad-v5-safetensors). The copies here serve scriptrs 0.3.0.
136
 
137
  The native weight files record their source and its SHA-256 in the safetensors metadata. `PROVENANCE.json` and `PROVENANCE-native.json` list sources, revisions and checksums.
138
 
 
129
  | `parakeet-v2/model.safetensors` | CUDA | nvidia/parakeet-tdt-0.6b-v2, exported from the NeMo checkpoint |
130
  | `parakeet-v3/model.safetensors` | CUDA | nvidia/parakeet-tdt-0.6b-v3, exported from the NeMo checkpoint |
131
  | `parakeet-v2/vocab.txt`, `parakeet-v3/parakeet_vocab.json` | both | NVIDIA tokenizers |
132
+ | `vad/silero-vad.mlmodelc` | Core ML | [Silero VAD](https://github.com/snakers4/silero-vad) 5.1.2, via [aufklarer/Silero-VAD-v5-CoreML](https://huggingface.co/aufklarer/Silero-VAD-v5-CoreML) |
133
+ | `vad/silero-vad-v6.mlmodelc` | Core ML | Silero VAD 6.2.3, via [aufklarer/Silero-VAD-v6.2.1-CoreML](https://huggingface.co/aufklarer/Silero-VAD-v6.2.1-CoreML), which has the same weights |
134
  | `vad/silero-vad-v5.safetensors` | CUDA | Silero VAD 5.1.2, 16 kHz branch |
135
 
136
+ The native CUDA files also live in model-named repositories, which scriptrs 0.3.1 and later download from: [avencera/parakeet-tdt-0.6b-v2-cuda](https://huggingface.co/avencera/parakeet-tdt-0.6b-v2-cuda), [avencera/parakeet-tdt-0.6b-v3-cuda](https://huggingface.co/avencera/parakeet-tdt-0.6b-v3-cuda) and [avencera/silero-vad-v5-safetensors](https://huggingface.co/avencera/silero-vad-v5-safetensors), and from scriptrs 0.5.0 also [avencera/silero-vad-v6-safetensors](https://huggingface.co/avencera/silero-vad-v6-safetensors). The copies here serve scriptrs 0.3.0.
137
 
138
  The native weight files record their source and its SHA-256 in the safetensors metadata. `PROVENANCE.json` and `PROVENANCE-native.json` list sources, revisions and checksums.
139
 
vad/silero-vad-v6.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b777c3751d72b7430eac7f8544769a3d918faf77c15db184fec30e44c56007a3
3
+ size 243
vad/silero-vad-v6.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f6fcd92c3132c9c718e5f54e0e770a8c8075beaa50a5b212a6287273b4ddae67
3
+ size 399
vad/silero-vad-v6.mlmodelc/metadata.json ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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)",
11
+ "shortDescription" : "",
12
+ "shape" : "[1]",
13
+ "name" : "probability",
14
+ "type" : "MultiArray"
15
+ },
16
+ {
17
+ "hasShapeFlexibility" : "0",
18
+ "isOptional" : "0",
19
+ "dataType" : "Float16",
20
+ "formattedType" : "MultiArray (Float16 1 × 1 × 128)",
21
+ "shortDescription" : "",
22
+ "shape" : "[1, 1, 128]",
23
+ "name" : "h_out",
24
+ "type" : "MultiArray"
25
+ },
26
+ {
27
+ "hasShapeFlexibility" : "0",
28
+ "isOptional" : "0",
29
+ "dataType" : "Float16",
30
+ "formattedType" : "MultiArray (Float16 1 × 1 × 128)",
31
+ "shortDescription" : "",
32
+ "shape" : "[1, 1, 128]",
33
+ "name" : "c_out",
34
+ "type" : "MultiArray"
35
+ }
36
+ ],
37
+ "modelParameters" : [
38
+
39
+ ],
40
+ "specificationVersion" : 8,
41
+ "mlProgramOperationTypeHistogram" : {
42
+ "Ios17.sqrt" : 1,
43
+ "Ios17.transpose" : 1,
44
+ "Ios17.conv" : 6,
45
+ "Ios16.sigmoid" : 1,
46
+ "Ios17.sliceByIndex" : 2,
47
+ "Ios17.add" : 2,
48
+ "Ios17.lstm" : 1,
49
+ "Ios16.relu" : 5,
50
+ "Ios17.pow" : 2,
51
+ "Ios17.expandDims" : 3,
52
+ "Ios17.squeeze" : 3,
53
+ "Ios17.reshape" : 1,
54
+ "Pad" : 1
55
+ },
56
+ "computePrecision" : "Mixed (Float16, Int32)",
57
+ "isUpdatable" : "0",
58
+ "stateSchema" : [
59
+
60
+ ],
61
+ "availability" : {
62
+ "macOS" : "14.0",
63
+ "tvOS" : "17.0",
64
+ "visionOS" : "1.0",
65
+ "watchOS" : "10.0",
66
+ "iOS" : "17.0",
67
+ "macCatalyst" : "17.0"
68
+ },
69
+ "modelType" : {
70
+ "name" : "MLModelType_mlProgram"
71
+ },
72
+ "userDefinedMetadata" : {
73
+ "com.github.apple.coremltools.source_dialect" : "TorchScript",
74
+ "com.github.apple.coremltools.version" : "8.3.0",
75
+ "com.github.apple.coremltools.source" : "torch==2.9.1"
76
+ },
77
+ "inputSchema" : [
78
+ {
79
+ "hasShapeFlexibility" : "0",
80
+ "isOptional" : "0",
81
+ "dataType" : "Float16",
82
+ "formattedType" : "MultiArray (Float16 1 × 1 × 576)",
83
+ "shortDescription" : "",
84
+ "shape" : "[1, 1, 576]",
85
+ "name" : "audio",
86
+ "type" : "MultiArray"
87
+ },
88
+ {
89
+ "hasShapeFlexibility" : "0",
90
+ "isOptional" : "0",
91
+ "dataType" : "Float16",
92
+ "formattedType" : "MultiArray (Float16 1 × 1 × 128)",
93
+ "shortDescription" : "",
94
+ "shape" : "[1, 1, 128]",
95
+ "name" : "h",
96
+ "type" : "MultiArray"
97
+ },
98
+ {
99
+ "hasShapeFlexibility" : "0",
100
+ "isOptional" : "0",
101
+ "dataType" : "Float16",
102
+ "formattedType" : "MultiArray (Float16 1 × 1 × 128)",
103
+ "shortDescription" : "",
104
+ "shape" : "[1, 1, 128]",
105
+ "name" : "c",
106
+ "type" : "MultiArray"
107
+ }
108
+ ],
109
+ "generatedClassName" : "silero_vad",
110
+ "method" : "predict"
111
+ }
112
+ ]
vad/silero-vad-v6.mlmodelc/model.mil ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ program(1.0)
2
+ [buildInfo = dict<tensor<string, []>, tensor<string, []>>({{"coremlc-component-MIL", "3520.4.1"}, {"coremlc-version", "3520.5.1"}, {"coremltools-component-torch", "2.9.1"}, {"coremltools-source-dialect", "TorchScript"}, {"coremltools-version", "8.3.0"}})]
3
+ {
4
+ func main<ios17>(tensor<fp16, [1, 1, 576]> audio, tensor<fp16, [1, 1, 128]> c, tensor<fp16, [1, 1, 128]> h) {
5
+ tensor<int32, [6]> input_1_pad_0 = const()[name = tensor<string, []>("input_1_pad_0"), val = tensor<int32, [6]>([0, 0, 0, 0, 0, 64])];
6
+ tensor<string, []> input_1_mode_0 = const()[name = tensor<string, []>("input_1_mode_0"), val = tensor<string, []>("reflect")];
7
+ tensor<fp16, []> const_0_to_fp16 = const()[name = tensor<string, []>("const_0_to_fp16"), val = tensor<fp16, []>(0x0p+0)];
8
+ tensor<fp16, [1, 1, 640]> input_1_cast_fp16 = pad(constant_val = const_0_to_fp16, mode = input_1_mode_0, pad = input_1_pad_0, x = audio)[name = tensor<string, []>("input_1_cast_fp16")];
9
+ tensor<string, []> x_1_pad_type_0 = const()[name = tensor<string, []>("x_1_pad_type_0"), val = tensor<string, []>("valid")];
10
+ tensor<int32, [1]> x_1_strides_0 = const()[name = tensor<string, []>("x_1_strides_0"), val = tensor<int32, [1]>([128])];
11
+ tensor<int32, [2]> x_1_pad_0 = const()[name = tensor<string, []>("x_1_pad_0"), val = tensor<int32, [2]>([0, 0])];
12
+ tensor<int32, [1]> x_1_dilations_0 = const()[name = tensor<string, []>("x_1_dilations_0"), val = tensor<int32, [1]>([1])];
13
+ tensor<int32, []> x_1_groups_0 = const()[name = tensor<string, []>("x_1_groups_0"), val = tensor<int32, []>(1)];
14
+ tensor<fp16, [258, 1, 256]> stft_conv_weight_to_fp16 = const()[name = tensor<string, []>("stft_conv_weight_to_fp16"), val = tensor<fp16, [258, 1, 256]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(64)))];
15
+ tensor<fp16, [1, 258, 4]> x_1_cast_fp16 = conv(dilations = x_1_dilations_0, groups = x_1_groups_0, pad = x_1_pad_0, pad_type = x_1_pad_type_0, strides = x_1_strides_0, weight = stft_conv_weight_to_fp16, x = input_1_cast_fp16)[name = tensor<string, []>("x_1_cast_fp16")];
16
+ tensor<int32, [3]> var_42_begin_0 = const()[name = tensor<string, []>("op_42_begin_0"), val = tensor<int32, [3]>([0, 0, 0])];
17
+ tensor<int32, [3]> var_42_end_0 = const()[name = tensor<string, []>("op_42_end_0"), val = tensor<int32, [3]>([1, 129, 4])];
18
+ tensor<bool, [3]> var_42_end_mask_0 = const()[name = tensor<string, []>("op_42_end_mask_0"), val = tensor<bool, [3]>([true, false, true])];
19
+ tensor<fp16, [1, 129, 4]> var_42_cast_fp16 = slice_by_index(begin = var_42_begin_0, end = var_42_end_0, end_mask = var_42_end_mask_0, x = x_1_cast_fp16)[name = tensor<string, []>("op_42_cast_fp16")];
20
+ tensor<int32, [3]> var_57_begin_0 = const()[name = tensor<string, []>("op_57_begin_0"), val = tensor<int32, [3]>([0, 129, 0])];
21
+ tensor<int32, [3]> var_57_end_0 = const()[name = tensor<string, []>("op_57_end_0"), val = tensor<int32, [3]>([1, 258, 4])];
22
+ tensor<bool, [3]> var_57_end_mask_0 = const()[name = tensor<string, []>("op_57_end_mask_0"), val = tensor<bool, [3]>([true, true, true])];
23
+ tensor<fp16, [1, 129, 4]> var_57_cast_fp16 = slice_by_index(begin = var_57_begin_0, end = var_57_end_0, end_mask = var_57_end_mask_0, x = x_1_cast_fp16)[name = tensor<string, []>("op_57_cast_fp16")];
24
+ tensor<fp16, []> var_63_promoted_to_fp16 = const()[name = tensor<string, []>("op_63_promoted_to_fp16"), val = tensor<fp16, []>(0x1p+1)];
25
+ tensor<fp16, [1, 129, 4]> var_64_cast_fp16 = pow(x = var_42_cast_fp16, y = var_63_promoted_to_fp16)[name = tensor<string, []>("op_64_cast_fp16")];
26
+ tensor<fp16, []> var_65_promoted_to_fp16 = const()[name = tensor<string, []>("op_65_promoted_to_fp16"), val = tensor<fp16, []>(0x1p+1)];
27
+ tensor<fp16, [1, 129, 4]> var_66_cast_fp16 = pow(x = var_57_cast_fp16, y = var_65_promoted_to_fp16)[name = tensor<string, []>("op_66_cast_fp16")];
28
+ tensor<fp16, [1, 129, 4]> var_68_cast_fp16 = add(x = var_64_cast_fp16, y = var_66_cast_fp16)[name = tensor<string, []>("op_68_cast_fp16")];
29
+ tensor<fp16, []> var_70_to_fp16 = const()[name = tensor<string, []>("op_70_to_fp16"), val = tensor<fp16, []>(0x1p-24)];
30
+ tensor<fp16, [1, 129, 4]> var_71_cast_fp16 = add(x = var_68_cast_fp16, y = var_70_to_fp16)[name = tensor<string, []>("op_71_cast_fp16")];
31
+ tensor<fp16, [1, 129, 4]> input_3_cast_fp16 = sqrt(x = var_71_cast_fp16)[name = tensor<string, []>("input_3_cast_fp16")];
32
+ tensor<string, []> input_5_pad_type_0 = const()[name = tensor<string, []>("input_5_pad_type_0"), val = tensor<string, []>("custom")];
33
+ tensor<int32, [2]> input_5_pad_0 = const()[name = tensor<string, []>("input_5_pad_0"), val = tensor<int32, [2]>([1, 1])];
34
+ tensor<int32, [1]> input_5_strides_0 = const()[name = tensor<string, []>("input_5_strides_0"), val = tensor<int32, [1]>([1])];
35
+ tensor<int32, [1]> input_5_dilations_0 = const()[name = tensor<string, []>("input_5_dilations_0"), val = tensor<int32, [1]>([1])];
36
+ tensor<int32, []> input_5_groups_0 = const()[name = tensor<string, []>("input_5_groups_0"), val = tensor<int32, []>(1)];
37
+ tensor<fp16, [128, 129, 3]> encoder_0_weight_to_fp16 = const()[name = tensor<string, []>("encoder_0_weight_to_fp16"), val = tensor<fp16, [128, 129, 3]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(132224)))];
38
+ tensor<fp16, [128]> encoder_0_bias_to_fp16 = const()[name = tensor<string, []>("encoder_0_bias_to_fp16"), val = tensor<fp16, [128]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(231360)))];
39
+ tensor<fp16, [1, 128, 4]> input_5_cast_fp16 = conv(bias = encoder_0_bias_to_fp16, dilations = input_5_dilations_0, groups = input_5_groups_0, pad = input_5_pad_0, pad_type = input_5_pad_type_0, strides = input_5_strides_0, weight = encoder_0_weight_to_fp16, x = input_3_cast_fp16)[name = tensor<string, []>("input_5_cast_fp16")];
40
+ tensor<fp16, [1, 128, 4]> input_7_cast_fp16 = relu(x = input_5_cast_fp16)[name = tensor<string, []>("input_7_cast_fp16")];
41
+ tensor<string, []> input_9_pad_type_0 = const()[name = tensor<string, []>("input_9_pad_type_0"), val = tensor<string, []>("custom")];
42
+ tensor<int32, [2]> input_9_pad_0 = const()[name = tensor<string, []>("input_9_pad_0"), val = tensor<int32, [2]>([1, 1])];
43
+ tensor<int32, [1]> input_9_strides_0 = const()[name = tensor<string, []>("input_9_strides_0"), val = tensor<int32, [1]>([2])];
44
+ tensor<int32, [1]> input_9_dilations_0 = const()[name = tensor<string, []>("input_9_dilations_0"), val = tensor<int32, [1]>([1])];
45
+ tensor<int32, []> input_9_groups_0 = const()[name = tensor<string, []>("input_9_groups_0"), val = tensor<int32, []>(1)];
46
+ tensor<fp16, [64, 128, 3]> encoder_1_weight_to_fp16 = const()[name = tensor<string, []>("encoder_1_weight_to_fp16"), val = tensor<fp16, [64, 128, 3]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(231680)))];
47
+ tensor<fp16, [64]> encoder_1_bias_to_fp16 = const()[name = tensor<string, []>("encoder_1_bias_to_fp16"), val = tensor<fp16, [64]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(280896)))];
48
+ tensor<fp16, [1, 64, 2]> input_9_cast_fp16 = conv(bias = encoder_1_bias_to_fp16, dilations = input_9_dilations_0, groups = input_9_groups_0, pad = input_9_pad_0, pad_type = input_9_pad_type_0, strides = input_9_strides_0, weight = encoder_1_weight_to_fp16, x = input_7_cast_fp16)[name = tensor<string, []>("input_9_cast_fp16")];
49
+ tensor<fp16, [1, 64, 2]> input_11_cast_fp16 = relu(x = input_9_cast_fp16)[name = tensor<string, []>("input_11_cast_fp16")];
50
+ tensor<string, []> input_13_pad_type_0 = const()[name = tensor<string, []>("input_13_pad_type_0"), val = tensor<string, []>("custom")];
51
+ tensor<int32, [2]> input_13_pad_0 = const()[name = tensor<string, []>("input_13_pad_0"), val = tensor<int32, [2]>([1, 1])];
52
+ tensor<int32, [1]> input_13_strides_0 = const()[name = tensor<string, []>("input_13_strides_0"), val = tensor<int32, [1]>([2])];
53
+ tensor<int32, [1]> input_13_dilations_0 = const()[name = tensor<string, []>("input_13_dilations_0"), val = tensor<int32, [1]>([1])];
54
+ tensor<int32, []> input_13_groups_0 = const()[name = tensor<string, []>("input_13_groups_0"), val = tensor<int32, []>(1)];
55
+ tensor<fp16, [64, 64, 3]> encoder_2_weight_to_fp16 = const()[name = tensor<string, []>("encoder_2_weight_to_fp16"), val = tensor<fp16, [64, 64, 3]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(281088)))];
56
+ tensor<fp16, [64]> encoder_2_bias_to_fp16 = const()[name = tensor<string, []>("encoder_2_bias_to_fp16"), val = tensor<fp16, [64]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(305728)))];
57
+ tensor<fp16, [1, 64, 1]> input_13_cast_fp16 = conv(bias = encoder_2_bias_to_fp16, dilations = input_13_dilations_0, groups = input_13_groups_0, pad = input_13_pad_0, pad_type = input_13_pad_type_0, strides = input_13_strides_0, weight = encoder_2_weight_to_fp16, x = input_11_cast_fp16)[name = tensor<string, []>("input_13_cast_fp16")];
58
+ tensor<fp16, [1, 64, 1]> input_15_cast_fp16 = relu(x = input_13_cast_fp16)[name = tensor<string, []>("input_15_cast_fp16")];
59
+ tensor<string, []> input_17_pad_type_0 = const()[name = tensor<string, []>("input_17_pad_type_0"), val = tensor<string, []>("custom")];
60
+ tensor<int32, [2]> input_17_pad_0 = const()[name = tensor<string, []>("input_17_pad_0"), val = tensor<int32, [2]>([1, 1])];
61
+ tensor<int32, [1]> input_17_strides_0 = const()[name = tensor<string, []>("input_17_strides_0"), val = tensor<int32, [1]>([1])];
62
+ tensor<int32, [1]> input_17_dilations_0 = const()[name = tensor<string, []>("input_17_dilations_0"), val = tensor<int32, [1]>([1])];
63
+ tensor<int32, []> input_17_groups_0 = const()[name = tensor<string, []>("input_17_groups_0"), val = tensor<int32, []>(1)];
64
+ tensor<fp16, [128, 64, 3]> encoder_3_weight_to_fp16 = const()[name = tensor<string, []>("encoder_3_weight_to_fp16"), val = tensor<fp16, [128, 64, 3]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(305920)))];
65
+ tensor<fp16, [128]> encoder_3_bias_to_fp16 = const()[name = tensor<string, []>("encoder_3_bias_to_fp16"), val = tensor<fp16, [128]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(355136)))];
66
+ tensor<fp16, [1, 128, 1]> input_17_cast_fp16 = conv(bias = encoder_3_bias_to_fp16, dilations = input_17_dilations_0, groups = input_17_groups_0, pad = input_17_pad_0, pad_type = input_17_pad_type_0, strides = input_17_strides_0, weight = encoder_3_weight_to_fp16, x = input_15_cast_fp16)[name = tensor<string, []>("input_17_cast_fp16")];
67
+ tensor<fp16, [1, 128, 1]> x_cast_fp16 = relu(x = input_17_cast_fp16)[name = tensor<string, []>("x_cast_fp16")];
68
+ tensor<int32, [3]> transpose_0_perm_0 = const()[name = tensor<string, []>("transpose_0_perm_0"), val = tensor<int32, [3]>([2, 0, 1])];
69
+ tensor<int32, [1]> var_138_batch_first_lstm_h0_squeeze_axes_0 = const()[name = tensor<string, []>("op_138_batch_first_lstm_h0_squeeze_axes_0"), val = tensor<int32, [1]>([0])];
70
+ tensor<fp16, [1, 128]> var_138_batch_first_lstm_h0_squeeze_cast_fp16 = squeeze(axes = var_138_batch_first_lstm_h0_squeeze_axes_0, x = h)[name = tensor<string, []>("op_138_batch_first_lstm_h0_squeeze_cast_fp16")];
71
+ tensor<int32, [1]> var_138_batch_first_lstm_c0_squeeze_axes_0 = const()[name = tensor<string, []>("op_138_batch_first_lstm_c0_squeeze_axes_0"), val = tensor<int32, [1]>([0])];
72
+ tensor<fp16, [1, 128]> var_138_batch_first_lstm_c0_squeeze_cast_fp16 = squeeze(axes = var_138_batch_first_lstm_c0_squeeze_axes_0, x = c)[name = tensor<string, []>("op_138_batch_first_lstm_c0_squeeze_cast_fp16")];
73
+ tensor<string, []> var_138_batch_first_direction_0 = const()[name = tensor<string, []>("op_138_batch_first_direction_0"), val = tensor<string, []>("forward")];
74
+ tensor<bool, []> var_138_batch_first_output_sequence_0 = const()[name = tensor<string, []>("op_138_batch_first_output_sequence_0"), val = tensor<bool, []>(true)];
75
+ tensor<string, []> var_138_batch_first_recurrent_activation_0 = const()[name = tensor<string, []>("op_138_batch_first_recurrent_activation_0"), val = tensor<string, []>("sigmoid")];
76
+ tensor<string, []> var_138_batch_first_cell_activation_0 = const()[name = tensor<string, []>("op_138_batch_first_cell_activation_0"), val = tensor<string, []>("tanh")];
77
+ tensor<string, []> var_138_batch_first_activation_0 = const()[name = tensor<string, []>("op_138_batch_first_activation_0"), val = tensor<string, []>("tanh")];
78
+ tensor<fp16, [512, 128]> concat_1_to_fp16 = const()[name = tensor<string, []>("concat_1_to_fp16"), val = tensor<fp16, [512, 128]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(355456)))];
79
+ tensor<fp16, [512, 128]> concat_2_to_fp16 = const()[name = tensor<string, []>("concat_2_to_fp16"), val = tensor<fp16, [512, 128]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(486592)))];
80
+ tensor<fp16, [512]> concat_0_to_fp16 = const()[name = tensor<string, []>("concat_0_to_fp16"), val = tensor<fp16, [512]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(617728)))];
81
+ tensor<fp16, [1, 1, 128]> transpose_0_cast_fp16 = transpose(perm = transpose_0_perm_0, x = x_cast_fp16)[name = tensor<string, []>("transpose_1")];
82
+ tensor<fp16, [1, 1, 128]> var_138_batch_first_cast_fp16_0, tensor<fp16, [1, 128]> var_138_batch_first_cast_fp16_1, tensor<fp16, [1, 128]> var_138_batch_first_cast_fp16_2 = lstm(activation = var_138_batch_first_activation_0, bias = concat_0_to_fp16, cell_activation = var_138_batch_first_cell_activation_0, direction = var_138_batch_first_direction_0, initial_c = var_138_batch_first_lstm_c0_squeeze_cast_fp16, initial_h = var_138_batch_first_lstm_h0_squeeze_cast_fp16, output_sequence = var_138_batch_first_output_sequence_0, recurrent_activation = var_138_batch_first_recurrent_activation_0, weight_hh = concat_2_to_fp16, weight_ih = concat_1_to_fp16, x = transpose_0_cast_fp16)[name = tensor<string, []>("op_138_batch_first_cast_fp16")];
83
+ tensor<int32, [1]> h_out_axes_0 = const()[name = tensor<string, []>("h_out_axes_0"), val = tensor<int32, [1]>([0])];
84
+ tensor<fp16, [1, 1, 128]> h_out = expand_dims(axes = h_out_axes_0, x = var_138_batch_first_cast_fp16_1)[name = tensor<string, []>("h_out_cast_fp16")];
85
+ tensor<int32, [1]> var_140_axes_0 = const()[name = tensor<string, []>("op_140_axes_0"), val = tensor<int32, [1]>([0])];
86
+ tensor<fp16, [1, 1, 128]> c_out = expand_dims(axes = var_140_axes_0, x = var_138_batch_first_cast_fp16_2)[name = tensor<string, []>("op_140_cast_fp16")];
87
+ tensor<int32, [1]> var_145_axes_0 = const()[name = tensor<string, []>("op_145_axes_0"), val = tensor<int32, [1]>([0])];
88
+ tensor<fp16, [1, 128]> var_145_cast_fp16 = squeeze(axes = var_145_axes_0, x = h_out)[name = tensor<string, []>("op_145_cast_fp16")];
89
+ tensor<int32, [1]> input_21_axes_0 = const()[name = tensor<string, []>("input_21_axes_0"), val = tensor<int32, [1]>([-1])];
90
+ tensor<fp16, [1, 128, 1]> input_21_cast_fp16 = expand_dims(axes = input_21_axes_0, x = var_145_cast_fp16)[name = tensor<string, []>("input_21_cast_fp16")];
91
+ tensor<fp16, [1, 128, 1]> input_cast_fp16 = relu(x = input_21_cast_fp16)[name = tensor<string, []>("input_cast_fp16")];
92
+ tensor<string, []> var_159_pad_type_0 = const()[name = tensor<string, []>("op_159_pad_type_0"), val = tensor<string, []>("valid")];
93
+ tensor<int32, [1]> var_159_strides_0 = const()[name = tensor<string, []>("op_159_strides_0"), val = tensor<int32, [1]>([1])];
94
+ tensor<int32, [2]> var_159_pad_0 = const()[name = tensor<string, []>("op_159_pad_0"), val = tensor<int32, [2]>([0, 0])];
95
+ tensor<int32, [1]> var_159_dilations_0 = const()[name = tensor<string, []>("op_159_dilations_0"), val = tensor<int32, [1]>([1])];
96
+ tensor<int32, []> var_159_groups_0 = const()[name = tensor<string, []>("op_159_groups_0"), val = tensor<int32, []>(1)];
97
+ tensor<fp16, [1, 128, 1]> decoder_conv_weight_to_fp16 = const()[name = tensor<string, []>("decoder_conv_weight_to_fp16"), val = tensor<fp16, [1, 128, 1]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(618816)))];
98
+ tensor<fp16, [1]> decoder_conv_bias_to_fp16 = const()[name = tensor<string, []>("decoder_conv_bias_to_fp16"), val = tensor<fp16, [1]>([-0x1.3fcp-1])];
99
+ tensor<fp16, [1, 1, 1]> var_159_cast_fp16 = conv(bias = decoder_conv_bias_to_fp16, dilations = var_159_dilations_0, groups = var_159_groups_0, pad = var_159_pad_0, pad_type = var_159_pad_type_0, strides = var_159_strides_0, weight = decoder_conv_weight_to_fp16, x = input_cast_fp16)[name = tensor<string, []>("op_159_cast_fp16")];
100
+ tensor<fp16, [1, 1, 1]> d_cast_fp16 = sigmoid(x = var_159_cast_fp16)[name = tensor<string, []>("d_cast_fp16")];
101
+ tensor<int32, [1]> var_162 = const()[name = tensor<string, []>("op_162"), val = tensor<int32, [1]>([1])];
102
+ tensor<fp16, [1]> probability = reshape(shape = var_162, x = d_cast_fp16)[name = tensor<string, []>("op_163_cast_fp16")];
103
+ } -> (probability, h_out, c_out);
104
+ }
vad/silero-vad-v6.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83210545de90c65195e8d6db1b349b7e5c31f989f48d0a908a8dc0e2f586e5f9
3
+ size 619136