Downloads · 30 days
46
7% of all-time downloads
NextFire/tsurumeso-vocal-remover
tsurumeso-vocal-remover is a audio-to-audio model from NextFire. Use it for the audio-to-audio task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as mit.
Transformers pipeline wrapper for tsurumeso/vocal-remover, release v6.0.0b4, forked here.
Downloads · 30 days
46
7% of all-time downloads
All-time downloads
659
Public
Parameters
14.8M
59.1 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors59.1 MB · 100%
From the Hugging Face model README
Transformers pipeline wrapper for tsurumeso/vocal-remover, release v6.0.0b4, forked here.
Install the vocal-remover library:
pip install -U git+https://github.com/Japan7/[email protected]
Import the pipeline from this HuggingFace project and run it:
>>> from transformers import pipeline
>>> vocal_remover = pipeline("tsurumeso-vocal-remover", model="NextFire/tsurumeso-vocal-remover", trust_remote_code=True)
>>> vocal_remover("test.mp4")
ModelOutput({'instruments': array([[0.0000000e+00, 0.0000000e+00, 0.0000000e+00, ..., 1.9306738e-07,
3.4877817e-07, 4.3515007e-07],
[0.0000000e+00, 0.0000000e+00, 0.0000000e+00, ..., 1.9184739e-07,
3.4998811e-07, 4.3411370e-07]], dtype=float32), 'vocals': array([[ 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, ...,
3.1086234e-09, -5.8723013e-09, 9.7148618e-09],
[ 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, ...,
1.0084603e-09, -3.6961094e-09, 8.2348457e-09]], dtype=float32), 'sampling_rate': 44100})
ModelOutput contains the instruments and vocals waveforms, and their sampling rate.