Voice Isolator v1 Turbo-5d: LoRA and pruned base (developer kit)

The training-side artifacts behind Turbo-5d, a five-block derivative of Inworld Voice Isolator v1: the unadapted pruned base, the adapter trained on top of it, and the script that merges the two.

Just want to clean audio? Use the merged model: Turbo5d-Model. It is a drop-in checkpoint for the stock inworld-voice-isolation package. On Apple silicon, Turbo5d-MLX runs the same weights in MLX. Nothing in this repository is needed for inference.

Public release, with caveats. Independent community work, not an Inworld product. The adapter is a custom format, not PEFT. The quality result of the merged model is inconclusive. See Caveats.

Who this is for

  • You want to reproduce the merged checkpoint from its parts and audit what changed.
  • You want to study how much of the quality a low-rank adapter recovers after removing two of seven blocks.
  • You want to continue training from the pruned base, or train your own adapter against it.

What is here

File What it is SHA-256
turbo5d_unadapted_base_fp32.safetensors Original v1 offline weights with blocks 2 and 5 removed (keeps [0, 1, 3, 4, 6]). No training applied. 49.9M parameters. 2454e42896690e3d7966a8d1f48165f51588d99a9f93fd2d6c330a329c73a699
adapter_model.safetensors Rank-16, alpha-32 LoRA factors plus full normalization tensors. 1.65M parameters, 6.6 MB. 3f4d519b08747f5180cef77e63d45108674ad1a2fbc93eb476937aa8bcb94a87
merge_custom_lora.py Folds the adapter into the base and writes a standard checkpoint.

The pruned base loads in the stock package on its own, which makes it a useful "before" reference: it is the same architecture as the merged model without the adaptation.

Rebuild the merged model

pip install torch safetensors
python merge_custom_lora.py \
  --base turbo5d_unadapted_base_fp32.safetensors \
  --adapter adapter_model.safetensors \
  --output reconstructed_model.safetensors

The script refuses to run unless the adapter's recorded base_sha256 matches the base file, the rank matches every factor, and every tensor shape lines up. It never overwrites an existing output.

The result loads like any upstream checkpoint:

pip install inworld-voice-isolation==1.0.0
voice-isolate noisy.wav clean.wav --model reconstructed_model.safetensors

Expected match. A rebuild on a different machine reproduces the published merged weights to within float32 rounding (maximum absolute difference about 3e-8 across all 623 tensors in our check), not bit for bit. The file hash will therefore differ from the published model. Compare tensors, not hashes.

Adapter format

The adapter is a plain safetensors file with a small custom layout. It is not loadable with PEFT: the upstream Mamba blocks read some linear weights directly (for example dt_proj.weight) instead of calling the layer, so a wrapper that only patches forward would silently skip them. Merging into the weights avoids that.

Header metadata

Key Value
format turbo5d-custom-lora-v1
rank / alpha 16 / 32 (scale alpha / rank = 2.0)
base_sha256 hash of the pruned base this adapter was trained against
source_sha256 hash of the original seven-block checkpoint

Tensors (330 total, all FP32)

Kind Count Parameters Keys
LoRA factors 57 pairs 1,585,152 <module>.A with shape [16, in] and <module>.B with shape [out, 16]
Full-tensor overrides 216 67,588 same key as in the base, replaced as is

LoRA targets, per block type:

  • Transformer blocks: time attention qkv and proj, the feed-forward linears, band attention out_proj, and band feed-forward linear1 / linear2.
  • Mamba blocks (time and frequency, forward and backward): in_proj, x_proj, dt_proj, out_proj, and the block output_proj.

Full-tensor overrides are the trained normalization layers inside the blocks, plus the per-band encoder and decoder-head normalization parameters.

Merge rule

# for every LoRA pair
W[name + ".weight"] += (B @ A) * (alpha / rank)
# for every other key
W[key] = adapter[key]

Training your own adapter

Training code is not included. What you need to know to write a compatible adapter:

  • Train against turbo5d_unadapted_base_fp32.safetensors, never the seven-block original: block indices and shapes differ.
  • Save factors as <module path>.A and <module path>.B, any unfrozen non-LoRA tensors under their original keys, and set format, rank, alpha and base_sha256 in the header.
  • The architecture config travels in the base file's config metadata and is copied to the merged output, so the stock loader needs no arguments.

Results of the merged model

Paired SI-SDR differences between Turbo-5d and the original: overall +0.384 dB with a 95 percent interval from -0.451 to +1.272, by condition, and by language

Original v1 (offline) Turbo-5d (base + this adapter)
Blocks / parameters 7 / 64.0M 5 / 49.9M
Tesla T4 p50, 2 / 8 / 15 s clips 0.850 / 3.521 / 10.439 s 0.580 / 2.331 / 7.372 s
Speedup baseline 1.46x / 1.51x / 1.42x
Mean SI-SDR change, 72 noisy pairs baseline +0.384 dB (95% CI -0.451 to +1.272)
Pairs favoring Turbo-5d 27 of 72
Mean STOI change baseline -0.0187

Full charts, per-condition tables and method notes are in the model card. No numbers have been measured for the unadapted base alone.

Caveats

  • Custom adapter format. Not PEFT, not compatible with generic LoRA loaders. Use the merge script.
  • Tied to one base. The adapter is only valid for the exact base file in this repository; the merge script enforces the hash.
  • Quality is inconclusive. The merged model's average SI-SDR change has a confidence interval that crosses zero, with regressions on mixed speech-plus-environment noise, on French in the test set, and in mean STOI.
  • Narrow evaluation. FLEURS French and German with synthetic mixtures, 72 pairs, no listening test, no VIBE score.
  • Offline only. No realtime variant.
  • 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.
  • Unofficial. Not produced, endorsed or supported by Inworld AI.

Provenance

  • Upstream weights: inworld/voice-isolator at 9b0285b3fe8403aa8e2f1dbb2165a80a4294c970 (denoiser.safetensors).
  • Upstream code: inworld-ai/voice-isolator at c73b3fab81a870410cbac50d2f05f25edc4d10aa.
  • Adaptation: rank-16 LoRA plus normalization layers, 1,800 refinement steps followed by 600 stabilization steps.

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.

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

Model tree for cowWhySo/Inworld-Voice-Isolator-v1-Turbo5d-LoRA

Adapter
(1)
this model