MossFormer2_SS_16K — ONNX (fixed 4 s window)
An ONNX export of alibabasglab/MossFormer2_SS_16K (ClearerVoice-Studio, Alibaba Speech Lab): two-speaker speech separation at 16 kHz.
Exported for the native (tract, pure Rust) separator runtime of cleanin, a speech
cleanup tool, where it separates overlapping talkers. Registry id there:
mossformer2-ss-16k-native.
| input | mix, float32 [1, 64000] (4 s at 16 kHz) |
| output | sources, float32 [2, 64000] |
| opset | 17, f32 weights |
| file | mossformer2_ss_16k.onnx, 245 120 037 bytes |
| sha256 | 54f956bd96736b6f8713d6d31599c31f12cfe591875768088cbe893193f7f1b6 |
The PyTorch module was patched to static shapes for the fixed window before export
(constant rotary / padding shapes, GroupNorm reduction as a matmul, grouped Conv2d as
depthwise Conv1d, PReLU as relus). Max relative error against the original PyTorch model:
2.2e-5 (ONNX Runtime), 2.0e-5 (tract). Details in MANIFEST.json.
Longer audio: run overlapping 4 s windows and align the speaker order between windows (the model's output order is arbitrary per window).
License
Apache-2.0, the same as the original model. This repository contains a format conversion of the original weights; all credit for the model goes to the ClearerVoice-Studio authors.