Upload folder using huggingface_hub
Browse files- README.md +48 -0
- mossformer2_48k.onnx +3 -0
README.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
library_name: audiosronnx
|
| 4 |
+
pipeline_tag: audio-to-audio
|
| 5 |
+
tags:
|
| 6 |
+
- speech-enhancement
|
| 7 |
+
- denoising
|
| 8 |
+
- noise-suppression
|
| 9 |
+
- fullband
|
| 10 |
+
- onnx
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# audiosronnx-mossformer2
|
| 14 |
+
|
| 15 |
+
ONNX export of the **MossFormer2_SE_48K** mask predictor from
|
| 16 |
+
[ClearerVoice-Studio](https://github.com/modelscope/ClearerVoice-Studio) (Alibaba,
|
| 17 |
+
Apache-2.0), for the `mossformer2` denoise engine in
|
| 18 |
+
[audiosronnx](https://github.com/TigreGotico/audiosronnx).
|
| 19 |
+
|
| 20 |
+
MossFormer2 is a 55 M-parameter hybrid transformer + recurrent mask predictor and the
|
| 21 |
+
strongest **fullband (48 kHz)** denoiser in the library. It reports
|
| 22 |
+
**PESQ 3.16 / STOI 0.95 / SI-SDR 19.38** on VoiceBank+DEMAND.
|
| 23 |
+
|
| 24 |
+
The graph predicts a spectral mask from log-mel features; the fbank front-end, the mask
|
| 25 |
+
application and the STFT/ISTFT all run in numpy inside audiosronnx:
|
| 26 |
+
|
| 27 |
+
```
|
| 28 |
+
fbank[1, T, 180] -> mask[1, T, 961]
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
The 180 channels are 60 Kaldi mel bins plus their first- and second-order deltas.
|
| 32 |
+
|
| 33 |
+
| File | Rate | Size |
|
| 34 |
+
|------|------|------|
|
| 35 |
+
| `mossformer2_48k.onnx` | 48 kHz | 229 MB |
|
| 36 |
+
|
| 37 |
+
## Export note
|
| 38 |
+
|
| 39 |
+
This graph **must be exported with `do_constant_folding=False`**. With folding enabled the
|
| 40 |
+
model is only correct at the length it was traced at — error grows with the distance from
|
| 41 |
+
that length (max abs err 1.4 at T=246 and 4.4 at T=400 for a trace at T=200), while a
|
| 42 |
+
same-length check still looks clean at 1e-4. With folding disabled, parity holds across
|
| 43 |
+
lengths (~1e-4 from T=50 to T=1000). End-to-end against the upstream pipeline:
|
| 44 |
+
**correlation 0.99999999, 71.6 dB SNR**.
|
| 45 |
+
|
| 46 |
+
## License
|
| 47 |
+
|
| 48 |
+
Apache-2.0, inherited from ClearerVoice-Studio.
|
mossformer2_48k.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0904ff3b74bdc089854612096edbe5a2fcfada489241972ba69e0c3ccb24304a
|
| 3 |
+
size 229126935
|