Text-to-Audio
Diffusers
Safetensors
AudioLDM2Pipeline
maestro
audio-generation
spectral-editor
audioldm2
Instructions to use AEmotionStudio/audioldm2-inpaint-models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use AEmotionStudio/audioldm2-inpaint-models with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("AEmotionStudio/audioldm2-inpaint-models", 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: 801 Bytes
def1d88 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | {
"architectures": [
"ClapModel"
],
"audio_config": {
"depths": [
2,
2,
12,
2
],
"fusion_num_hidden_layers": 2,
"hidden_size": 1024,
"model_type": "clap_audio_model",
"patch_embeds_hidden_size": 128,
"projection_hidden_size": 768
},
"hidden_size": 768,
"initializer_factor": 1.0,
"logit_scale_init_value": 14.285714285714285,
"model_type": "clap",
"num_hidden_layers": 16,
"projection_dim": 512,
"projection_hidden_act": "relu",
"text_config": {
"classifier_dropout": null,
"fusion_hidden_size": 768,
"fusion_num_hidden_layers": 2,
"initializer_range": 0.02,
"model_type": "clap_text_model",
"projection_hidden_size": 768
},
"torch_dtype": "float64",
"transformers_version": "4.32.0.dev0"
}
|