Instructions to use patrickvonplaten/music-spetrogram with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use patrickvonplaten/music-spetrogram with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("patrickvonplaten/music-spetrogram", 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
File size: 358 Bytes
9bdda70 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | {
"_class_name": "T5FilmDecoder",
"_diffusers_version": "0.13.0.dev0",
"_name_or_path": "/home/patrick/t5_note/decoder",
"d_ff": 2048,
"d_kv": 64,
"d_model": 768,
"dropout_rate": 0.1,
"feed_forward_proj": "gated-gelu",
"input_dims": 128,
"max_decoder_noise_time": 20000.0,
"num_heads": 12,
"num_layers": 12,
"targets_length": 256
}
|