File size: 1,163 Bytes
289a72a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
license: mit
tags:
- audio
- speech-enhancement
- speech-restoration
- bandwidth-extension
- onnx
library_name: audiosronnx
---

# audiosronnx-sidon

ONNX weights for the **Sidon** speech-restoration engine of
[audiosronnx](https://github.com/TigreGotico/audiosronnx). Sidon restores degraded
16 kHz speech and resynthesises it at 48 kHz.

Two graphs:

- `feature_extractor.int8.onnx` — 8-layer w2v-BERT 2.0 feature predictor (LoRA-adapted),
  SeamlessM4T log-mel features `[1, T, 160]` → hidden states `[1, T, 1024]` at 50 Hz.
  Dynamic int8-quantized for CPU.
- `decoder.onnx` — DAC vocoder (960× upsample), `[1, 1024, T]` → `[1, 1, 960·T]` 48 kHz
  waveform. fp32.

The SeamlessM4T mel front-end runs in numpy inside the adapter, so inference is
onnxruntime-only (no torch).

Converted from [sarulab-speech/sidon-v0.1](https://huggingface.co/sarulab-speech/sidon-v0.1)
(TorchScript). Graph parity vs. PyTorch: max abs err ≤ 3e-6.

## Usage

```python
from audiosronnx import load_sr
sr = load_sr("sidon")
sr.upscale_file("noisy_16k.wav", "restored_48k.wav")
```

Upstream: [sarulab-speech/Sidon](https://github.com/sarulab-speech/Sidon) (MIT).