Text-to-Image
Diffusers
lora
template:diffusion-lora
prithivMLmods commited on
Commit
635795d
·
verified ·
1 Parent(s): ea6adbc

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +48 -3
README.md CHANGED
@@ -25,20 +25,65 @@ widget:
25
  url: images/666.png
26
  base_model: black-forest-labs/FLUX.1-dev
27
  instance_prompt: Gem Touch
28
- license: apache-2.0
 
 
29
  ---
 
 
30
  # Gem-Touch-LoRA-Flux
31
 
32
  <Gallery />
33
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
 
35
  ## Trigger words
36
 
37
  You should use `Gem Touch` to trigger the image generation.
38
 
39
-
40
  ## Download model
41
 
42
  Weights for this model are available in Safetensors format.
43
 
44
- [Download](/strangerzonehf/Gem-Touch-LoRA-Flux/tree/main) them in the Files & versions tab.
 
25
  url: images/666.png
26
  base_model: black-forest-labs/FLUX.1-dev
27
  instance_prompt: Gem Touch
28
+ license: other
29
+ license_name: flux-1-dev-non-commercial-license
30
+ license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
31
  ---
32
+ ![Gem.png](https://cdn-uploads.huggingface.co/production/uploads/65bb837dbfb878f46c77de4c/jhvzbKnzha_0MPERibVRw.png)
33
+
34
  # Gem-Touch-LoRA-Flux
35
 
36
  <Gallery />
37
 
38
+ # Model description for Gem-Touch-LoRA-Flux
39
+
40
+ Image Processing Parameters
41
+
42
+ | Parameter | Value | Parameter | Value |
43
+ |---------------------------|--------|---------------------------|--------|
44
+ | LR Scheduler | constant | Noise Offset | 0.03 |
45
+ | Optimizer | AdamW | Multires Noise Discount | 0.1 |
46
+ | Network Dim | 64 | Multires Noise Iterations | 10 |
47
+ | Network Alpha | 32 | Repeat & Steps | 20 & 3290 |
48
+ | Epoch | 28 | Save Every N Epochs | 1 |
49
+
50
+ Labeling: florence2-en(natural language & English)
51
+
52
+ Total Images Used for Training : 37
53
+
54
+ ## Best Dimensions & Inference
55
+
56
+ | **Dimensions** | **Aspect Ratio** | **Recommendation** |
57
+ |-----------------|------------------|---------------------------|
58
+ | 1280 x 832 | 3:2 | Best |
59
+ | 1024 x 1024 | 1:1 | Default |
60
+
61
+ ### Inference Range
62
+
63
+ - **Recommended Inference Steps:** 30–35
64
+
65
+ ## Setting Up
66
+ ```python
67
+ import torch
68
+ from pipelines import DiffusionPipeline
69
+
70
+ base_model = "black-forest-labs/FLUX.1-dev"
71
+ pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
72
+
73
+ lora_repo = "strangerzonehf/Gem-Touch-LoRA-Flux"
74
+ trigger_word = "Gem Touch"
75
+ pipe.load_lora_weights(lora_repo)
76
+
77
+ device = torch.device("cuda")
78
+ pipe.to(device)
79
+ ```
80
 
81
  ## Trigger words
82
 
83
  You should use `Gem Touch` to trigger the image generation.
84
 
 
85
  ## Download model
86
 
87
  Weights for this model are available in Safetensors format.
88
 
89
+ [Download](/strangerzonehf/Gem-Touch-LoRA-Flux/tree/main) them in the Files & versions tab.