prithivMLmods
commited on
Commit
•
7f03833
1
Parent(s):
44b3dfe
Update README.md
Browse files
README.md
CHANGED
@@ -23,12 +23,50 @@ license: creativeml-openrail-m
|
|
23 |
|
24 |
<Gallery />
|
25 |
|
|
|
26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
## Trigger words
|
28 |
|
29 |
You should use `Simple Pencil` to trigger the image generation.
|
30 |
|
31 |
-
|
32 |
## Download model
|
33 |
|
34 |
Weights for this model are available in Safetensors format.
|
|
|
23 |
|
24 |
<Gallery />
|
25 |
|
26 |
+
- Hosted Here🧨: https://huggingface.co/spaces/prithivMLmods/FLUX-LoRA-DLC
|
27 |
|
28 |
+
**The model is still in the training phase. This is not the final version and may contain artifacts and perform poorly in some cases.**
|
29 |
+
|
30 |
+
## Model description
|
31 |
+
|
32 |
+
**prithivMLmods/Super-Pencil-Flux-LoRA**
|
33 |
+
Image Processing Parameters
|
34 |
+
|
35 |
+
| Parameter | Value | Parameter | Value |
|
36 |
+
|---------------------------|--------|---------------------------|--------|
|
37 |
+
| LR Scheduler | constant | Noise Offset | 0.03 |
|
38 |
+
| Optimizer | AdamW | Multires Noise Discount | 0.1 |
|
39 |
+
| Network Dim | 64 | Multires Noise Iterations | 10 |
|
40 |
+
| Network Alpha | 32 | Repeat & Steps | 22 & 2070|
|
41 |
+
| Epoch | 13 | Save Every N Epochs | 1 |
|
42 |
+
|
43 |
+
Labeling: florence2-en(natural language & English)
|
44 |
+
|
45 |
+
Total Images Used for Training : 12
|
46 |
+
|
47 |
+
## Best Dimensions
|
48 |
+
|
49 |
+
- 1024 x 1024 (Default)
|
50 |
+
|
51 |
+
## Setting Up
|
52 |
+
```
|
53 |
+
import torch
|
54 |
+
from pipelines import DiffusionPipeline
|
55 |
+
|
56 |
+
base_model = "black-forest-labs/FLUX.1-dev"
|
57 |
+
pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
|
58 |
+
|
59 |
+
lora_repo = "prithivMLmods/Super-Pencil-Flux-LoRA"
|
60 |
+
trigger_word = "Simple Pencil"
|
61 |
+
pipe.load_lora_weights(lora_repo)
|
62 |
+
|
63 |
+
device = torch.device("cuda")
|
64 |
+
pipe.to(device)
|
65 |
+
```
|
66 |
## Trigger words
|
67 |
|
68 |
You should use `Simple Pencil` to trigger the image generation.
|
69 |
|
|
|
70 |
## Download model
|
71 |
|
72 |
Weights for this model are available in Safetensors format.
|