Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- text-to-image
|
| 4 |
+
- lora
|
| 5 |
+
- diffusers
|
| 6 |
+
- template:sd-lora
|
| 7 |
+
- ai-toolkit
|
| 8 |
+
base_model: Qwen/Qwen-Image
|
| 9 |
+
license: creativeml-openrail-m
|
| 10 |
+
inference:
|
| 11 |
+
parameters:
|
| 12 |
+
width: 1024
|
| 13 |
+
height: 1024
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# LL3Qwen-lora
|
| 17 |
+
|
| 18 |
+
Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit)
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
## Trigger words
|
| 23 |
+
|
| 24 |
+
No trigger words defined.
|
| 25 |
+
|
| 26 |
+
## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc.
|
| 27 |
+
|
| 28 |
+
Weights for this model are available in Safetensors format.
|
| 29 |
+
|
| 30 |
+
[Download](Silvicultor/LL3Qwen-lora/tree/main) them in the Files & versions tab.
|
| 31 |
+
|
| 32 |
+
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
| 33 |
+
|
| 34 |
+
```py
|
| 35 |
+
from diffusers import AutoPipelineForText2Image
|
| 36 |
+
import torch
|
| 37 |
+
|
| 38 |
+
pipeline = AutoPipelineForText2Image.from_pretrained('Qwen/Qwen-Image', torch_dtype=torch.bfloat16).to('cuda')
|
| 39 |
+
pipeline.load_lora_weights('Silvicultor/LL3Qwen-lora', weight_name='LL3Qwen_000001100.safetensors')
|
| 40 |
+
image = pipeline('a beautiful landscape').images[0]
|
| 41 |
+
image.save("my_image.png")
|
| 42 |
+
```
|
| 43 |
+
|
| 44 |
+
For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)
|
| 45 |
+
|