|
--- |
|
tags: |
|
- text-to-image |
|
- lora |
|
- diffusers |
|
- template:diffusion-lora |
|
- SD3.5-Turbo |
|
- Realism |
|
- 10Steps |
|
- Fast-Diffusion |
|
widget: |
|
- text: >- |
|
Turbo Realism, High-resolution photograph, woman, UHD, photorealistic, shot |
|
on a Sony A7III --chaos 20 --ar 1:2 --style raw --stylize 250 |
|
output: |
|
url: images/SD1.webp |
|
- text: >- |
|
Turbo Realism, Headshot of handsome young man, wearing dark gray sweater |
|
with buttons and big shawl collar, brown hair and short beard, serious look |
|
on his face, black background, soft studio lighting, portrait photography |
|
--ar 85:128 --v 6.0 --style rawHeadshot of handsome young man, wearing dark |
|
gray sweater with buttons and big shawl collar, brown hair and short beard, |
|
serious look on his face, black background, soft studio lighting, portrait |
|
photography --ar 85:128 --v 6.0 --style rawHeadshot of handsome young man, |
|
wearing dark gray sweater with buttons and big shawl collar, brown hair and |
|
short beard, serious look on his face, black background, soft studio |
|
lighting, portrait photography --ar 85:128 --v 6.0 --style raw |
|
output: |
|
url: images/SD2.webp |
|
- text: >- |
|
Turbo Realism, A portrait of an attractive woman in her late twenties with |
|
light brown hair and purple, wearing large a a yellow sweater. She is |
|
looking directly at the camera, standing outdoors near trees.. --ar 128:85 |
|
--v 6.0 --style raw |
|
output: |
|
url: images/SD3.webp |
|
base_model: stabilityai/stable-diffusion-3.5-large-turbo |
|
instance_prompt: Turbo Realism |
|
license: creativeml-openrail-m |
|
--- |
|
# SD3.5-Turbo-Realism-2.0-LoRA |
|
|
|
Demo space + Grid Gen Upto 3X2 : https://huggingface.co/spaces/prithivMLmods/SD3.5-TURBO-REALISM (In Use) |
|
|
|
<Gallery /> |
|
|
|
**The model is still in the training phase. This is not the final version and may contain artifacts and perform poorly in some cases.** |
|
|
|
## Model description |
|
|
|
**prithivMLmods/SD3.5-Turbo-Realism-2.0-LoRA** |
|
|
|
Image Processing Parameters |
|
|
|
| Parameter | Value | Parameter | Value | |
|
|---------------------------|--------|---------------------------|--------| |
|
| LR Scheduler | constant | Noise Offset | 0.03 | |
|
| Optimizer | AdamW | Multires Noise Discount | 0.1 | |
|
| Network Dim | 64 | Multires Noise Iterations | 10 | |
|
| Network Alpha | 32 | Repeat & Steps | 20 & 2350 | |
|
| Epoch | 13 | Save Every N Epochs | 1 | |
|
|
|
Labeling: florence2-en(natural language & English) |
|
|
|
Total Images Used for Training : 27 |
|
|
|
## App File Structure |
|
|
|
/project-root/ |
|
|
|
βββ .gitattributes |
|
βββ README.md |
|
βββ app.py |
|
βββ pythonproject.py |
|
|
|
|
|
## Setting Up |
|
|
|
``` |
|
from diffusers import DiffusionPipeline |
|
import torch |
|
|
|
device = "cuda" if torch.cuda.is_available() else "cpu" |
|
model_repo_id = "stabilityai/stable-diffusion-3.5-large-turbo" |
|
|
|
torch_dtype = torch.bfloat16 if torch.cuda.is_available() else torch.float32 |
|
|
|
pipe = DiffusionPipeline.from_pretrained(model_repo_id, torch_dtype=torch_dtype) |
|
pipe = pipe.to(device) |
|
|
|
pipe.load_lora_weights("prithivMLmods/SD3.5-Turbo-Realism-2.0-LoRA", weight_name="SD3.5-Turbo-Realism-2.0-LoRA.safetensors") |
|
trigger_word = "Turbo Realism" |
|
pipe.fuse_lora(lora_scale=1.0) |
|
``` |
|
|
|
## Trigger words |
|
|
|
You should use `Turbo Realism` to trigger the image generation. |
|
|
|
## Download model |
|
|
|
Weights for this model are available in Safetensors format. |
|
|
|
[Download](/prithivMLmods/SD3.5-Turbo-Realism-2.0-LoRA/tree/main) them in the Files & versions tab. |