End of training
Browse files- .gitattributes +4 -0
- README.md +96 -0
- checkpoint-1000/optimizer.bin +3 -0
- checkpoint-1000/pytorch_lora_weights.safetensors +3 -0
- checkpoint-1000/random_states_0.pkl +3 -0
- checkpoint-1000/scheduler.bin +3 -0
- checkpoint-500/optimizer.bin +3 -0
- checkpoint-500/pytorch_lora_weights.safetensors +3 -0
- checkpoint-500/random_states_0.pkl +3 -0
- checkpoint-500/scheduler.bin +3 -0
- image_0.png +3 -0
- image_1.png +3 -0
- image_2.png +3 -0
- image_3.png +3 -0
- pytorch_lora_weights.safetensors +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
image_0.png filter=lfs diff=lfs merge=lfs -text
|
37 |
+
image_1.png filter=lfs diff=lfs merge=lfs -text
|
38 |
+
image_2.png filter=lfs diff=lfs merge=lfs -text
|
39 |
+
image_3.png filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: HiDream-ai/HiDream-I1-Full
|
3 |
+
library_name: diffusers
|
4 |
+
license: mit
|
5 |
+
instance_prompt: a dog, yarn art style
|
6 |
+
widget:
|
7 |
+
- text: yoda, yarn art style
|
8 |
+
output:
|
9 |
+
url: image_0.png
|
10 |
+
- text: yoda, yarn art style
|
11 |
+
output:
|
12 |
+
url: image_1.png
|
13 |
+
- text: yoda, yarn art style
|
14 |
+
output:
|
15 |
+
url: image_2.png
|
16 |
+
- text: yoda, yarn art style
|
17 |
+
output:
|
18 |
+
url: image_3.png
|
19 |
+
tags:
|
20 |
+
- text-to-image
|
21 |
+
- diffusers-training
|
22 |
+
- diffusers
|
23 |
+
- lora
|
24 |
+
- hidream
|
25 |
+
- hidream-diffusers
|
26 |
+
- template:sd-lora
|
27 |
+
---
|
28 |
+
|
29 |
+
<!-- This model card has been generated automatically according to the information the training script had access to. You
|
30 |
+
should probably proofread and complete it, then remove this comment. -->
|
31 |
+
|
32 |
+
|
33 |
+
# HiDream Image DreamBooth LoRA - linoyts/hidream-yarn-art-lora-v2-trainer-multi
|
34 |
+
|
35 |
+
<Gallery />
|
36 |
+
|
37 |
+
## Model description
|
38 |
+
|
39 |
+
These are linoyts/hidream-yarn-art-lora-v2-trainer-multi DreamBooth LoRA weights for HiDream-ai/HiDream-I1-Full.
|
40 |
+
|
41 |
+
The weights were trained using [DreamBooth](https://dreambooth.github.io/) with the [HiDream Image diffusers trainer](https://github.com/huggingface/diffusers/blob/main/examples/dreambooth/README_hidream.md).
|
42 |
+
|
43 |
+
## Trigger words
|
44 |
+
|
45 |
+
You should use `a dog, yarn art style` to trigger the image generation.
|
46 |
+
|
47 |
+
## Download model
|
48 |
+
|
49 |
+
[Download the *.safetensors LoRA](linoyts/hidream-yarn-art-lora-v2-trainer-multi/tree/main) in the Files & versions tab.
|
50 |
+
|
51 |
+
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
52 |
+
|
53 |
+
```py
|
54 |
+
>>> import torch
|
55 |
+
>>> from transformers import PreTrainedTokenizerFast, LlamaForCausalLM
|
56 |
+
>>> from diffusers import HiDreamImagePipeline
|
57 |
+
|
58 |
+
>>> tokenizer_4 = PreTrainedTokenizerFast.from_pretrained("meta-llama/Meta-Llama-3.1-8B-Instruct")
|
59 |
+
>>> text_encoder_4 = LlamaForCausalLM.from_pretrained(
|
60 |
+
... "meta-llama/Meta-Llama-3.1-8B-Instruct",
|
61 |
+
... output_hidden_states=True,
|
62 |
+
... output_attentions=True,
|
63 |
+
... torch_dtype=torch.bfloat16,
|
64 |
+
... )
|
65 |
+
|
66 |
+
>>> pipe = HiDreamImagePipeline.from_pretrained(
|
67 |
+
... "HiDream-ai/HiDream-I1-Full",
|
68 |
+
... tokenizer_4=tokenizer_4,
|
69 |
+
... text_encoder_4=text_encoder_4,
|
70 |
+
... torch_dtype=torch.bfloat16,
|
71 |
+
... )
|
72 |
+
>>> pipe.enable_model_cpu_offload()
|
73 |
+
>>> pipe.load_lora_weights(f"linoyts/hidream-yarn-art-lora-v2-trainer-multi")
|
74 |
+
>>> image = pipe(f"a dog, yarn art style").images[0]
|
75 |
+
|
76 |
+
|
77 |
+
```
|
78 |
+
|
79 |
+
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)
|
80 |
+
|
81 |
+
|
82 |
+
## Intended uses & limitations
|
83 |
+
|
84 |
+
#### How to use
|
85 |
+
|
86 |
+
```python
|
87 |
+
# TODO: add an example code snippet for running this diffusion pipeline
|
88 |
+
```
|
89 |
+
|
90 |
+
#### Limitations and bias
|
91 |
+
|
92 |
+
[TODO: provide examples of latent issues and potential remediations]
|
93 |
+
|
94 |
+
## Training details
|
95 |
+
|
96 |
+
[TODO: describe the data used to train the model]
|
checkpoint-1000/optimizer.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7a525027dc9cdf9e34b18f12ae8dee28dc8a129cf263829090135e50d03e4a3a
|
3 |
+
size 32397780
|
checkpoint-1000/pytorch_lora_weights.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0a7987aa44893aea2b254f59585e281192b80554673b755a52f3fe49498016bc
|
3 |
+
size 31510456
|
checkpoint-1000/random_states_0.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4d777fa95228fa79074e6395d65a633f3d9c3f35c18c4372e34efb498e7d3de4
|
3 |
+
size 14344
|
checkpoint-1000/scheduler.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e1ef945fb67548939f1340070803ddc6f91925dd6d43f8c15ba25d113f03c5ed
|
3 |
+
size 1000
|
checkpoint-500/optimizer.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:de36b82a19f26c377a19a206ee39e7912f1f227c68cdc994a4345b910d2c2e70
|
3 |
+
size 32397780
|
checkpoint-500/pytorch_lora_weights.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ab38bd49cdd0e04b037497b9074de148542ca34eed2414c0d8b31b00d18a80e7
|
3 |
+
size 31510456
|
checkpoint-500/random_states_0.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8c77911b78b3dd7504a9796fe2d71eb477ca8ef4b56a4cddc22bc11fed0fce9a
|
3 |
+
size 14344
|
checkpoint-500/scheduler.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6cf34ac8dd2addc454aeb1ee4eaba3267c2841857e117be40ac2ed02cf581c9c
|
3 |
+
size 1000
|
image_0.png
ADDED
![]() |
Git LFS Details
|
image_1.png
ADDED
![]() |
Git LFS Details
|
image_2.png
ADDED
![]() |
Git LFS Details
|
image_3.png
ADDED
![]() |
Git LFS Details
|
pytorch_lora_weights.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0a7987aa44893aea2b254f59585e281192b80554673b755a52f3fe49498016bc
|
3 |
+
size 31510456
|