prithivMLmods commited on
Commit
7d3a650
·
verified ·
1 Parent(s): d64fc05

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +42 -0
README.md CHANGED
@@ -22,6 +22,48 @@ license: creativeml-openrail-m
22
 
23
  <Gallery />
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  ## Trigger words
26
 
27
  You should use `Turbo Portrait` to trigger the image generation.
 
22
 
23
  <Gallery />
24
 
25
+ **The model is still in the training phase. This is not the final version and may contain artifacts and perform poorly in some cases.**
26
+
27
+ ## Sample Image Grid [ 3 x 2 ]
28
+
29
+ ![prithivMLmods/SD3.5-Large-Turbo-HyperRealistic-LoRA](images/5.webp)
30
+
31
+ ## Model description
32
+
33
+ **prithivMLmods/SD3.5-Large-Turbo-HyperRealistic-LoRA**
34
+
35
+ Image Processing Parameters
36
+
37
+ | Parameter | Value | Parameter | Value |
38
+ |---------------------------|--------|---------------------------|--------|
39
+ | LR Scheduler | constant | Noise Offset | 0.03 |
40
+ | Optimizer | AdamW | Multires Noise Discount | 0.1 |
41
+ | Network Dim | 64 | Multires Noise Iterations | 10 |
42
+ | Network Alpha | 32 | Repeat & Steps | 28 & 3.2K |
43
+ | Epoch | 20 | Save Every N Epochs | 1 |
44
+
45
+ Labeling: florence2-en(natural language & English)
46
+
47
+ Total Images Used for Training : 15
48
+
49
+ ## Setting Up
50
+
51
+ ```python
52
+ from diffusers import DiffusionPipeline
53
+ import torch
54
+
55
+ device = "cuda" if torch.cuda.is_available() else "cpu"
56
+ model_repo_id = "stabilityai/stable-diffusion-3.5-large-turbo"
57
+
58
+ torch_dtype = torch.bfloat16 if torch.cuda.is_available() else torch.float32
59
+
60
+ pipe = DiffusionPipeline.from_pretrained(model_repo_id, torch_dtype=torch_dtype)
61
+ pipe = pipe.to(device)
62
+
63
+ pipe.load_lora_weights("strangerzonehf/SD3.5-Turbo-Portrait-LoRA", weight_name="SD3.5-Turbo-Portrait.safetensors")
64
+ trigger_word = "Turbo Portrait" # Specify trigger word for LoRA
65
+ pipe.fuse_lora(lora_scale=1.0))
66
+ ```
67
  ## Trigger words
68
 
69
  You should use `Turbo Portrait` to trigger the image generation.