linoyts HF Staff commited on
Commit
a9f991e
·
verified ·
1 Parent(s): 288b241

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: black-forest-labs/FLUX.2-klein-9B
3
+ library_name: diffusers
4
+ license: other
5
+ widget: []
6
+ tags:
7
+ - text-to-image
8
+ - diffusers-training
9
+ - diffusers
10
+ - lora
11
+ - flux2
12
+ - flux2-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
+ # Flux.2 [Klein] DreamBooth LoRA - linoyts/flux2-klein-lora-test
21
+
22
+ <Gallery />
23
+
24
+ ## Model description
25
+
26
+ These are linoyts/flux2-klein-lora-test DreamBooth LoRA weights for black-forest-labs/FLUX.2-klein-9B.
27
+
28
+ The weights were trained using [DreamBooth](https://dreambooth.github.io/) with the [Flux2 diffusers trainer](https://github.com/huggingface/diffusers/blob/main/examples/dreambooth/README_flux2.md).
29
+
30
+ FP8 training? False
31
+
32
+ ## Trigger words
33
+
34
+ You should use `None` to trigger the image generation.
35
+
36
+ ## Download model
37
+
38
+ [Download the *.safetensors LoRA](linoyts/flux2-klein-lora-test/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("black-forest-labs/FLUX.2", torch_dtype=torch.bfloat16).to('cuda')
46
+ pipeline.load_lora_weights('linoyts/flux2-klein-lora-test', weight_name='pytorch_lora_weights.safetensors')
47
+ image = pipeline('None').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:68773b9c6ea7c4a670106b1f3ac77b2576f103e4f86810ca823f2a3a892e9c33
3
+ size 222323112