RFWave Jamendo 44.1 kHz

Mel-spectrogram-conditioned 44.1 kHz vocoder from the RFWave family, trained on music from the MTG-Jamendo dataset. It reconstructs a 44.1 kHz mono waveform from 100-band mel spectrograms with a rectified-flow backbone and an STFT output head.

⚠️ Code compatibility β€” read this first

These weights must be used together with the RFWave code at commit 28698f06b188e49bd2e112f8e9e67e777292a323 (2024-11-01, "sample steps according to straightness"). The module layout and state-dict keys correspond to that revision; other revisions may fail to load with strict=True, or may silently mismatch.

git clone https://github.com/bfs18/rfwave.git
cd rfwave && git checkout 28698f06b188e49bd2e112f8e9e67e777292a323

config.yaml in this repo is the config from that revision.

Files

File Description
last.ckpt Original export β€” a plain dict {"state_dict": ...}, 104 fp32 tensors, ~20.7 M parameters (no Lightning wrapper, no optimizer state)
config.yaml Full experiment config (data module, backbone, feature extractor, head)

Architecture

From config.yaml:

  • Experiment: rfwave.experiment_reflow_subband.VocosExp
  • Backbone: VocosRFBackbone β€” dim=512, intermediate_dim=1536, num_layers=8, num_bands=8, input_channels=100, output_channels=288, Fourier features with pe_scale=1000
  • Conditioning: MelSpectrogramFeatures β€” n_fft=2048, hop_length=512, n_mels=100, padding=center, sample_rate=44100
  • Head: RFSTFTHead β€” n_fft=2048, hop_length=512, dim=1024, padding=center
  • Sampling rate: 44 100 Hz, mono
  • Training: rectified flow, p_uncond=0.1, inference guidance 2.0

Training data: MTG-Jamendo (music) at 44.1 kHz.

Usage

import torch

ckpt = torch.load("last.ckpt", map_location="cpu", weights_only=True)
state_dict = ckpt["state_dict"]          # 104 tensors

# instantiate rfwave.experiment_reflow_subband.VocosExp from config.yaml (commit 28698f0),
# then:
# model.load_state_dict(state_dict, strict=True)

License

BSD, matching the RFWave project.

Downloads last month
27
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support