prithivMLmods commited on
Commit
70da3b9
·
verified ·
1 Parent(s): 7be83d0

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +125 -11
README.md CHANGED
@@ -4,26 +4,140 @@ tags:
4
  - lora
5
  - diffusers
6
  - template:diffusion-lora
 
 
7
  widget:
8
- - text: '-'
 
 
 
 
 
 
 
9
  output:
10
- url: images/c4834701-5180-4e17-9fe4-eff2d6181372.jpg
11
- base_model: prithivMLmods/Flux.1-Merged
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  instance_prompt: b1 portrait
13
- license: apache-2.0
 
 
14
  ---
15
- # prithivMLmods/Blaze.1-Portrait-Revised
16
-
17
  <Gallery />
18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
 
20
- ## Trigger words
 
 
21
 
22
- You should use `b1 portrait` to trigger the image generation.
23
 
 
24
 
25
- ## Download model
26
 
27
- Weights for this model are available in Safetensors format.
28
 
29
- [Download](/strangerzonehf/Blaze.1-Portrait-Revised/tree/main) them in the Files & versions tab.
 
 
 
 
 
 
 
 
 
 
4
  - lora
5
  - diffusers
6
  - template:diffusion-lora
7
+ - realism
8
+ - portrait
9
  widget:
10
+ - text: >-
11
+ b1 portrait, Captured at eye-level, a close-up shot captures a young man
12
+ with curly black hair, wearing a red and navy blue jacket with a white
13
+ stripe down the front. His jacket is adorned with a black collar and a white
14
+ logo with a blue letter "F" in the center. Behind him, a young woman in a
15
+ navy blue and red tank top, also wearing a white hat, is seated on the
16
+ beach. The background is a sandy beach, with a clear blue sky dotted with
17
+ white fluffy clouds.
18
  output:
19
+ url: images/1.png
20
+ - text: >-
21
+ b1 portrait, A close-up shot of a young Asian woman with brown hair and blue
22
+ eyes. She is wearing a purple polo shirt with a collar. Her hair is pulled
23
+ back in a ponytail. Her eyes are blue and her lips are pink. The background
24
+ is blurred, but it appears to be a grassy field. The sky is gray
25
+ output:
26
+ url: images/2.png
27
+ - text: >-
28
+ b1 portrait, a young Asian girl with short dark brown hair, wearing a red
29
+ and green sun hat. She is wearing a blue sleeveless shirt with a yellow
30
+ stripe down the center of the shirt. The shirt has a blue collar with a
31
+ black button on it. The girls lips are painted pink. The backdrop is a light
32
+ blue with white daisy prints on it, adding a pop of color to the scene.
33
+ output:
34
+ url: images/3.png
35
+ - text: >-
36
+ b1 portrait, a close-up shot captures a young womans face, adorned with a
37
+ green beanie and a beige cardigan. She is wearing a pair of gold rimmed
38
+ glasses with a white label that reads "QDUROY" in bold black letters. Her
39
+ eyes are a piercing blue, her eyebrows are a darker shade of brown, and her
40
+ lips are a lighter pink. Her hair is a dark brown, adding a pop of color to
41
+ her face. The background is a stark white, creating a stark contrast to her
42
+ outfit.
43
+ output:
44
+ url: images/4.png
45
+ - text: >-
46
+ b1 portrait, Captured at eye-level, a close-up shot of a young woman with
47
+ long brown hair, wearing a white cap, a white shirt, and a red jacket with
48
+ black buttons. Her hair is styled in two braids, adding a touch of texture
49
+ to her face. Her eyes are a piercing blue, and her eyebrows are a darker
50
+ shade of brown. The background is a light brown, and the womans hair is
51
+ cascading over her shoulders.
52
+ output:
53
+ url: images/5.png
54
+ - text: >-
55
+ b1 portrait, a close-up shot of a womans face is angled towards the left
56
+ side of the frame. The womans eyes are painted in a vibrant shade of yellow,
57
+ green, and brown, while her lips are painted with white teeth. She is
58
+ wearing a pair of gold hoop earrings, adding a pop of color to her face. The
59
+ background is a light blue, and the womans hair is pulled back in a
60
+ ponytail.
61
+ output:
62
+ url: images/6.png
63
+ base_model:
64
+ - prithivMLmods/Flux.1-Merged
65
  instance_prompt: b1 portrait
66
+ license: other
67
+ license_name: flux-1-dev-non-commercial-license
68
+ license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
69
  ---
 
 
70
  <Gallery />
71
 
72
+
73
+
74
+ # **Blaze.1 Portrait Image Fidelity `[ Base Flux.1 Merged ]`**
75
+
76
+ Blaze.1 Portrait is a flux-based adapter designed to generate high-quality, realism-driven super-portraits. This advanced model underwent rigorous training using a diverse set of images to ensure exceptional output in portrait generation. With 72 variations and a total of 1080 images per variation, the training process involved meticulous curation and processing of 14-bit raw Camera Uncompressed Format (CUF) images. For comprehensive insights, refer to the detailed documentation on training procedures, data curation, and parameter optimization.
77
+
78
+ # **Image Processing Parameters**
79
+
80
+ | **Parameter** | **Value** | **Parameter** | **Value** |
81
+ |---------------------------|-----------------------------------------|---------------------------|------------------------------|
82
+ | LR Scheduler | Constant | Noise Offset | 0.03 |
83
+ | Optimizer | AdamW | Multires Noise Discount | 0.1 |
84
+ | Network Dim | 64 | Multires Noise Iterations | 10 |
85
+ | Network Alpha | 32 | *Repeat & Steps* | *<span style="color:orangered">30 & 38,000</span>*|
86
+ | *Epoch* | *<span style="color:orangered">45</span>* | Save Every N Epochs | 1 |
87
+
88
+ The model was trained with an overall image count of 1080 images, repeated across variations to create a total dataset of 1100 repetition per image.
89
+
90
+ Training was conducted for 4 epochs per set, resulting in a cumulative total of 38,000 steps, with the image labeler *Florence2-en (natural language & English)*.
91
+
92
+ # **Dataset Details**
93
+
94
+ The dataset consists of highly realistic images, meticulously curated for optimal model performance. Smaller adapter versions were initially trained on batches, and high-resolution images were later generated from these adapters for further training.
95
+
96
+ Pre-training upscaling techniques were employed to enhance pixel clarity, ensuring superior image fidelity during model inference.
97
+
98
+ Image compression details:
99
+
100
+ - *Minimum compression:* 1.4 MB
101
+ - *Maximum compression:* 10.1 MB
102
+ - *Average compression:* 3.2 MB
103
+
104
+ # **Training Infrastructure**
105
+
106
+ Blaze.1 Portrait was trained using state-of-the-art hardware:
107
+
108
+ - *GPU Configuration:* NVIDIA A100 SXM (2x)
109
+ - *vCPU:* 32 cores
110
+ - *VRAM:* 160 GB
111
+ - *RAM:* 250 GB
112
+ - *Disk Space:* 400 GB
113
+ - *Network Memory:* High-speed interconnects for efficient data transfer
114
+
115
+ # **Training Runtime**
116
+
117
+ Total machine runtime: *<span style="color:orangered">8 hours 14 minutes</span>*
118
+
119
+ # **Trigger Words**
120
+
121
+ To generate images using Blaze.1 Portrait, utilize the trigger phrase:
122
 
123
+ - *<span style="color:orangered">b1 portrait</span>*
124
+
125
+ Incorporating this trigger in your prompts ensures optimal model performance and high-quality portrait generation.
126
 
127
+ # **Download Model**
128
 
129
+ Weights for Blaze.1 Portrait are available in Safetensors format. You can download them from the Files & Versions tab using the link below:
130
 
131
+ [Download Blaze.1 Portrait Weights](/strangerzonehf/Blaze.1-Portrait/tree/main)
132
 
 
133
 
134
+ ```bibtex
135
+ @misc{strangerzonehf2024blaze1,
136
+ title={Blaze.1 Portrait: High-Quality Realism-Driven Portrait Generation with Flux-Based LoRA Adapter},
137
+ author={StrangerzoneHF},
138
+ year={2024},
139
+ note={public model repository on Hugging Face},
140
+ url={https://huggingface.co/strangerzonehf/Blaze.1-Portrait},
141
+ model_trainer={@prithivMLmods},
142
+ dataset_curator={@prithivMLmods}
143
+ ```