Diffusers
Safetensors
PyTorch
AudioDiffusionPipeline
unconditional-audio-generation
diffusion-models-class
Run this model with HF Jobs
Run johnsett/audio-diffusion-electronic 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/johnsett/audio-diffusion-electronic. 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/johnsett/audio-diffusion-electronic 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 johnsett/audio-diffusion-electronic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use johnsett/audio-diffusion-electronic with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("johnsett/audio-diffusion-electronic", 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
Upload folder using huggingface_hub
Browse filesFiles changed (2)
- unet/config.jsonAdded+53
- unet/diffusion_pytorch_model.safetensorsAdded+3
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ "_class_name": "UNet2DModel", "_diffusers_version": "0.32.2", "_name_or_path": "/root/.cache/huggingface/hub/models--teticio--audio-diffusion-instrumental-hiphop-256/snapshots/a63b0c7e794925f74f021d356c13bce47cb69264/unet", "act_fn": "silu", "add_attention": true, "attention_head_dim": 8, "attn_norm_num_groups": null, "block_out_channels": [ 128, 128, 256, 256, 512, 512 ], "center_input_sample": false, "class_embed_type": null, "down_block_types": [ "DownBlock2D", "DownBlock2D", "DownBlock2D", "DownBlock2D", "AttnDownBlock2D", "DownBlock2D" ], "downsample_padding": 1, "downsample_type": "conv", "dropout": 0.0, "flip_sin_to_cos": true, "freq_shift": 0, "in_channels": 1, "layers_per_block": 2, "mid_block_scale_factor": 1, "norm_eps": 1e-05, "norm_num_groups": 32, "num_class_embeds": null, "num_train_timesteps": null, "out_channels": 1, "resnet_time_scale_shift": "default", "sample_size": 256, "time_embedding_dim": null, "time_embedding_type": "positional", "up_block_types": [ "UpBlock2D", "AttnUpBlock2D", "UpBlock2D", "UpBlock2D", "UpBlock2D", "UpBlock2D" ], "upsample_type": "conv"}123version https://git-lfs.github.com/spec/v1oid sha256:06ec1ed7885f856b70494f9accc246a9fe65fbb06e103b872da3d6e68bf464aesize 454722660unet/config.jsonAdded+53
unet/diffusion_pytorch_model.safetensorsAdded+3