Upload folder using huggingface_hub
Browse files
readme.md
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: Tongyi-MAI/Z-Image-Turbo
|
| 3 |
+
tags:
|
| 4 |
+
- lora
|
| 5 |
+
- text-to-image
|
| 6 |
+
- z-image-turbo
|
| 7 |
+
- style
|
| 8 |
+
- diffusion
|
| 9 |
+
license: other
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# a-cold-wall — LoRA
|
| 13 |
+
|
| 14 |
+
A LoRA adapter trained for the concept/style **"a-cold-wall"**.
|
| 15 |
+
|
| 16 |
+
## Trigger word
|
| 17 |
+
Use this token in your prompt:
|
| 18 |
+
- **`a-cold-wall`**
|
| 19 |
+
|
| 20 |
+
## Base model
|
| 21 |
+
- **Tongyi-MAI/Z-Image-Turbo**
|
| 22 |
+
|
| 23 |
+
## Files
|
| 24 |
+
- `a-cold-wall.safetensors` — the LoRA weights
|
| 25 |
+
- `config.yaml`, `job_config.json` — training configuration (for reproducibility)
|
| 26 |
+
|
| 27 |
+
## How to use
|
| 28 |
+
|
| 29 |
+
### A) ComfyUI / AUTOMATIC1111
|
| 30 |
+
1. Put `a-cold-wall.safetensors` into your LoRA folder.
|
| 31 |
+
2. Use it in your prompt, e.g.:
|
| 32 |
+
- `a-cold-wall, fashion outfits, editorial photo, high detail`
|
| 33 |
+
|
| 34 |
+
(Adjust LoRA strength to taste, e.g. 0.6–1.0.)
|
| 35 |
+
|
| 36 |
+
### B) Diffusers (generic example)
|
| 37 |
+
> Depending on your setup, you may need to use the correct pipeline class for Z-Image-Turbo.
|
| 38 |
+
|
| 39 |
+
```python
|
| 40 |
+
import torch
|
| 41 |
+
from diffusers import DiffusionPipeline
|
| 42 |
+
|
| 43 |
+
pipe = DiffusionPipeline.from_pretrained(
|
| 44 |
+
"Tongyi-MAI/Z-Image-Turbo",
|
| 45 |
+
torch_dtype=torch.bfloat16
|
| 46 |
+
).to("cuda")
|
| 47 |
+
|
| 48 |
+
pipe.load_lora_weights("thorjank/a-cold-wall-lora", weight_name="a-cold-wall.safetensors")
|
| 49 |
+
|
| 50 |
+
prompt = "a-cold-wall, fashion outfits, editorial photo, high detail"
|
| 51 |
+
image = pipe(prompt).images[0]
|
| 52 |
+
image.save("out.png")
|
| 53 |
+
|
| 54 |
+
Recommended prompting
|
| 55 |
+
• Start simple:
|
| 56 |
+
• a-cold-wall, fashion outfits
|
| 57 |
+
• Then add camera / lighting / composition as needed.
|
| 58 |
+
|
| 59 |
+
Training details (summary)
|
| 60 |
+
• Dataset: 35 images
|
| 61 |
+
• Steps: 3000
|
| 62 |
+
• Batch size: 1
|
| 63 |
+
• Learning rate: 1e-4
|
| 64 |
+
• Network: LoRA
|
| 65 |
+
• linear rank/alpha: 32/32
|
| 66 |
+
• conv rank/alpha: 16/16
|
| 67 |
+
• Trained modules: U-Net (text encoder not trained)
|
| 68 |
+
• Precision: bf16
|
| 69 |
+
• Noise scheduler: flowmatch
|
| 70 |
+
• Resolution buckets configured: 512 / 768 / 1024
|
| 71 |
+
• Default caption: fashion outfits
|
| 72 |
+
|
| 73 |
+
Notes / License
|
| 74 |
+
|
| 75 |
+
This repo contains only LoRA weights. Please ensure your use complies with the base model’s license and with the rights for any content you generate.
|
| 76 |
+
|