Reosnate is a SOTA text-to-audio generator reinforced with online GRPO algorithm.
It leverages the sophisticated reasoning capabilities of modern Large Audio Language Models as reward models.
This repo provides a comprehensive pipeline for audio generation, covering Pre-training, SFT, DPO, and GRPO.
1conda create -n resonate python=3.11 -y
2conda activate resonate
3pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 --upgrade
1git clone https://github.com/xiquan-li/Resonate.git
2
3cd Resonate
4pip install -e .
This will automatically download the pre-trained checkpoints from huggingface, and generate audio according to your prompt.
By default, this will use
Resonate-GRPO.
The output audio will be at
Resonate/output/, and the checkpoints will be at
Resonate/weights/.