linoyts HF Staff commited on
Commit
8d46200
·
verified ·
1 Parent(s): f0acca0

End of training

Browse files
.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: 3d icon
6
+ widget:
7
+ - text: 3dicon of a llama eating ramen
8
+ output:
9
+ url: image_0.png
10
+ - text: 3dicon of a llama eating ramen
11
+ output:
12
+ url: image_1.png
13
+ - text: 3dicon of a llama eating ramen
14
+ output:
15
+ url: image_2.png
16
+ - text: 3dicon of a llama eating ramen
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-3dicon-lora
34
+
35
+ <Gallery />
36
+
37
+ ## Model description
38
+
39
+ These are linoyts/hidream-3dicon-lora 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 `3d icon` to trigger the image generation.
46
+
47
+ ## Download model
48
+
49
+ [Download the *.safetensors LoRA](linoyts/hidream-3dicon-lora/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-3dicon-lora")
74
+ >>> image = pipe(f"3d icon").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:13a92c9e59ed2532790dd7c8d25683a30613fa4715c9e3b61a24b5ce75e7de69
3
+ size 43196884
checkpoint-1000/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b208d43d8c71d4e21c13b8d9b296defe37ac679a0b38bead90df68395810168
3
+ size 42014248
checkpoint-1000/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07ffca666b5853d3bb922f580a6242f4b0d0e03ee9c94205dd211e155189ac3d
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-500/optimizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ccdb80756d26a80e5de5b2d15ce68b2effc68b6852910a6071146c40a469927
3
+ size 43196884
checkpoint-500/pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:479a6c58af33567c766a5c71fdee62d7dbe0aff8ed3fce184760e0867b86ea8a
3
+ size 42014248
checkpoint-500/random_states_0.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e3886b9b0d6bc963d048c4bdf5f4a74afa3563ad80fbc3682408de668043b71d
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
image_0.png ADDED

Git LFS Details

  • SHA256: a67205c00043d049187e2d90e3b39ebd10a51cc49df5efdf6f3518b77f5fcad8
  • Pointer size: 131 Bytes
  • Size of remote file: 814 kB
image_1.png ADDED

Git LFS Details

  • SHA256: 3824c2b2bc2590f6dbfb3a233742a1ecdc607234523766adbd8b6c1dec923873
  • Pointer size: 131 Bytes
  • Size of remote file: 826 kB
image_2.png ADDED

Git LFS Details

  • SHA256: aba481aa068d19aeb803a2f102d6587def59ceaf2a401a89b93362871dba1f54
  • Pointer size: 131 Bytes
  • Size of remote file: 790 kB
image_3.png ADDED

Git LFS Details

  • SHA256: 6f2132081fcbd94df75e7da67d1955496457dc6f2c37a24b8927172b231b381f
  • Pointer size: 131 Bytes
  • Size of remote file: 885 kB
pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b208d43d8c71d4e21c13b8d9b296defe37ac679a0b38bead90df68395810168
3
+ size 42014248