Update README.md
Browse files
README.md
CHANGED
|
@@ -40,14 +40,63 @@ license: creativeml-openrail-m
|
|
| 40 |
---
|
| 41 |
# SD3.5-Turbo-Realism-2.0-LoRA
|
| 42 |
|
|
|
|
|
|
|
| 43 |
<Gallery />
|
| 44 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
|
| 46 |
## Trigger words
|
| 47 |
|
| 48 |
You should use `Turbo Realism` to trigger the image generation.
|
| 49 |
|
| 50 |
-
|
| 51 |
## Download model
|
| 52 |
|
| 53 |
Weights for this model are available in Safetensors format.
|
|
|
|
| 40 |
---
|
| 41 |
# SD3.5-Turbo-Realism-2.0-LoRA
|
| 42 |
|
| 43 |
+
Demo space + Grid Gen Upto 3X2 : https://huggingface.co/spaces/prithivMLmods/SD3.5-TURBO-REALISM (In Use)
|
| 44 |
+
|
| 45 |
<Gallery />
|
| 46 |
|
| 47 |
+
**The model is still in the training phase. This is not the final version and may contain artifacts and perform poorly in some cases.**
|
| 48 |
+
|
| 49 |
+
## Model description
|
| 50 |
+
|
| 51 |
+
**prithivMLmods/SD3.5-Turbo-Realism-2.0-LoRA**
|
| 52 |
+
|
| 53 |
+
Image Processing Parameters
|
| 54 |
+
|
| 55 |
+
| Parameter | Value | Parameter | Value |
|
| 56 |
+
|---------------------------|--------|---------------------------|--------|
|
| 57 |
+
| LR Scheduler | constant | Noise Offset | 0.03 |
|
| 58 |
+
| Optimizer | AdamW | Multires Noise Discount | 0.1 |
|
| 59 |
+
| Network Dim | 64 | Multires Noise Iterations | 10 |
|
| 60 |
+
| Network Alpha | 32 | Repeat & Steps | 20 & 2350 |
|
| 61 |
+
| Epoch | 13 | Save Every N Epochs | 1 |
|
| 62 |
+
|
| 63 |
+
Labeling: florence2-en(natural language & English)
|
| 64 |
+
|
| 65 |
+
Total Images Used for Training : 27
|
| 66 |
+
|
| 67 |
+
## App File Structure
|
| 68 |
+
|
| 69 |
+
/project-root/
|
| 70 |
+
|
| 71 |
+
βββ .gitattributes
|
| 72 |
+
βββ README.md
|
| 73 |
+
βββ app.py
|
| 74 |
+
βββ pythonproject.py
|
| 75 |
+
|
| 76 |
+
|
| 77 |
+
## Setting Up
|
| 78 |
+
|
| 79 |
+
```
|
| 80 |
+
from diffusers import DiffusionPipeline
|
| 81 |
+
import torch
|
| 82 |
+
|
| 83 |
+
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 84 |
+
model_repo_id = "stabilityai/stable-diffusion-3.5-large-turbo"
|
| 85 |
+
|
| 86 |
+
torch_dtype = torch.bfloat16 if torch.cuda.is_available() else torch.float32
|
| 87 |
+
|
| 88 |
+
pipe = DiffusionPipeline.from_pretrained(model_repo_id, torch_dtype=torch_dtype)
|
| 89 |
+
pipe = pipe.to(device)
|
| 90 |
+
|
| 91 |
+
pipe.load_lora_weights("prithivMLmods/SD3.5-Turbo-Realism-2.0-LoRA", weight_name="SD3.5-Turbo-Realism-2.0-LoRA.safetensors")
|
| 92 |
+
trigger_word = "Turbo Realism"
|
| 93 |
+
pipe.fuse_lora(lora_scale=1.0)
|
| 94 |
+
```
|
| 95 |
|
| 96 |
## Trigger words
|
| 97 |
|
| 98 |
You should use `Turbo Realism` to trigger the image generation.
|
| 99 |
|
|
|
|
| 100 |
## Download model
|
| 101 |
|
| 102 |
Weights for this model are available in Safetensors format.
|