Downloads · 30 days
0
TigreGotico/audiosronnx-mossformergan
audiosronnx-mossformergan is a audio-to-audio model from TigreGotico. Use it for the audio-to-audio task on the model card, and read the license before you ship it in a product. It is set up for audiosronnx. The card lists the license as apache-2.0.
ONNX export of the MossFormerGANSE16K generator from ClearerVoice-Studio (Alibaba, Apache-2.0), for the mossformergan engine in audiosronnx.
Downloads · 30 days
0
Access
Public
Updated Jul 20, 2026
Repo size
17.7 MB
Likes
1
Public
Click a slice to open those files.
.onnx17.7 MB · 100%
From the Hugging Face model README
ONNX export of the MossFormerGAN_SE_16K generator from
ClearerVoice-Studio (Alibaba,
Apache-2.0), for the mossformergan engine in
audiosronnx.
MossFormerGAN pairs the MossFormer attention backbone with a metric-GAN objective and holds the highest published PESQ of any model surveyed for this library — 3.47 on VoiceBank+DEMAND. It predicts a masked magnitude plus an additive complex residual, so it corrects phase rather than reusing the noisy phase.
spec[1, 2, 401, 201] -> enhanced[1, 2, 401, 201] (real, imag)
Only the generator is exported; the discriminator supplies the training loss.
| File | Rate | Size | Params |
|---|---|---|---|
mossformergan.onnx | 16 kHz | 17.7 MB | 3.13 M |
Measured SNR gain on speech at 19 / 11 / 5 dB input: +2.6 / +8.3 / +11.6 dB.
MossFormer's group attention reshapes the sequence into fixed-size groups, and that reshape captures the traced length — a dynamic-length graph runs at its trace size and fails elsewhere, even with constant folding disabled. The graph therefore takes a fixed 401-frame window (~2.5 s at 16 kHz, hop 100); audiosronnx slides it with a crossfaded overlap, as upstream's own decode segments long audio.
Tracing at 1601 frames (upstream's 10 s decode window) exhausted memory during export, which is why the window is 401.
Two operators needed rewriting, each bit-for-bit equivalent:
torch.complex has no ONNX operator, but angle(complex(re, im)) is atan2(im, re).torch.eye(dtype=bool) exports to EyeLike(bool), for which onnxruntime has no kernel;
an arange equality builds the same identity mask from supported ops.Apache-2.0, inherited from ClearerVoice-Studio.