RMFSR + wavJEPA + positional conditioning — 148k research checkpoint
This is an unfinished, independent speech-restoration experiment, preserved at 148,000 completed optimizer updates. It is not an official RMFSR, sCM, or TEMF release, and restoration quality is not established. The model can reduce speech intelligibility or introduce artifacts.
The checkpoint is the latest persisted save from this experiment. Training had reached 148,969 updates before a runtime restart; the final 969 updates were not saved. The planned 300,000-update run was not completed.
Original project and listening demo · Separate next experiment: TEMF + wavJEPA + FiLM
Model
- Restoration network: 7,406,346 parameters; five-level complex-spectral CNN with frequency attention and a temporal convolutional bottleneck.
- External conditioning: frozen wavJEPA-base, revision
6be4a5093f6c9adbbd55e00b6e5b8f067aa03345. The retained encoder has 89,280,768 parameters and is downloaded separately; its weights are not included here. - Time conditioning: 32 positional angular frequencies from 1 to 0.0001 per time variable, plus adaptive double normalization. This is an sCM-inspired adaptation with frame-local normalization, not the complete sCM architecture or objective.
- Representation: compressed complex STFT coefficients, with a 20 ms window, 10 ms hop, and magnitude compression exponent 0.3 at 16 kHz.
- Final training objective: full data-prediction MeanFlow/JVP loss. TEMF weighting and its scheduler, experimental wavJEPA FiLM, and auxiliary waveform-fidelity losses are not active in this release. Earlier training stages used different settings; the saved configuration records transitions.
- Inference: damaged audio only. Clean references are used during training and controlled evaluation, not required for restoration. NFE is the number of network evaluations in the sampler.
The restoration backbone uses causal operations, but wavJEPA uses bidirectional context in approximately two-second segments. This complete model is offline, not a causal streaming or demonstrated real-time system.
Files
model.safetensors: EMA restoration weights used by the inference script.raw-model.safetensors: non-EMA restoration weights at the same update.training-checkpoint.pt: full resumable checkpoint, including model, EMA, optimizer and saved training state. This is a Python/PyTorch pickle artifact; load only if you trust its source. It is not needed for normal inference.config.json,architecture.json,release.json: saved configuration, architecture and release provenance.rmfsr/,restore.py,requirements.txt: inference source and dependencies.training-source.zip: snapshot of the deployed training source associated with this release. It does not include the training corpora or external encoder weights.
Run inference
Use a fresh Python environment. Download the repository, then install its dependencies:
pip install huggingface_hub
python -c "from huggingface_hub import snapshot_download; snapshot_download('hackerprofile1/rmfsr-wavjepa-scm-148k', local_dir='rmfsr-148k')"
cd rmfsr-148k
pip install -r requirements.txt
python restore.py --input input.wav --output restored.wav --nfe 20 --device cpu
The input must be mono, 16 kHz audio. The output is a raw floating-point WAV, without playback loudness normalization. Use --device cuda with a compatible PyTorch/CUDA environment if desired.
The first run downloads the pinned wavJEPA encoder and executes its upstream custom model code via trust_remote_code=True. The restoration EMA is loaded from safetensors. Keep the pinned encoder revision and bundled inference code together to preserve feature alignment and checkpoint compatibility.
Training and evaluation scope
Training used EARS speech, DNS Challenge background noise, simulated room responses, and on-the-fly signal degradations. DAPS produced speech supplied long-term spectral statistics for studio-style target processing. The final recipe uses four-second training crops, an effective batch size of 16, and EMA decay 0.999. It is an independent implementation with documented engineering choices, not a verified reproduction of the source paper.
No aggregate evaluation of this 148k checkpoint has been completed. Earlier local probes used the 145k EMA checkpoint, not the weights released here:
- Moderate C+ example: input STOI 0.8770; NFE 100 output 0.8574.
- Difficult example: input STOI 0.4304; NFE 20 output 0.4451.
- Less-damaged version of that example: input STOI 0.5593; NFE 5 output 0.5211.
These are individual clips, not a benchmark, and the difficult clip was selected for low input STOI from a small saved panel. They show mixed results, including worse intelligibility than the damaged input. More sampling steps do not guarantee improvement. The public listening demo may use another checkpoint; inspect its displayed provenance.
Use and attribution
This archive is intended for research, diagnosis and reproducibility. No new license grant is declared for this release. Publication does not imply permission for unrestricted or commercial reuse. EARS and DAPS carry noncommercial terms; the encoder and other data have their own terms. See NOTICES.md for upstream sources and licensing information. No training recordings are distributed here.
Method references: RMFSR, Braun (2026), wavJEPA, and sCM. These authors did not produce or endorse this checkpoint. The linked TEMF + wavJEPA + FiLM project is a separate subsequent experiment.