linoyts HF Staff commited on
Commit
b57dbda
·
verified ·
1 Parent(s): 81f9055

End of training

Browse files
Files changed (2) hide show
  1. README.md +71 -0
  2. pytorch_lora_weights.safetensors +3 -0
README.md ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Tongyi-MAI/Z-Image
3
+ library_name: diffusers
4
+ license: other
5
+ instance_prompt: a photo of sks dog
6
+ widget: []
7
+ tags:
8
+ - text-to-image
9
+ - diffusers-training
10
+ - diffusers
11
+ - lora
12
+ - z-image
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
+ # Z Image DreamBooth LoRA - linoyts/trained-z-image-lora
21
+
22
+ <Gallery />
23
+
24
+ ## Model description
25
+
26
+ These are linoyts/trained-z-image-lora DreamBooth LoRA weights for Tongyi-MAI/Z-Image.
27
+
28
+ The weights were trained using [DreamBooth](https://dreambooth.github.io/) with the [Z Image diffusers trainer](https://github.com/huggingface/diffusers/blob/main/examples/dreambooth/README_z_image.md).
29
+
30
+ Quant training? None
31
+
32
+ ## Trigger words
33
+
34
+ You should use `a photo of sks dog` to trigger the image generation.
35
+
36
+ ## Download model
37
+
38
+ [Download the *.safetensors LoRA](linoyts/trained-z-image-lora/tree/main) in the Files & versions tab.
39
+
40
+ ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
41
+
42
+ ```py
43
+ from diffusers import AutoPipelineForText2Image
44
+ import torch
45
+ pipeline = AutoPipelineForText2Image.from_pretrained("Tongyi-MAI/Z-Image", torch_dtype=torch.bfloat16).to('cuda')
46
+ pipeline.load_lora_weights('linoyts/trained-z-image-lora', weight_name='pytorch_lora_weights.safetensors')
47
+ image = pipeline('A photo of sks dog in a bucket').images[0]
48
+ ```
49
+
50
+ 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)
51
+
52
+ ## License
53
+
54
+ Please adhere to the licensing terms as described [here](https://huggingface.co/black-forest-labs/FLUX.2/blob/main/LICENSE.md).
55
+
56
+
57
+ ## Intended uses & limitations
58
+
59
+ #### How to use
60
+
61
+ ```python
62
+ # TODO: add an example code snippet for running this diffusion pipeline
63
+ ```
64
+
65
+ #### Limitations and bias
66
+
67
+ [TODO: provide examples of latent issues and potential remediations]
68
+
69
+ ## Training details
70
+
71
+ [TODO: describe the data used to train the model]
pytorch_lora_weights.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4435b5f3a2d439ec1d72863c6dcdd22611f0fa346cd57d0166d33314ab5c7a00
3
+ size 8390248