Downloads ยท 30 days
0
hi-paris/wavlm-vocoder-french
wavlm-vocoder-french is a audio-to-audio model from hi-paris. 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 pytorch. The card lists the license as mit.
News โ June 2026: ๐ The paper is now published in the JEP 2026 proceedings โ ๐ read it here.
Downloads ยท 30 days
0
Access
Public
Updated Jun 30, 2026
Repo size
614 MB
Likes
10
Public
Click a slice to open those files.
.pt447 MB ยท 100%
From the Hugging Face model README
News โ June 2026: ๐ The paper is now published in the JEP 2026 proceedings โ ๐ read it here.
News โ March 2026: This work was accepted at JEP 2026.
This repository hosts the main checkpoint associated with the paper, together with evaluation results, usage instructions, and links to the public demo and code.
A research checkpoint for French speech reconstruction from frozen WavLM representations, released as the companion model of our JEP 2026 accepted paper on WavLM-to-Audio vocoding for French speech.
๐ Code: github.com/hi-paris/wavlm-vocoder-french
๐ง Demo: hi-paris.github.io/wavlm2audio-demo
WavLM-to-Audio Vocoding in French: Layer Ablation Study and Adversarial Supervision for Continuous Voice Conversion
Nassima Ould Ouali, Awais Hussein Sani, Reda Dehak, Eric Moulines
๐ฌ Model developed and trained by Nassima Ould Ouali โ Research Engineer Hi! Paris / Ecole Polytechnique
Accepted at JEP 2026
This paper studies:
# 1. Clone the codebase
git clone https://github.com/hi-paris/wavlm-vocoder-french.git
cd wavlm-vocoder-french
pip install -e .
# 2. Run inference โ checkpoint downloads automatically from HF Hub
python scripts/infer.py \
--hf_repo hi-paris/wavlm-vocoder-french \
--hf_filename checkpoint_step180000_infer.pt \
--input_file /path/to/your/audio.wav \
--output_dir ./generated \
--device cuda
That's it. The checkpoint is downloaded automatically on first run.
Output: ./generated/{filename}_reconstructed.wav
This repository presents a WavLM-to-Audio neural vocoder for French speech. The system reconstructs waveform audio from frozen internal representations extracted from WavLM-Base+, using a learnable layer fusion mechanism, a convolutional adapter, and a HiFi-GAN-style neural generator.
This work is positioned as a foundational stage-1 component: before performing transformations in a continuous self-supervised latent space for voice conversion, it is necessary to ensure that the latent representation can first be decoded back into faithful audio.
Modern voice conversion increasingly relies on continuous latent representations extracted from large self-supervised speech models such as Wav2Vec 2.0, HuBERT, and WavLM. However, reliable waveform reconstruction from such representations remains a technical challenge, especially for French speech.
This repository documents a French WavLM-to-Audio vocoder developed within a broader research effort on modular voice conversion. It provides a reconstructive decoder that can serve as a basis for future continuous voice conversion systems operating in the WavLM latent space.
The architecture follows a three-stage pipeline:
The model explores:
The main checkpoint released in this repository is checkpoint_step180000_infer.pt (427 MB, inference-ready, generator weights only).
It corresponds to the best model from the JEP 2026 paper: full GAN supervision (MPD + MSD + Feature Matching) with learned weighted layer fusion.
The quantitative results reported below summarize the evaluation setting used in the accepted paper on a short French held-out reconstruction benchmark.
The model was trained on cleaned French speech data built from public corpora:
| Corpus | Duration |
|---|---|
| SIWIS | 10.9 h |
| M-AILABS French | 160.7 h |
| Common Voice French | 66.7 h |
| Total | 238.3 h |
The data preparation pipeline includes mono conversion, resampling to 16 kHz, amplitude normalization, duration filtering, silence filtering, acoustic quality control, and manual inspection.
| Parameter | Value |
|---|---|
| WavLM backbone | microsoft/wavlm-base-plus |
| Hidden dimension | 256 |
| Number of adapter layers | 6 |
| Kernel size | 7 |
| Weighted WavLM layers | True |
| Snake activation | False |
| Sample rate | 16 kHz |
| Segment length | 16000 samples |
The model is evaluated in a short-audio reconstruction setting on a stratified subset of 15 test utterances covering unseen speakers, variable durations (1.5 s to 5 s), and diverse phonetic content.
These results correspond to the evaluation setting reported in the accepted JEP 2026 paper.
| Model | MCD โ | Mel-L1 โ | PESQ โ | STOI โ | V/UV F1 โ | F0 RMSE โ | F0 Corr โ |
|---|---|---|---|---|---|---|---|
| Without GAN | 9.72 | 1.55 | 1.11 | 0.74 | 0.878 | 10.1 | 0.83 |
| + MPD/MSD + FM | 8.43 | 1.17 | 1.28 | 0.86 | 0.932 | 7.7 | 0.96 |
| Relative gain | -13.3% | -24.5% | +15.3% | +16.2% | +6.1% | -23.8% | +15.7% |
Adversarial supervision is critical for improving spectral quality, intelligibility, and prosodic fidelity in WavLM-to-Audio reconstruction.
git clone https://github.com/hi-paris/wavlm-vocoder-french.git
cd wavlm-vocoder-french
pip install -e .
# Single file
python scripts/infer.py \
--hf_repo hi-paris/wavlm-vocoder-french \
--hf_filename checkpoint_step180000_infer.pt \
--input_file /path/to/audio.wav \
--output_dir ./generated \
--device cuda
# Directory of files
python scripts/infer.py \
--hf_repo hi-paris/wavlm-vocoder-french \
--hf_filename checkpoint_step180000_infer.pt \
--input_dir /path/to/audio_dir \
--output_dir ./generated \
--device cuda
python scripts/infer.py \
--checkpoint /path/to/checkpoint_step180000_infer.pt \
--input_file /path/to/audio.wav \
--output_dir ./generated \
--device cuda
The inference script generates reconstructed waveforms saved as {stem}_reconstructed.wav in the specified output directory.
This model is not a full voice conversion system. It is a reconstructive neural decoder designed as a foundational component.
This model corresponds to the reconstructive decoding stage required before future experiments on continuous latent-space transformation and controllable voice conversion. The associated paper studies layer-wise WavLM conditioning, learned weighted layer fusion, the effect of adversarial supervision, and the feasibility of faithful French speech reconstruction from frozen WavLM representations.
@misc{ouldouali2026wavlm2audiofr,
title={WavLM-to-Audio Vocoding in French: Layer Ablation Study and Adversarial Supervision for Continuous Voice Conversion},
author={Nassima Ould Ouali and Awais Hussain Sani and Eric Moulines and Reda Dehak},
year={2026},
note={Accepted at JEP 2026}
}