linoyts HF Staff commited on
Commit
70c3ace
·
verified ·
1 Parent(s): fbb18c9

End of training

Browse files
README.md ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ tags:
8
+ - text-to-image
9
+ - diffusers-training
10
+ - diffusers
11
+ - lora
12
+ - hidream
13
+ - hidream-diffusers
14
+ - template:sd-lora
15
+ ---
16
+
17
+ <!-- This model card has been generated automatically according to the information the training script had access to. You
18
+ should probably proofread and complete it, then remove this comment. -->
19
+
20
+
21
+ # HiDream Image DreamBooth LoRA - linoyts/hidream-yarn-art-lora-v2-trainer
22
+
23
+ <Gallery />
24
+
25
+ ## Model description
26
+
27
+ These are linoyts/hidream-yarn-art-lora-v2-trainer DreamBooth LoRA weights for HiDream-ai/HiDream-I1-Full.
28
+
29
+ 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).
30
+
31
+ ## Trigger words
32
+
33
+ You should use `a dog, yarn art style` to trigger the image generation.
34
+
35
+ ## Download model
36
+
37
+ [Download the *.safetensors LoRA](linoyts/hidream-yarn-art-lora-v2-trainer/tree/main) in the Files & versions tab.
38
+
39
+ ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
40
+
41
+ ```py
42
+ >>> import torch
43
+ >>> from transformers import PreTrainedTokenizerFast, LlamaForCausalLM
44
+ >>> from diffusers import HiDreamImagePipeline
45
+
46
+ >>> tokenizer_4 = PreTrainedTokenizerFast.from_pretrained("meta-llama/Meta-Llama-3.1-8B-Instruct")
47
+ >>> text_encoder_4 = LlamaForCausalLM.from_pretrained(
48
+ ... "meta-llama/Meta-Llama-3.1-8B-Instruct",
49
+ ... output_hidden_states=True,
50
+ ... output_attentions=True,
51
+ ... torch_dtype=torch.bfloat16,
52
+ ... )
53
+
54
+ >>> pipe = HiDreamImagePipeline.from_pretrained(
55
+ ... "HiDream-ai/HiDream-I1-Full",
56
+ ... tokenizer_4=tokenizer_4,
57
+ ... text_encoder_4=text_encoder_4,
58
+ ... torch_dtype=torch.bfloat16,
59
+ ... )
60
+ >>> pipe.enable_model_cpu_offload()
61
+ >>> pipe.load_lora_weights(f"linoyts/hidream-yarn-art-lora-v2-trainer")
62
+ >>> image = pipe(f"a dog, yarn art style").images[0]
63
+
64
+
65
+ ```
66
+
67
+ 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)
68
+
69
+
70
+ ## Intended uses & limitations
71
+
72
+ #### How to use
73
+
74
+ ```python
75
+ # TODO: add an example code snippet for running this diffusion pipeline
76
+ ```
77
+
78
+ #### Limitations and bias
79
+
80
+ [TODO: provide examples of latent issues and potential remediations]
81
+
82
+ ## Training details
83
+
84
+ [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:28e5d519398ff234acc818b8faeef09c422478d483759e5d2223675d30568b16
3
+ size 24298452
checkpoint-1000/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b9179dc65775d7d575c499db6ddec00f52f5ab5395f5ea6986a9ad71894d297d
3
+ size 23632640
checkpoint-1000/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2612c26f4cefe39fe7bdecfad05f084d57e6dad76bbab980ab3c6787b0abf650
3
+ size 14344
checkpoint-1000/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d616614e1e01b98e9884f977ff35eabdf257036598f3dd80b10d601a3bca7808
3
+ size 1000
checkpoint-1500/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8da0ca33bd32e67a1f679fb05ced50ed8819e555fba62c2905a1e3bcede1bb21
3
+ size 24298452
checkpoint-1500/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7dbc06fb9170d54cb07fe971d1239cd50bab02c9a31b741dc1ba4dd308762d82
3
+ size 23632640
checkpoint-1500/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e56a6f0d1822926def66f7ef888f213e6cbf9466d27923c14805d2bbd62aa180
3
+ size 14344
checkpoint-1500/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d99f60951cdcc155eb89be6ea72236ee0e8d619027f36191bbb51d250687c25
3
+ size 1000
checkpoint-500/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:865f36789c1549cddb97a0fe2b4d600dbc54ff855b8ca671cc14ad598985ad8b
3
+ size 24298452
checkpoint-500/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2cc780c8a0d4f185a8dd170305a51b8ce439cb88b6a2ac9180da33ef5728aa14
3
+ size 23632640
checkpoint-500/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb2b31950c83c9d77c154b45de9b88004d3a465c2cb2ab40cff053515ac97216
3
+ size 14344
checkpoint-500/scheduler.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74aa0458b623a43bad98275478187d2e2477340d8bef60907d8579213082b24d
3
+ size 1000
pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b023a2abe6121651083a7495f1f06ff3b685e71b8990af4dd9c4a9a9c3fc3b22
3
+ size 42014248