File size: 7,009 Bytes
6d296f8
 
 
 
 
 
137515e
 
6d296f8
137515e
 
 
 
 
 
 
 
6d296f8
f9dc131
137515e
 
 
 
 
f9dc131
 
137515e
 
 
 
 
 
f9dc131
 
137515e
 
 
 
 
 
 
 
f9dc131
 
137515e
 
 
 
 
 
 
f9dc131
 
137515e
 
 
 
 
 
 
f9dc131
 
c5efffd
 
6d296f8
90641c7
 
 
8f1d7c1
6d296f8
732806c
 
6d296f8
c11271c
0c1ea4e
a028b94
45700b2
a37ea91
97729df
c4e10d1
83004d9
1e92a45
97729df
83004d9
97729df
83004d9
 
c8b99f4
 
83004d9
06771b9
f5ba40c
12ff782
1e92a45
 
 
f5ba40c
 
 
 
 
bd60e36
 
 
 
97729df
 
 
 
1e92a45
bd60e36
 
 
 
 
 
1e92a45
97729df
c11271c
c8b99f4
1e92a45
97729df
1e92a45
97729df
6d296f8
c8b99f4
c11271c
97729df
6d296f8
97729df
6d296f8
97729df
6d296f8
0f3d0ea
3ce1aa7
 
 
 
 
0790f82
3ce1aa7
 
0790f82
 
 
c8b99f4
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
---
tags:
- text-to-image
- lora
- diffusers
- template:diffusion-lora
- realism
- portrait
widget:
- text: >-
    b1 portrait, Captured at eye-level, a close-up shot captures a young man
    with curly black hair, wearing a red and navy blue jacket with a white
    stripe down the front. His jacket is adorned with a black collar and a white
    logo with a blue letter "F" in the center. Behind him, a young woman in a
    navy blue and red tank top, also wearing a white hat, is seated on the
    beach. The background is a sandy beach, with a clear blue sky dotted with
    white fluffy clouds.
  output:
    url: images/1.png
- text: >-
    b1 portrait, A close-up shot of a young Asian woman with brown hair and blue
    eyes. She is wearing a purple polo shirt with a collar. Her hair is pulled
    back in a ponytail. Her eyes are blue and her lips are pink. The background
    is blurred, but it appears to be a grassy field. The sky is gray
  output:
    url: images/2.png
- text: >-
    b1 portrait, a young Asian girl with short dark brown hair, wearing a red
    and green sun hat. She is wearing a blue sleeveless shirt with a yellow
    stripe down the center of the shirt. The shirt has a blue collar with a
    black button on it. The girls lips are painted pink. The backdrop is a light
    blue with white daisy prints on it, adding a pop of color to the scene.
  output:
    url: images/3.png
- text: >-
    b1 portrait, a close-up shot captures a young womans face, adorned with a
    green beanie and a beige cardigan. She is wearing a pair of gold rimmed
    glasses with a white label that reads "QDUROY" in bold black letters. Her
    eyes are a piercing blue, her eyebrows are a darker shade of brown, and her
    lips are a lighter pink. Her hair is a dark brown, adding a pop of color to
    her face. The background is a stark white, creating a stark contrast to her
    outfit.
  output:
    url: images/4.png
- text: >-
    b1 portrait, Captured at eye-level, a close-up shot of a young woman with
    long brown hair, wearing a white cap, a white shirt, and a red jacket with
    black buttons. Her hair is styled in two braids, adding a touch of texture
    to her face. Her eyes are a piercing blue, and her eyebrows are a darker
    shade of brown. The background is a light brown, and the womans hair is
    cascading over her shoulders.
  output:
    url: images/5.png
- text: >-
    b1 portrait, a close-up shot of a womans face is angled towards the left
    side of the frame. The womans eyes are painted in a vibrant shade of yellow,
    green, and brown, while her lips are painted with white teeth. She is
    wearing a pair of gold hoop earrings, adding a pop of color to her face. The
    background is a light blue, and the womans hair is pulled back in a
    ponytail.
  output:
    url: images/6.png
base_model:
- prithivMLmods/Flux.1-Merged
instance_prompt: b1 portrait
license: other
license_name: flux-1-dev-non-commercial-license
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
new_version: strangerzonehf/Blaze.1-Portrait-Revised
---
![asfsadfsfsedfsef.png](https://cdn-uploads.huggingface.co/production/uploads/65bb837dbfb878f46c77de4c/lV-r_htnneLS7UzasDzjI.png)

<Gallery /># **Blaze.1 Portrait Image Fidelity `[ Base Flux.1 Merged ]`**

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.

# **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*        | *<span style="color:orangered">30 & 38,000</span>*|
| *Epoch*                | *<span style="color:orangered">45</span>* | Save Every N Epochs       | 1                            |

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.

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

# **Dataset Details**

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.

Pre-training upscaling techniques were employed to enhance pixel clarity, ensuring superior image fidelity during model inference.

Image compression details:

- *Minimum compression:* 1.4 MB  
- *Maximum compression:* 10.1 MB  
- *Average compression:* 3.2 MB

# **Training Infrastructure**

Blaze.1 Portrait was trained using state-of-the-art hardware:

- *GPU Configuration:* NVIDIA A100 SXM (2x)
- *vCPU:* 32 cores
- *VRAM:* 160 GB
- *RAM:* 250 GB
- *Disk Space:* 400 GB
- *Network Memory:* High-speed interconnects for efficient data transfer

# **Training Runtime**

Total machine runtime: *<span style="color:orangered">8 hours 14 minutes</span>*

# **Trigger Words**

To generate images using Blaze.1 Portrait, utilize the trigger phrase:

- *<span style="color:orangered">b1 portrait</span>*
  
Incorporating this trigger in your prompts ensures optimal model performance and high-quality portrait generation.

# **Download Model**

Weights for Blaze.1 Portrait are available in Safetensors format. You can download them from the Files & Versions tab using the link below:

[Download Blaze.1 Portrait Weights](/strangerzonehf/Blaze.1-Portrait/tree/main)


```bibtex
@misc{strangerzonehf2024blaze1,
    title={Blaze.1 Portrait: High-Quality Realism-Driven Portrait Generation with Flux-Based LoRA Adapter}, 
    author={StrangerzoneHF},
    year={2024},
    note={public model repository on Hugging Face},
    url={https://huggingface.co/strangerzonehf/Blaze.1-Portrait},
    model_trainer={@prithivMLmods},
    dataset_curator={@prithivMLmods}
```