Downloads · 30 days
0
yongyizang/MSR_UFormers
MSR_UFormers is a machine learning model from yongyizang. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
These checkpoints accompany the Music Source Restoration paper. (arxiv link coming soon)
Downloads · 30 days
0
Access
Public
Updated May 27, 2025
Repo size
517 MB
Likes
3
Public
Click a slice to open those files.
.pth517 MB · 100%
From the Hugging Face model README
These checkpoints accompany the Music Source Restoration paper. (arxiv link coming soon)
A simple audio restoration toolkit based on UFormer, designed for music source restoration across different instrument groups. Supports long-file inference via overlap-add and multiple checkpoints for specialized restoration (e.g., guitars, vocals, synth).
music-restoration/ # Root of the repository
├── model.py # UFormerConfig & UFormer definitions
├── inference.py # Inference entry-point (CLI, HF API, Gradio)
├── requirements.txt # Dependencies: torch, soundfile, gradio, huggingface_hub
├── .gitattributes # LFS tracking for checkpoints
├── README.md
└── checkpoints/ # Pretrained weights
├── acoustic_guitar.pth
├── bass.pth
├── electric_guitar.pth
├── guitars.pth
├── keyboards.pth
├── orchestra.pth
├── rhythm_section.pth
├── synth.pth
└── vocals.pth
pip install -r requirements.txt
python inference.py \
--input noisy.wav \
--output restored.wav \
--checkpoint guitars
Send a JSON payload:
{
"inputs": <raw WAV bytes>,
"parameters": { "checkpoint": "vocals" }
}
python inference.py --serve
Open the provided local URL to upload audio and select a checkpoint.
Available models for different instrument groups:
acoustic_guitarbasselectric_guitarguitarskeyboardsorchestrarhythm_sectionsynthvocalsApache 2.0 License. See LICENSE for details.