Create README.md
Browse files
README.md
CHANGED
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: openrail
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
metrics:
|
6 |
+
- character
|
7 |
+
pipeline_tag: text-to-image
|
8 |
+
tags:
|
9 |
+
- lora
|
10 |
+
- stable-diffusion-xl
|
11 |
+
- image-generation
|
12 |
+
---
|
13 |
+
|
14 |
+
<img src="https://cdn-uploads.huggingface.co/production/uploads/64a9a333e368492ab8dfccae/8QRnQTayPEPWvVZt80EFU.png" alt="Generated Image" width="400"/>
|
15 |
+
|
16 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/64a9a333e368492ab8dfccae/T_Kxg2l9EPpHzVXVZPvmY.png)
|
17 |
+
|
18 |
+
- Model Card for Kenza Né Banunga LoRA SDXL
|
19 |
+
# Example of generated images:
|
20 |
+
<img src="https://cdn-uploads.huggingface.co/production/uploads/64a9a333e368492ab8dfccae/uvQZz7AhPy8Er8W5SK-O5.png" alt="Generated Image" width="400"/> <img src="https://cdn-uploads.huggingface.co/production/uploads/64a9a333e368492ab8dfccae/idi_7XzAlpa8w2QLMgVrP.png" alt="Generated Image 1" width="400"/> <img src="https://cdn-uploads.huggingface.co/production/uploads/64a9a333e368492ab8dfccae/Uv1J--7rqPSjCT-Qamg1Z.png" alt="Generated Image 2" width="400"/> <img src="https://cdn-uploads.huggingface.co/production/uploads/64a9a333e368492ab8dfccae/k0m-7UNegFU8pVNMPicsA.png" alt="Generated Image 3" width="400"/> <img src="https://cdn-uploads.huggingface.co/production/uploads/64a9a333e368492ab8dfccae/HW0KkejvBkmIyN8DnfElU.png" alt="Generated Image 4" width="400"/> <img src="https://cdn-uploads.huggingface.co/production/uploads/64a9a333e368492ab8dfccae/fG35p5nNet2m_IxvMYJfF.png" alt="Generated Image 5" width="400"/> <img src="https://cdn-uploads.huggingface.co/production/uploads/64a9a333e368492ab8dfccae/h6rAhiRl7L3hN43f4XYAa.png" alt="Generated Image 6" width="400"/> <img src="https://cdn-uploads.huggingface.co/production/uploads/64a9a333e368492ab8dfccae/2WHnYa8LclxRc5eHX-eyV.png" alt="Generated Image 7" width="400"/> <img src="https://cdn-uploads.huggingface.co/production/uploads/64a9a333e368492ab8dfccae/3DlMGY0fvNui0B6by5aD9.png" alt="Generated Image 8" width="400"/> <img src="https://cdn-uploads.huggingface.co/production/uploads/64a9a333e368492ab8dfccae/UTyBj1ysydShzIwtOHfZi.png" alt="Generated Image 9" width="400"/>
|
21 |
+
|
22 |
+
## Details:
|
23 |
+
# Description:
|
24 |
+
This model is a Low-Rank Adaptation (LoRA) trained to generate images of a young woman named Kenza Né Banunga.
|
25 |
+
It is designed to be used with Stable Diffusion XL models to create photorealistic images of this specific character.
|
26 |
+
# developed_by: Anonymous
|
27 |
+
# finetuned_from: frankjoshua/realvisxlV40_v40Bakedvae
|
28 |
+
# repository: local
|
29 |
+
- Trained on Kohya_ss Arch-Linux
|
30 |
+
|
31 |
+
## Usage:
|
32 |
+
# Direct_use:
|
33 |
+
This LoRA can be used with compatible SDXL models to generate photorealistic images of Kenza Né Banunga in various situations and poses.
|
34 |
+
# Out_of_scope_use:
|
35 |
+
This model should not be used to create explicitly sexual, defamatory, or harmful images.
|
36 |
+
|
37 |
+
## Bias risks limitations:
|
38 |
+
# Description:
|
39 |
+
The model may have biases in the representation of physical traits and facial expressions.
|
40 |
+
The quality of results may vary depending on the base model used.
|
41 |
+
# Recommendations:
|
42 |
+
Users should be aware of potential biases and use the model responsibly and ethically.
|
43 |
+
|
44 |
+
## Training details:
|
45 |
+
# Training_data: local
|
46 |
+
# Training_procedure:
|
47 |
+
Hyperparameters:
|
48 |
+
training_regime: bf16 mixed precision
|
49 |
+
epochs: 30
|
50 |
+
learning_rate: 1e-05
|
51 |
+
train_batch_size: 3
|
52 |
+
gradient_accumulation_steps: 1
|
53 |
+
optimizer: AdamW
|
54 |
+
lr_scheduler: constant
|
55 |
+
lora_rank: 32
|
56 |
+
network_alpha: 128
|
57 |
+
resolution: 1024x1024 max
|
58 |
+
checkpointing:
|
59 |
+
save_every_n_steps: 30
|
60 |
+
save_at_epoch_end: true
|
61 |
+
|
62 |
+
## Technical specifications:
|
63 |
+
# Model_architecture:
|
64 |
+
type: LoRA Standard
|
65 |
+
base_model: SDXL
|
66 |
+
gradient_checkpointing: true
|
67 |
+
xformers: enabled
|
68 |
+
# Compute_infrastructure:
|
69 |
+
hardware: NVIDIA GPU GEFORCE RTX-3060
|
70 |
+
software: Kohya_ss
|
71 |
+
framework: PyTorch with xformers
|
72 |
+
precision: bf16 mixed precision
|
73 |
+
|
74 |
+
## Additional_information:
|
75 |
+
# Training_comment:
|
76 |
+
3 repeats. More info: https://civitai.com/articles/1771 2_3_Kenza_Né_Banunga woman 35 epoch
|
77 |
+
|
78 |
+
## Model card:
|
79 |
+
# Authors: Anonymous
|
80 |
+
# Contact: Information not available
|
81 |
+
|
82 |
+
# Use it with the 🧨 diffusers library
|
83 |
+
|
84 |
+
usage example: |
|
85 |
+
```python
|
86 |
+
from diffusers import AutoPipelineForText2Image
|
87 |
+
import torch
|
88 |
+
|
89 |
+
pipeline = AutoPipelineForText2Image.from_pretrained(
|
90 |
+
'frankjoshua/realvisxlV40_v40Bakedvae',
|
91 |
+
torch_dtype=torch.float16
|
92 |
+
).to('cuda')
|
93 |
+
pipeline.load_lora_weights('path/to/Kenza_Né_Banunga_Lora_SDXL_dim32x128', weight_name='pytorch_lora_weights.safetensors')
|
94 |
+
image = pipeline('your prompt').images
|
95 |
+
|
96 |
+
For more details, including weighting, merging, and fusing LoRAs, check the documentation on loading LoRAs in 🧨 diffusers
|