Instructions to use OzzyGT/drama_3_diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use OzzyGT/drama_3_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/drama_3_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
Download audio_decoder/config.json from OzzyGT/drama_3_diffusers: direct link, hf CLI and curl.
- Browser
- Download file 496 Bytes
-
https://huggingface.co/OzzyGT/drama_3_diffusers/resolve/main/audio_decoder/config.json
- Command line
-
hf download hf://OzzyGT/drama_3_diffusers/audio_decoder/config.json
-
curl -L -o config.json https://huggingface.co/OzzyGT/drama_3_diffusers/resolve/main/audio_decoder/config.json
496 Bytes
| { | |
| "_class_name": "Drama3AudioDecoder", | |
| "_diffusers_version": "0.44.0.dev0", | |
| "dim": 2048, | |
| "eos_token_id": 248046, | |
| "head_dim": 256, | |
| "intermediate_size": 6144, | |
| "n_head": 16, | |
| "n_local_heads": 2, | |
| "norm_eps": 1e-06, | |
| "num_codebooks": 10, | |
| "residual_codebook_size": 1024, | |
| "rope_base": 10000000.0, | |
| "rotary_percent": 0.25, | |
| "semantic_end_token_id": 252194, | |
| "semantic_start_token_id": 248099, | |
| "shared_enrichment_layers": 4, | |
| "vocab_size": 4096, | |
| "vq_backbone_codebooks": 1 | |
| } | |