Text-to-Image
Diffusers
TensorBoard
Safetensors
stable-diffusion
stable-diffusion-diffusers
diffusers-training
lora
Instructions to use jjaehyeok2/12_3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use jjaehyeok2/12_3 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Bingsu/my-korean-stable-diffusion-v1-5", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("jjaehyeok2/12_3") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Upload adapter_config.json with huggingface_hub
Browse files- adapter_config.json +23 -0
adapter_config.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "LoraLoaderMixin",
|
| 3 |
+
"block_size": null,
|
| 4 |
+
"hidden_size": null,
|
| 5 |
+
"intermediate_size": null,
|
| 6 |
+
"lora_alpha": 16,
|
| 7 |
+
"lora_dropout": 0.0,
|
| 8 |
+
"r": 4,
|
| 9 |
+
"rank_pattern": {},
|
| 10 |
+
"target_modules": [
|
| 11 |
+
"attn1.to_q",
|
| 12 |
+
"attn1.to_k",
|
| 13 |
+
"attn1.to_v",
|
| 14 |
+
"attn1.to_out.0",
|
| 15 |
+
"attn2.to_q",
|
| 16 |
+
"attn2.to_k",
|
| 17 |
+
"attn2.to_v",
|
| 18 |
+
"attn2.to_out.0",
|
| 19 |
+
"ff.net.0.proj",
|
| 20 |
+
"ff.net.2"
|
| 21 |
+
],
|
| 22 |
+
"use_bias": false
|
| 23 |
+
}
|