BSC-LT / wavenext-mel

huggingface.co
Total runs: 60
24-hour runs: 0
7-day runs: 0
30-day runs: 50
Model's Last Updated: September 10 2024

Introduction of wavenext-mel

Model Details of wavenext-mel

Wavenext-mel-22khz

Model Details
Model Description

Wavenext is a modification of Vocos, where the last ISTFT layer is replaced with a a trainable linear layer that can directly predict speech waveform samples.

This version of Wavenext uses 80-bin mel spectrograms as acoustic features which are widespread in the TTS domain since the introduction of hifi-gan The goal of this model is to provide an alternative to hifi-gan that is faster and compatible with the acoustic output of several TTS models.

Intended Uses and limitations

The model is aimed to serve as a vocoder to synthesize audio waveforms from mel spectrograms. Is trained to generate speech and if is used in other audio domain is possible that the model won't produce high quality samples.

Usage
Installation

To use Wavenext only in inference mode, install it using:

pip install git+https://github.com/langtech-bsc/wavenext_pytorch
Reconstruct audio from mel-spectrogram
import torch

from vocos import Vocos

vocos = Vocos.from_pretrained("BSC-LT/wavenext-mel")

mel = torch.randn(1, 80, 256)  # B, C, T
audio = vocos.decode(mel)

Copy-synthesis from a file:

import torchaudio

y, sr = torchaudio.load(YOUR_AUDIO_FILE)
if y.size(0) > 1:  # mix to mono
    y = y.mean(dim=0, keepdim=True)
y = torchaudio.functional.resample(y, orig_freq=sr, new_freq=22050)
y_hat = vocos(y)
Training Details
Training Data

The model was trained on 4 speech datasets

Dataset Language Hours
LibriTTS-r en 585
LJSpeech en 24
Festcat ca 22
OpenSLR69 ca 5
Training Procedure

The model was trained for 1M steps and 96 epochs with a batch size of 16 for stability. We used a Cosine scheduler with a initial learning rate of 1e-4. We also modified the mel spectrogram loss to use 128 bins and fmax of 11025 instead of the same input mel spectrogram.

Training Hyperparameters
  • initial_learning_rate: 1e-4
  • scheduler: cosine without warmup or restarts
  • mel_loss_coeff: 45
  • mrd_loss_coeff: 0.1
  • batch_size: 16
  • num_samples: 16384
Evaluation

Evaluation was done using the metrics on the original repo, after 96 epochs we achieve:

  • val_loss: 3.79
  • f1_score: 0.94
  • mel_loss: 0.27
  • periodicity_loss:0.128
  • pesq_score: 3.27
  • pitch_loss: 31.33
  • utmos_score: 3.20
Citation

If this code contributes to your research, please cite the work:

@INPROCEEDINGS{10389765,
  author={Okamoto, Takuma and Yamashita, Haruki and Ohtani, Yamato and Toda, Tomoki and Kawai, Hisashi},
  booktitle={2023 IEEE Automatic Speech Recognition and Understanding Workshop (ASRU)}, 
  title={WaveNeXt: ConvNeXt-Based Fast Neural Vocoder Without ISTFT layer}, 
  year={2023},
  volume={},
  number={},
  pages={1-8},
  keywords={Fourier transforms;Vocoders;Conferences;Automatic speech recognition;ConvNext;end-to-end text-to-speech;linear layer-based upsampling;neural vocoder;Vocos},
  doi={10.1109/ASRU57964.2023.10389765}}

@article{siuzdak2023vocos,
  title={Vocos: Closing the gap between time-domain and Fourier-based neural vocoders for high-quality audio synthesis},
  author={Siuzdak, Hubert},
  journal={arXiv preprint arXiv:2306.00814},
  year={2023}
}
Additional information
Author

The Language Technologies Unit from Barcelona Supercomputing Center.

Contact

For further information, please send an email to [email protected] .

Copyright

Copyright(c) 2024 by Language Technologies Unit, Barcelona Supercomputing Center.

License

Apache 2.0

Funding

This work has been promoted and financed by the Generalitat de Catalunya through the Aina project .

Runs of BSC-LT wavenext-mel on huggingface.co

60
Total runs
0
24-hour runs
-1
3-day runs
0
7-day runs
50
30-day runs

More Information About wavenext-mel huggingface.co Model

More wavenext-mel license Visit here:

https://choosealicense.com/licenses/apache-2.0

wavenext-mel huggingface.co

wavenext-mel huggingface.co is an AI model on huggingface.co that provides wavenext-mel's model effect (), which can be used instantly with this BSC-LT wavenext-mel model. huggingface.co supports a free trial of the wavenext-mel model, and also provides paid use of the wavenext-mel. Support call wavenext-mel model through api, including Node.js, Python, http.

wavenext-mel huggingface.co Url

https://huggingface.co/BSC-LT/wavenext-mel

BSC-LT wavenext-mel online free

wavenext-mel huggingface.co is an online trial and call api platform, which integrates wavenext-mel's modeling effects, including api services, and provides a free online trial of wavenext-mel, you can try wavenext-mel online for free by clicking the link below.

BSC-LT wavenext-mel online free url in huggingface.co:

https://huggingface.co/BSC-LT/wavenext-mel

wavenext-mel install

wavenext-mel is an open source model from GitHub that offers a free installation service, and any user can find wavenext-mel on GitHub to install. At the same time, huggingface.co provides the effect of wavenext-mel install, users can directly use wavenext-mel installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

wavenext-mel install url in huggingface.co:

https://huggingface.co/BSC-LT/wavenext-mel

Url of wavenext-mel

wavenext-mel huggingface.co Url

Provider of wavenext-mel huggingface.co

BSC-LT
ORGANIZATIONS

Other API from BSC-LT

huggingface.co

Total runs: 2.7K
Run Growth: 1.9K
Growth Rate: 69.70%
Updated:October 22 2025
huggingface.co

Total runs: 2.0K
Run Growth: 1.4K
Growth Rate: 70.01%
Updated:October 22 2025
huggingface.co

Total runs: 1.8K
Run Growth: 254
Growth Rate: 14.07%
Updated:October 22 2025
huggingface.co

Total runs: 1.4K
Run Growth: -2.2K
Growth Rate: -164.46%
Updated:April 10 2026
huggingface.co

Total runs: 753
Run Growth: 300
Growth Rate: 36.45%
Updated:March 27 2026
huggingface.co

Total runs: 394
Run Growth: 139
Growth Rate: 34.32%
Updated:August 07 2025
huggingface.co

Total runs: 378
Run Growth: 188
Growth Rate: 48.45%
Updated:October 26 2021
huggingface.co

Total runs: 337
Run Growth: 109
Growth Rate: 33.75%
Updated:April 10 2026
huggingface.co

Total runs: 264
Run Growth: -250
Growth Rate: -95.79%
Updated:April 10 2026
huggingface.co

Total runs: 186
Run Growth: -877
Growth Rate: -454.40%
Updated:April 10 2026
huggingface.co

Total runs: 122
Run Growth: 25
Growth Rate: 19.69%
Updated:April 22 2026
huggingface.co

Total runs: 119
Run Growth: 16
Growth Rate: 13.45%
Updated:September 06 2021
huggingface.co

Total runs: 109
Run Growth: -1
Growth Rate: -0.88%
Updated:October 29 2024