Views
No views yet
train-clean-100 of LibriSpeech at 16 kHz. The RVQ module is implemented by
hand (no library version). Training uses delayed adversarial losses: an STFT
discriminator and a small waveform discriminator are switched on at step 20k
with hinge loss and feature matching on top of multi-scale mel reconstruction.test-clean (LibriSpeech), 16 kHz mono:| model | STOI | NISQA |
|---|---|---|
| reconstruction only | 0.9144 | 1.9335 |
| two-stage STFT-GAN (from reconstruction) | 0.9317 | 2.3278 |
| scratch EMA RVQ + delayed STFT/wave GAN (this) | 0.9399 | 2.5212 |
0.9398752048725391, NISQA 2.5212083049857887.[2, 4, 5, 5] → 80 frames/s at 16 kHz.base_channels = 32, latent_dim = 512.num_quantizers = 8, codebook_size = 1024, EMA codebook updates,
straight-through estimator, commitment loss weight 1.0.base_channels = 16, multi-scale.base_channels = 8, multi-scale.lr = 1e-4.adv_weight = 0.02.disc_lr = 5e-7.README.md under
"Final scratch EMA + STFT/wave GAN".1git clone https://github.com/tolyaho/NeuralAudioCodec
2cd NeuralAudioCodec
3pip install -r requirements.txt
4bash scripts/download_checkpoint.sh # pulls final_soundstream.pt here
5python scripts/inference.py checkpoint=checkpoints/final_soundstream.pt limit=2 save_audio=0notebooks/demo.ipynb.