Instructions to use cowWhySo/Inworld-Voice-Isolator-v1-Turbo5d-Model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Inworld Voice Isolator
How to use cowWhySo/Inworld-Voice-Isolator-v1-Turbo5d-Model with Inworld Voice Isolator:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
A smaller, faster drop-in checkpoint for the offline mode of Inworld Voice Isolator v1.
Same package, same commands, one changed argument.
Public release, with caveats. This is an independent community derivative, not an Inworld product. The speedup is measured. The quality result is not conclusive: the average is slightly up, but the confidence interval crosses zero and some conditions get worse. Read Caveats before relying on it.
At a glance
| Original v1 (offline) | Turbo-5d | |
|---|---|---|
| Dual-path blocks | 7 | 5 |
| Parameters | 64.0M | 49.9M (-22%) |
| Checkpoint size (FP32) | 256 MB | 200 MB |
| Tesla T4, 8 s clip, p50 | 3.52 s | 2.33 s (1.51x) |
| Mean SI-SDR change, 72 noisy pairs | baseline | +0.384 dB (95% CI -0.451 to +1.272) |
| Modes | offline and realtime | offline only |
| Inworld VIBE score | 0.768 | not scored |
Use it when you run the offline model in batch or on modest GPUs and want about 1.4 to 1.5x the throughput for a similar result on typical noisy speech.
Stay on the original when you need the realtime model, the best measured quality, or audio where the regressions below matter (speech with both a competing talker and background noise, intelligibility-critical work).
On a Mac with Apple silicon? Turbo5d-MLX runs the same weights natively in MLX, without PyTorch.
Looking to retrain, inspect or re-merge the adaptation? That lives in the developer repository: Turbo5d-LoRA.
Quick start
Install the upstream package. No fork and no extra loader are needed: the checkpoint carries its own architecture config, and the stock loader reads it.
pip install inworld-voice-isolation==1.0.0
Command line. Point --model at this repository:
voice-isolate noisy.wav clean.wav --model hf://cowWhySo/Inworld-Voice-Isolator-v1-Turbo5d-Model/denoiser_turbo5d_fp32.safetensors
The voice goes to clean.wav and the removed background to clean_background.wav, both 48 kHz float32, exactly as with the original model.
Python. Change the model argument and nothing else:
from inworld import voice_isolation
isolator = voice_isolation.VoiceIsolator(
"hf://cowWhySo/Inworld-Voice-Isolator-v1-Turbo5d-Model/denoiser_turbo5d_fp32.safetensors")
wav, sample_rate = voice_isolation.load_audio("noisy.wav")
voice = isolator.isolate(wav, sample_rate)
voice_isolation.save_audio("clean.wav", voice, sample_rate, subtype="FLOAT")
A local path to the downloaded .safetensors file works in both places. For reproducible pipelines, pin a revision: hf://.../denoiser_turbo5d_fp32.safetensors@<commit>.
infer_pytorch.py in this repository is a standalone example that also downmixes and resamples arbitrary input (it additionally needs scipy).
Device selection, chunking and the optional [fast] Mamba kernels behave as documented in the upstream repository. Streaming mode is not supported by this checkpoint.
Benchmarks
All comparisons are against the original seven-block offline checkpoint, inworld/voice-isolator at revision 9b0285b3.
Speed
| 48 kHz synthetic input | Original p50 | Turbo-5d p50 | Speedup |
|---|---|---|---|
| 2 seconds | 0.850 s | 0.580 s | 1.46x |
| 8 seconds | 3.521 s | 2.331 s | 1.51x |
| 15 seconds | 10.439 s | 7.372 s | 1.42x |
Measured with Inworld's speedtest.py, PyTorch FP32, offline mode, on one Tesla T4. Other GPUs, CPU and Apple silicon were not benchmarked. Expect a similar ratio, not the same absolute times.
Quality
| Condition | Original SI-SDR | Turbo-5d SI-SDR | Change |
|---|---|---|---|
| Environmental noise (n=24) | 16.586 dB | 17.300 dB | +0.714 dB |
| Competing speech (n=24) | 10.303 dB | 10.926 dB | +0.623 dB |
| Speech + environment (n=24) | 8.837 dB | 8.651 dB | -0.186 dB |
Test set: FLEURS fr_fr and de_de speech (16 kHz, resampled to 48 kHz) mixed with synthetic noise, 72 contaminated pairs in total.
How much to trust the quality number
- The overall change is +0.384 dB, with a recording-cluster bootstrap 95% interval of -0.451 to +1.272 dB. The interval includes zero, so this evaluation does not show that Turbo-5d is better or worse on average.
- Only 27 of 72 pairs favor Turbo-5d. The mean is pulled up by a minority of larger wins.
- The result differs by language: German +1.162 dB, French -0.394 dB (36 pairs each).
- Mean STOI changes by -0.0187, a small intelligibility regression.
Caveats
- Not conclusively equal in quality. See above. Treat it as "roughly comparable on this test, faster for certain", and listen to your own material before switching.
- Known regressions. Mixed speech-plus-environment noise, French in this test set, and mean STOI are worse than the original. Earlier development runs on VCTK and LibriSpeech also showed environmental-only and 90th-percentile regressions.
- Narrow evaluation. Two languages, synthetic mixtures, 72 pairs. No natural-noise recordings and no formal listening test.
- No VIBE score. Inworld's benchmark audio is not distributed, so this model could not be scored on it. Nothing here is comparable to the 0.768 reported for the original.
- Offline only. The realtime (causal, streaming) model was not pruned or adapted.
- One hardware data point. Speed was measured on a Tesla T4 only.
- Data licensing not formally reviewed. The adaptation used additional speech data whose licensing has not been through a formal review for redistribution of derived weights. Evaluate this for your own use, especially commercial use.
- Unofficial. Not produced, endorsed or supported by Inworld AI. Do not send Turbo-5d issues upstream.
How it was made
- Prune. Blocks 2 and 5 of the seven dual-path blocks were removed, keeping blocks
[0, 1, 3, 4, 6](three transformer, two Mamba). - Adapt. The pruned network was trained with a rank-16, alpha-32 LoRA on its linear layers, plus its normalization layers, to recover the lost quality.
- Merge. The adapter was folded back into the weights, giving a single standard checkpoint with no adapter dependency at inference time.
The unadapted pruned base, the adapter and the merge script are published separately in Turbo5d-LoRA for anyone who wants to reproduce or extend step 3.
Files
| File | Purpose | SHA-256 |
|---|---|---|
denoiser_turbo5d_fp32.safetensors |
Merged FP32 checkpoint, the only file needed for inference | 533207718f79412bb5c12e1ff83b4d57f1c1f83d97cd2304bf3d26ae580ece93 |
infer_pytorch.py |
Standalone inference example | |
assets/ |
Charts used in this card |
Upstream source: weights inworld/voice-isolator at 9b0285b3fe8403aa8e2f1dbb2165a80a4294c970, code inworld-ai/voice-isolator at c73b3fab81a870410cbac50d2f05f25edc4d10aa.
License and attribution
Apache-2.0, the same license as the original code and weights. See LICENSE and NOTICE, which keeps Inworld's notices and records what was changed.
All credit for the architecture, the original training and the inference package goes to Inworld AI. If you use this model, please cite and link the original: inworld/voice-isolator.
- Downloads last month
- -