End of training
Browse files
README.md
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: models/Qwen-Image
|
3 |
+
library_name: diffusers
|
4 |
+
license: apache-2.0
|
5 |
+
widget: []
|
6 |
+
tags:
|
7 |
+
- text-to-image
|
8 |
+
- diffusers-training
|
9 |
+
- diffusers
|
10 |
+
- lora
|
11 |
+
- qwen-image
|
12 |
+
- qwen-image-diffusers
|
13 |
+
- template:sd-lora
|
14 |
+
---
|
15 |
+
|
16 |
+
<!-- This model card has been generated automatically according to the information the training script had access to. You
|
17 |
+
should probably proofread and complete it, then remove this comment. -->
|
18 |
+
|
19 |
+
|
20 |
+
# HiDream Image DreamBooth LoRA - viyer7/trained-qwen-lora
|
21 |
+
|
22 |
+
<Gallery />
|
23 |
+
|
24 |
+
## Model description
|
25 |
+
|
26 |
+
These are viyer7/trained-qwen-lora DreamBooth LoRA weights for models/Qwen-Image.
|
27 |
+
|
28 |
+
The weights were trained using [DreamBooth](https://dreambooth.github.io/) with the [Qwen Image diffusers trainer](https://github.com/huggingface/diffusers/blob/main/examples/dreambooth/README_qwen.md).
|
29 |
+
|
30 |
+
## Trigger words
|
31 |
+
|
32 |
+
You should use `None` to trigger the image generation.
|
33 |
+
|
34 |
+
## Download model
|
35 |
+
|
36 |
+
[Download the *.safetensors LoRA](viyer7/trained-qwen-lora/tree/main) in the Files & versions tab.
|
37 |
+
|
38 |
+
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
39 |
+
|
40 |
+
```py
|
41 |
+
>>> import torch
|
42 |
+
>>> from diffusers import QwenImagePipeline
|
43 |
+
|
44 |
+
>>> pipe = QwenImagePipeline.from_pretrained(
|
45 |
+
... "Qwen/Qwen-Image",
|
46 |
+
... torch_dtype=torch.bfloat16,
|
47 |
+
... )
|
48 |
+
>>> pipe.enable_model_cpu_offload()
|
49 |
+
>>> pipe.load_lora_weights(f"viyer7/trained-qwen-lora")
|
50 |
+
>>> image = pipe(f"None").images[0]
|
51 |
+
|
52 |
+
|
53 |
+
```
|
54 |
+
|
55 |
+
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)
|
56 |
+
|
57 |
+
|
58 |
+
## Intended uses & limitations
|
59 |
+
|
60 |
+
#### How to use
|
61 |
+
|
62 |
+
```python
|
63 |
+
# TODO: add an example code snippet for running this diffusion pipeline
|
64 |
+
```
|
65 |
+
|
66 |
+
#### Limitations and bias
|
67 |
+
|
68 |
+
[TODO: provide examples of latent issues and potential remediations]
|
69 |
+
|
70 |
+
## Training details
|
71 |
+
|
72 |
+
[TODO: describe the data used to train the model]
|
checkpoint-500/optimizer.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2286946211f0cd7b3085f04a6857410ec324c697c474bc991ec159b341d919ee
|
3 |
+
size 12542107
|
checkpoint-500/pytorch_lora_weights.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2b734695c43311e2ecb0b8b714df37f4a0322d6f2e4f32ffb0cce786705e6bc4
|
3 |
+
size 11859320
|
checkpoint-500/random_states_0.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eacea2342158a48afa3f17614e1bbf150a8105e43ef5a08e875c2f5892871ed0
|
3 |
+
size 14549
|
checkpoint-500/scheduler.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:45a56d6c22725773c43cfba7b773c4122fe9098e84f13271bfe99a2b3a49f155
|
3 |
+
size 1199
|
pytorch_lora_weights.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2b734695c43311e2ecb0b8b714df37f4a0322d6f2e4f32ffb0cce786705e6bc4
|
3 |
+
size 11859320
|