HTDemucs
Audio Separation Into Vocals And Instruments
2 min readupdated
This model from Meta AI brings the popular Hybrid Transformer Demucs (v4) algorithm into the diffusers library format. It is designed to split 44.1 kHz stereo tracks into four isolated stems: drums, bass, vocals, and other instruments. The weight collection is based on Meta's original htdemucs model and is intended for use with special custom blocks. The tool comes in handy for musicians, sound engineers, and audio application developers working on mastering and remixes.
Key features
- Audio separation into 4 stems (drums, bass, vocals, other)
- Support for the diffusers library format for pipeline integration
- Based on the Hybrid Transformers architecture from Meta AI
- Requires connecting additional custom blocks to run
What you can do
- Upload a 44.1 kHz track and break it down into separate studio vocal and instrument stems
- Use the model weights in diffusers library pipelines to build custom music utilities and bots
- Extract clean vocals or instrumental accompaniment to create remixes and karaoke
Example
An example of using the model by loading weights in the diffusers format:
from diffusers import ModelMixin
# Загрузка весов HTDemucs в diffusers
model = ModelMixin.from_pretrained("OzzyGT/htdemucs_diffusers")
Read more
DetailsBenchmarks: trained on the MUSDB HQ dataset and 800 additional tracks
License: CC BY-NC 4.0 (non-commercial use only)
Features: requires the repository with custom blocks OzzyGT/htdemucs_custom_blocks










Comments