Run this model with HF Jobs
Run OzzyGT/htdemucs_diffusers on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/OzzyGT/htdemucs_diffusers. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/OzzyGT/htdemucs_diffusers on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use OzzyGT/htdemucs_diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use OzzyGT/htdemucs_diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("OzzyGT/htdemucs_diffusers", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
HTDemucs (diffusers layout)
HTDemucs (Hybrid Transformer Demucs, v4) by Simon Rouard, Francisco Massa and
Alexandre Défossez (Meta AI) separates a 44.1 kHz stereo mix into drums, bass, other and vocals. These are the weights
of adefossez/HTDemucs (the default htdemucs model) in the diffusers
layout.
They need the custom blocks to run: OzzyGT/htdemucs_custom_blocks.
License
The weights are published under CC BY-NC 4.0 (non-commercial, see LICENSE). The original card names no licence, and the Demucs README says: "The license of the weights is not clear: MusDB contains some data that were only usable for research purpose. [...] The 6 source variant of htdemucs was trained only on Meta internal dataset, which likely means CC-NC-BY license is applicable, as it was the case for all models released by FAIR." This model was trained on MUSDB HQ and 800 extra songs.
Citation
@inproceedings{rouard2022hybrid,
title={Hybrid Transformers for Music Source Separation},
author={Rouard, Simon and Massa, Francisco and D{\'e}fossez, Alexandre},
booktitle={ICASSP 23},
year={2023}
}
- Downloads last month
- 27
Model tree for OzzyGT/htdemucs_diffusers
Base model
adefossez/HTDemucs