File size: 3,615 Bytes
85894ca
 
 
 
 
 
 
542fa53
85894ca
542fa53
 
 
 
 
 
 
85894ca
 
 
 
6e07dc6
85894ca
 
 
 
7d3a650
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6e07dc6
7d3a650
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
85894ca
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
---
tags:
- text-to-image
- lora
- diffusers
- template:diffusion-lora
widget:
- text: 'Turbo Portrait, A close-up shot of a medium-sized young mans face and upper torso. The mans hair is a vibrant shade of brown, and his eyes are a piercing blue. His eyebrows are a light brown color, and he has a slight smile on his face. His lips are a darker shade of pink, with a slight pink tint. He is wearing a black short-sleeved t-shirt, and the background is a light gray.'
  output:
    url: images/1.webp
- text: 'Turbo Portrait, A close-up portrait of a young Asian man with dark brown eyes and a black short-sleeved t-shirt. The mans face is angled slightly to the left, with a slight smile on his lips. His eyebrows are a dark brown, and he has dark brown eyebrows. He is standing in front of a plain white wall, and his hair is pulled back in a ponytail. His left ear is slightly bent at the elbow, while his right ear is facing the right. His upper lip is a lighter shade of pink, and the mans hair is a darker shade of brown.'
  output:
    url: images/2.webp
- text: 'Turbo Portrait, A close-up shot of a womans face, positioned in front of a gray backdrop. She is wearing a maroon sleeveless tank top, adorned with a pair of silver hoop earrings. Her hair is pulled back in a ponytail, framing her face. Her eyes are a piercing blue, and her lips is a vibrant shade of pink. Her eyebrows are a light brown, adding a pop of color to the scene.'
  output:
    url: images/3.webp
base_model: stabilityai/stable-diffusion-3.5-large-turbo
instance_prompt: Turbo Portrait
license: creativeml-openrail-m
---
![dfsdv.png](https://cdn-uploads.huggingface.co/production/uploads/65bb837dbfb878f46c77de4c/-SxeW0zbwz6sx268sLPf2.png)
# SD3.5-Turbo-Portrait-LoRA

<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.**

## Sample Image Grid [ 3 x 2 ]

![prithivMLmods/SD3.5-Large-Turbo-HyperRealistic-LoRA](images/5.webp)

## Model description 

**prithivMLmods/SD3.5-Large-Turbo-HyperRealistic-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           | 21 & 2.2K |
| Epoch                     | 20     | Save Every N Epochs       | 1      |

    Labeling: florence2-en(natural language & English)
    
    Total Images Used for Training : 15

## Setting Up

```python
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("strangerzonehf/SD3.5-Turbo-Portrait-LoRA", weight_name="SD3.5-Turbo-Portrait.safetensors")
trigger_word = "Turbo Portrait"  # Specify trigger word for LoRA
pipe.fuse_lora(lora_scale=1.0))
```
## Trigger words

You should use `Turbo Portrait` to trigger the image generation.

## Download model

Weights for this model are available in Safetensors format.

[Download](/strangerzonehf/SD3.5-Turbo-Portrait-LoRA/tree/main) them in the Files & versions tab.