BreezeWu commited on
Commit
e66f2b0
·
verified ·
1 Parent(s): 1ec0cc3

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ artifacts/ascend/fullsubnet/fullsubnet_cum_stateful_fb_b4_t2_fp16.om filter=lfs diff=lfs merge=lfs -text
37
+ artifacts/ascend/fullsubnet/fullsubnet_cum_stateful_sb_b4_t2_fp16.om filter=lfs diff=lfs merge=lfs -text
artifacts/ascend/fullsubnet/fullsubnet_cum_stateful_fb_b4_t2_fp16.om ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50b36b7f83578ae5603010d1d758ee9501ebb23159be6a1b74cc0db4d83a7a52
3
+ size 7878574
artifacts/ascend/fullsubnet/fullsubnet_cum_stateful_sb_b4_t2_fp16.om ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:268f9a5763ea43d7f3160a6ea5e39b5c87a1786fcddd813a22215178cbe35fed
3
+ size 3842816
assets/adapter.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "interface": "tensor_model",
3
+ "model_type": "fullsubnet",
4
+ "operation": "enhance",
5
+ "checkpoint": "cum_fullsubnet_best_model_218epochs",
6
+ "contract_version": 1,
7
+ "algorithm_contract": {
8
+ "model_type": "fullsubnet",
9
+ "operation": "enhance",
10
+ "checkpoint": "cum_fullsubnet_best_model_218epochs",
11
+ "n_fft": 512,
12
+ "stft_hop": 256,
13
+ "input_samples": 512,
14
+ "time_steps": 2,
15
+ "look_ahead": 2,
16
+ "norm_type": "cumulative_laplace_norm",
17
+ "srp_frame_samples": 4096,
18
+ "srp_hop_samples": 512,
19
+ "host_dtype": "float32"
20
+ },
21
+ "target": {
22
+ "soc": "Ascend310P1",
23
+ "runtime": "acl",
24
+ "runtime_abi": "cann-8.1.RC1"
25
+ },
26
+ "assets": [
27
+ {
28
+ "logical_name": "silero_vad_v6_310p_mixed16",
29
+ "filename": "silero_vad_v6_310p_mixed16.om",
30
+ "install_path": "voice_asr/silero-vad/silero_vad_v6_310p_mixed16.om",
31
+ "manifest_path": "artifacts/ascend/silero_vad/silero_vad_v6_310p_mixed16.om",
32
+ "size_bytes": 2993746,
33
+ "sha256": "e53992ea55de81900f236220b951a2e595d134ddbb7f4ee6292b6b1055e5cc28"
34
+ },
35
+ {
36
+ "logical_name": "fullsubnet_cumulative_fb_b4_t2_fp16",
37
+ "filename": "fullsubnet_cum_stateful_fb_b4_t2_fp16.om",
38
+ "install_path": "fullsubnet/fullsubnet_cum_stateful_fb_b4_t2_fp16.om",
39
+ "manifest_path": "artifacts/ascend/fullsubnet/fullsubnet_cum_stateful_fb_b4_t2_fp16.om",
40
+ "size_bytes": 7878574,
41
+ "sha256": "50b36b7f83578ae5603010d1d758ee9501ebb23159be6a1b74cc0db4d83a7a52"
42
+ },
43
+ {
44
+ "logical_name": "fullsubnet_cumulative_sb_b4_t2_fp16",
45
+ "filename": "fullsubnet_cum_stateful_sb_b4_t2_fp16.om",
46
+ "install_path": "fullsubnet/fullsubnet_cum_stateful_sb_b4_t2_fp16.om",
47
+ "manifest_path": "artifacts/ascend/fullsubnet/fullsubnet_cum_stateful_sb_b4_t2_fp16.om",
48
+ "size_bytes": 3842816,
49
+ "sha256": "268f9a5763ea43d7f3160a6ea5e39b5c87a1786fcddd813a22215178cbe35fed"
50
+ },
51
+ {
52
+ "logical_name": "fullsubnet_cumulative_218epochs_manifest",
53
+ "filename": "cum_fullsubnet_best_model_218epochs.manifest.json",
54
+ "install_path": "fullsubnet/cum_fullsubnet_best_model_218epochs.manifest.json",
55
+ "manifest_path": "artifacts/ascend/fullsubnet/cum_fullsubnet_best_model_218epochs.manifest.json",
56
+ "size_bytes": 843,
57
+ "sha256": "9c42841ea0c5746e46cb03a5fe43686491b3b8511fe03013d564696aa466b565"
58
+ }
59
+ ]
60
+ }
inference_manifest.json ADDED
@@ -0,0 +1,261 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bundle": {
3
+ "digest": {
4
+ "algorithm": "sha256",
5
+ "scope": "structure",
6
+ "value": "96f4af0efd260aba9284402571283d87073a994cba08ef6f48608462d744b019"
7
+ },
8
+ "files": [
9
+ {
10
+ "path": "assets/adapter.json"
11
+ }
12
+ ],
13
+ "name": "fullsubnet",
14
+ "revision": 1,
15
+ "uuid": "a3f7c1d2-9e8b-4f06-87a5-2b1c3d4e5f67"
16
+ },
17
+ "deployments": {
18
+ "ascend_310p": {
19
+ "artifacts": {
20
+ "fullsubnet_fb": {
21
+ "format": "om",
22
+ "path": "artifacts/ascend/fullsubnet/fullsubnet_cum_stateful_fb_b4_t2_fp16.om",
23
+ "sha256": "50b36b7f83578ae5603010d1d758ee9501ebb23159be6a1b74cc0db4d83a7a52"
24
+ },
25
+ "fullsubnet_sb": {
26
+ "format": "om",
27
+ "path": "artifacts/ascend/fullsubnet/fullsubnet_cum_stateful_sb_b4_t2_fp16.om",
28
+ "sha256": "268f9a5763ea43d7f3160a6ea5e39b5c87a1786fcddd813a22215178cbe35fed"
29
+ }
30
+ },
31
+ "bindings": {
32
+ "fullsubnet_fb": {
33
+ "inputs": [
34
+ {
35
+ "dtype": "float32",
36
+ "index": 0,
37
+ "semantic": "host.fullsubnet.fb_spectrum",
38
+ "shape": [
39
+ 4,
40
+ 2,
41
+ 257
42
+ ]
43
+ },
44
+ {
45
+ "dtype": "float32",
46
+ "index": 1,
47
+ "semantic": "host.fullsubnet.fb_hidden_in",
48
+ "shape": [
49
+ 2,
50
+ 4,
51
+ 512
52
+ ]
53
+ },
54
+ {
55
+ "dtype": "float32",
56
+ "index": 2,
57
+ "semantic": "host.fullsubnet.fb_cell_in",
58
+ "shape": [
59
+ 2,
60
+ 4,
61
+ 512
62
+ ]
63
+ }
64
+ ],
65
+ "outputs": [
66
+ {
67
+ "dtype": "float32",
68
+ "index": 0,
69
+ "semantic": "host.fullsubnet.fb_features",
70
+ "shape": [
71
+ 4,
72
+ 2,
73
+ 257
74
+ ]
75
+ },
76
+ {
77
+ "dtype": "float32",
78
+ "index": 1,
79
+ "semantic": "host.fullsubnet.fb_hidden_out",
80
+ "shape": [
81
+ 2,
82
+ 4,
83
+ 512
84
+ ]
85
+ },
86
+ {
87
+ "dtype": "float32",
88
+ "index": 2,
89
+ "semantic": "host.fullsubnet.fb_cell_out",
90
+ "shape": [
91
+ 2,
92
+ 4,
93
+ 512
94
+ ]
95
+ }
96
+ ]
97
+ },
98
+ "fullsubnet_sb": {
99
+ "inputs": [
100
+ {
101
+ "dtype": "float32",
102
+ "index": 0,
103
+ "semantic": "host.fullsubnet.sb_features",
104
+ "shape": [
105
+ 1028,
106
+ 2,
107
+ 32
108
+ ]
109
+ },
110
+ {
111
+ "dtype": "float32",
112
+ "index": 1,
113
+ "semantic": "host.fullsubnet.sb_hidden_in",
114
+ "shape": [
115
+ 2,
116
+ 1028,
117
+ 384
118
+ ]
119
+ },
120
+ {
121
+ "dtype": "float32",
122
+ "index": 2,
123
+ "semantic": "host.fullsubnet.sb_cell_in",
124
+ "shape": [
125
+ 2,
126
+ 1028,
127
+ 384
128
+ ]
129
+ }
130
+ ],
131
+ "outputs": [
132
+ {
133
+ "dtype": "float32",
134
+ "index": 0,
135
+ "semantic": "host.fullsubnet.sb_mask",
136
+ "shape": [
137
+ 1028,
138
+ 2,
139
+ 2
140
+ ]
141
+ },
142
+ {
143
+ "dtype": "float32",
144
+ "index": 1,
145
+ "semantic": "host.fullsubnet.sb_hidden_out",
146
+ "shape": [
147
+ 2,
148
+ 1028,
149
+ 384
150
+ ]
151
+ },
152
+ {
153
+ "dtype": "float32",
154
+ "index": 2,
155
+ "semantic": "host.fullsubnet.sb_cell_out",
156
+ "shape": [
157
+ 2,
158
+ 1028,
159
+ 384
160
+ ]
161
+ }
162
+ ]
163
+ }
164
+ },
165
+ "execution": [
166
+ "fullsubnet_fb",
167
+ "fullsubnet_sb"
168
+ ],
169
+ "execution_contract": {
170
+ "cancellation_granularity": "checkpoint",
171
+ "execution_structure": "direct",
172
+ "max_open_streams": 1,
173
+ "state_bank_mode": "runtime_exclusive",
174
+ "state_links": [
175
+ {
176
+ "owner": "session",
177
+ "role": "__runtime__",
178
+ "scope": "runtime",
179
+ "source": "state.hidden_in",
180
+ "state_bank": "fullsubnet_fb.bank",
181
+ "state_name": "hidden",
182
+ "target": "state.hidden_out"
183
+ },
184
+ {
185
+ "owner": "session",
186
+ "role": "__runtime__",
187
+ "scope": "runtime",
188
+ "source": "state.cell_in",
189
+ "state_bank": "fullsubnet_fb.bank",
190
+ "state_name": "cell",
191
+ "target": "state.cell_out"
192
+ },
193
+ {
194
+ "owner": "session",
195
+ "role": "__runtime__",
196
+ "scope": "runtime",
197
+ "source": "state.hidden_in",
198
+ "state_bank": "fullsubnet_sb.bank",
199
+ "state_name": "hidden",
200
+ "target": "state.hidden_out"
201
+ },
202
+ {
203
+ "owner": "session",
204
+ "role": "__runtime__",
205
+ "scope": "runtime",
206
+ "source": "state.cell_in",
207
+ "state_bank": "fullsubnet_sb.bank",
208
+ "state_name": "cell",
209
+ "target": "state.cell_out"
210
+ }
211
+ ],
212
+ "state_scope": "stream",
213
+ "stateful": true
214
+ },
215
+ "revision": 1,
216
+ "runtime_profile": {
217
+ "backend": "ascend",
218
+ "profile": {
219
+ "device_id": 0
220
+ },
221
+ "target": {
222
+ "runtime": "acl",
223
+ "runtime_abi": "cann-8.1.RC1",
224
+ "soc": "Ascend310P1"
225
+ }
226
+ },
227
+ "uuid": "b10fab1f-3e2b-42d1-a279-d3249ed31569"
228
+ }
229
+ },
230
+ "model": {
231
+ "inputs": [
232
+ {
233
+ "dtype": "float32",
234
+ "semantic": "observation.audio_4ch",
235
+ "shape": [
236
+ -1,
237
+ 4
238
+ ]
239
+ }
240
+ ],
241
+ "interface": "tensor_model",
242
+ "model_type": "fullsubnet",
243
+ "operation": "enhance",
244
+ "outputs": [
245
+ {
246
+ "dtype": "float32",
247
+ "semantic": "voice.audio_enhanced_4ch",
248
+ "shape": [
249
+ -1,
250
+ 4
251
+ ]
252
+ }
253
+ ],
254
+ "semantic_identity": {
255
+ "logical_model_revision": "fullsubnet@cumulative-218epochs-v1",
256
+ "output_semantics": "cirm_decompressed_ola",
257
+ "preprocessing_contract": "cumulative_laplace_norm"
258
+ }
259
+ },
260
+ "schema_version": 3
261
+ }