Downloads · 30 days
3
4% of all-time downloads
benniekiss/voicerestore
voicerestore is a audio-to-audio model from benniekiss. 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 transformers. The card lists the license as mit.
VoiceRestore is a cutting-edge speech restoration model designed to significantly enhance the quality of degraded voice recordings. Leveraging flow-matching transformers, this model excels at addressing a wide range o…
Downloads · 30 days
3
4% of all-time downloads
All-time downloads
72
Public
Repo size
4.9 GB
Likes
0
Public
Click a slice to open those files.
.bin2.4 GB · 97%
From the Hugging Face model README
VoiceRestore is a cutting-edge speech restoration model designed to significantly enhance the quality of degraded voice recordings. Leveraging flow-matching transformers, this model excels at addressing a wide range of audio imperfections commonly found in speech, including background noise, reverberation, distortion, and signal loss.
It is based on this repo & demo of audio restorations: VoiceRestore
!git lfs install
!git clone https://huggingface.co/jadechoghari/VoiceRestore
%cd VoiceRestore
!pip install -r requirements.txt
from transformers import AutoModel
# path to the model folder (on colab it's as follows)
checkpoint_path = "/content/VoiceRestore"
model = AutoModel.from_pretrained(checkpoint_path, trust_remote_code=True)
model("test_input.wav", "test_output.wav")
#add short=False if audio is > 10 seconds
model("long.mp3", "long_output.mp3", short=False)
Restored audio - 16 steps, strength 0.5:
If you use VoiceRestore in your research, please cite our paper:
@article{kirdey2024voicerestore,
title={VoiceRestore: Flow-Matching Transformers for Speech Recording Quality Restoration},
author={Kirdey, Stanislav},
journal={arXiv},
year={2024}
}
This project is licensed under the MIT License - see the LICENSE file for details.