pixelass commited on
Commit
27c3832
0 Parent(s):

initial commit

Browse files
Files changed (2) hide show
  1. .gitattributes +55 -0
  2. README.md +151 -0
.gitattributes ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.lz4 filter=lfs diff=lfs merge=lfs -text
12
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
13
+ *.model filter=lfs diff=lfs merge=lfs -text
14
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
15
+ *.npy filter=lfs diff=lfs merge=lfs -text
16
+ *.npz filter=lfs diff=lfs merge=lfs -text
17
+ *.onnx filter=lfs diff=lfs merge=lfs -text
18
+ *.ot filter=lfs diff=lfs merge=lfs -text
19
+ *.parquet filter=lfs diff=lfs merge=lfs -text
20
+ *.pb filter=lfs diff=lfs merge=lfs -text
21
+ *.pickle filter=lfs diff=lfs merge=lfs -text
22
+ *.pkl filter=lfs diff=lfs merge=lfs -text
23
+ *.pt filter=lfs diff=lfs merge=lfs -text
24
+ *.pth filter=lfs diff=lfs merge=lfs -text
25
+ *.rar filter=lfs diff=lfs merge=lfs -text
26
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
27
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
29
+ *.tar filter=lfs diff=lfs merge=lfs -text
30
+ *.tflite filter=lfs diff=lfs merge=lfs -text
31
+ *.tgz filter=lfs diff=lfs merge=lfs -text
32
+ *.wasm filter=lfs diff=lfs merge=lfs -text
33
+ *.xz filter=lfs diff=lfs merge=lfs -text
34
+ *.zip filter=lfs diff=lfs merge=lfs -text
35
+ *.zst filter=lfs diff=lfs merge=lfs -text
36
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
37
+ # Audio files - uncompressed
38
+ *.pcm filter=lfs diff=lfs merge=lfs -text
39
+ *.sam filter=lfs diff=lfs merge=lfs -text
40
+ *.raw filter=lfs diff=lfs merge=lfs -text
41
+ # Audio files - compressed
42
+ *.aac filter=lfs diff=lfs merge=lfs -text
43
+ *.flac filter=lfs diff=lfs merge=lfs -text
44
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
45
+ *.ogg filter=lfs diff=lfs merge=lfs -text
46
+ *.wav filter=lfs diff=lfs merge=lfs -text
47
+ # Image files - uncompressed
48
+ *.bmp filter=lfs diff=lfs merge=lfs -text
49
+ *.gif filter=lfs diff=lfs merge=lfs -text
50
+ *.png filter=lfs diff=lfs merge=lfs -text
51
+ *.tiff filter=lfs diff=lfs merge=lfs -text
52
+ # Image files - compressed
53
+ *.jpg filter=lfs diff=lfs merge=lfs -text
54
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
55
+ *.webp filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,151 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - text-to-image
4
+ - stable-diffusion
5
+ - lora
6
+ - diffusers
7
+ - template:sd-lora
8
+ widget:
9
+ - text: >-
10
+ caricature of a asian woman with disappointed expression, oversized big
11
+ chin, wearing a Folk costume, white background, exaggerated facial features
12
+ <lora:caricature_sdxl_v2:1>
13
+ output:
14
+ url: images/00543-3110114300.png
15
+ - text: >-
16
+ caricature of a middle eastern kid with amazed expression, oversized big
17
+ ears, wearing a 60's style outfit, white background, exaggerated facial
18
+ features <lora:caricature_sdxl_v2:1>
19
+ output:
20
+ url: images/00488-599893346.png
21
+ - text: >-
22
+ caricature of a caucasian woman with drowsy expression, oversized big eyes,
23
+ wearing a Leather jacket, white background, exaggerated facial features
24
+ <lora:caricature_sdxl_v2:1>
25
+ output:
26
+ url: images/00493-3833057062.png
27
+ - text: >-
28
+ caricature of a black kid with amazed expression, oversized big eyes,
29
+ wearing a Superhero costume, white background, exaggerated facial features
30
+ <lora:caricature_sdxl_v2:1>
31
+ output:
32
+ url: images/00496-3581784488.png
33
+ - text: >-
34
+ caricature of a caucasian man with amazed expression, oversized big ears,
35
+ wearing a Jogging suit, white background, exaggerated facial features
36
+ <lora:caricature_sdxl_v2:1>
37
+ output:
38
+ url: images/00502-1038589121.png
39
+ - text: >-
40
+ caricature of a black man with skeptical expression, oversized big mouth,
41
+ wearing a Hip hop gear, white background, exaggerated facial features
42
+ <lora:caricature_sdxl_v2:1>
43
+ output:
44
+ url: images/00504-2768598054.png
45
+ - text: >-
46
+ caricature of a indian kid with happy expression, oversized big ears,
47
+ wearing a Dungarees, white background, exaggerated facial features
48
+ <lora:caricature_sdxl_v2:1>
49
+ output:
50
+ url: images/00505-2065322002.png
51
+ - text: >-
52
+ caricature of a middle eastern man with happy expression, oversized big
53
+ ears, wearing a Hawaiian shirt, white background, exaggerated facial
54
+ features <lora:caricature_sdxl_v2:1>
55
+ output:
56
+ url: images/00527-2557789390.png
57
+ - text: >-
58
+ caricature of a asian man with sad expression, oversized big ears, wearing a
59
+ Linen shirt, white background, exaggerated facial features
60
+ <lora:caricature_sdxl_v2:1>
61
+ output:
62
+ url: images/00542-2851304771.png
63
+ base_model: stabilityai/stable-diffusion-xl-base-1.0
64
+ instance_prompt: null
65
+ license: cc-by-nc-nd-4.0
66
+ ---
67
+ # Caricature LoRA SDXL
68
+
69
+ <Gallery />
70
+
71
+ ## Model description
72
+
73
+ # Caricature LoRA SDXL
74
+
75
+ [![Discord](https:&#x2F;&#x2F;img.shields.io&#x2F;discord&#x2F;1091306623819059300?color&#x3D;7289da&amp;label&#x3D;Discord&amp;logo&#x3D;discord&amp;logoColor&#x3D;fff&amp;style&#x3D;for-the-badge)](https:&#x2F;&#x2F;discord.com&#x2F;invite&#x2F;m3TBB9XEkb)
76
+
77
+ ## Model Overview
78
+
79
+ This model card showcases a LoRA (Low-Rank Adaptation) model trained on our proprietary Caricature Dataset. The model is fine-tuned to specialize in generating exaggerated and distinctive caricature images, drawing from a diverse set of AI-generated portraits.
80
+
81
+ ## Training Configuration
82
+
83
+ - **Dataset**: Proprietary Caricature Dataset created via Stable Diffusion (SDXL)
84
+ - **Epochs**: 16
85
+ - **Number of Images**: 174
86
+ - **Repeats per Image**: 10 (Each image was utilized 10 times during training to reinforce learning)
87
+ - **Optimizer**: DAdaptAdam (An advanced optimizer for efficient and dynamic AI training)
88
+ - **Precision**: bf16 (Chosen for the optimal balance of performance and computational resource management)
89
+ - **Main Trigger**: Keywords like “caricature” prime the model to generate images within the caricature domain.
90
+ - **Xformers**: Enabled (Enhancing transformer model efficiency)
91
+ - **Captioning Method**: GPT-Vision (Employed to generate relevant captions, crucial for token shuffling in training)
92
+ - **Base Model**: Stable Diffusion XL 1.0 (A robust foundation for image generation tasks)
93
+
94
+ ## Model Usage
95
+
96
+ Employ this model to create a wide variety of caricatures, each with exaggerated features that highlight the subject&#39;s distinct characteristics in a stylized manner.
97
+
98
+ ## Performance and Limitations
99
+
100
+ - **Performance**: Exhibits a strong ability to vary facial features creatively and with high fidelity to the caricature art style.
101
+ - **Limitations**: May exhibit less diversity in scenarios not covered by the 174 training images.
102
+
103
+ ## Ethical Considerations
104
+
105
+ - **Intended Use**: The model is purposed for creative and educational applications, particularly in the arts and entertainment sectors.
106
+ - **Bias and Fairness**: Attention has been paid to ensure a diverse representation within the dataset to mitigate biases.
107
+
108
+
109
+ ## Licensing
110
+
111
+ - **Model License**: Licensed under Creative Commons Attribution-NonCommercial-NoDerivs 4.0 International (CC BY-NC-ND 4.0) for non-commercial use.
112
+
113
+ ## Contributions and Feedback
114
+
115
+ We welcome feedback and contributions to improve the model further. If you have suggestions or would like to contribute to the model&amp;#39;s development, please reach out through the model&amp;#39;s Hugging Face page.
116
+
117
+
118
+ ## Trigger words
119
+
120
+ You should use &#x60;caricature&#x60; to trigger the image generation.
121
+
122
+ ## Download model
123
+
124
+ Weights for this model are available in Safetensors format.
125
+
126
+ [Download](&#x2F;Blib-la&#x2F;caricature_lora_sdxl&#x2F;tree&#x2F;main) them in the Files &amp; versions tab.
127
+
128
+ ## Related
129
+
130
+ https:&#x2F;&#x2F;blib.la&#x2F;blog&#x2F;crafting-the-future-blibla-s-ethical-approach-to-ai-model-training
131
+
132
+ ## Additional Usage Restrictions for Blibla&#39;s LoRAs Hosted on Hugging Face
133
+
134
+ In alignment with our commitment to ensuring the responsible and ethical use of our models, and in addition to the terms set forth in the Creative Commons Attribution-NonCommercial-NoDerivs 4.0 International License (CC BY-NC-ND 4.0) under which Blibla&#39;s LoRAs are licensed, we hereby impose the following specific restrictions:
135
+
136
+ 1. **Prohibited Platforms**: Reuploading, redistributing, or offering of image generation services using our models on platforms not owned or operated by Blibla or Hugging Face is strictly forbidden. This includes, but is not limited to, any platforms that host, allow, or promote Not Safe For Work (NSFW) content.
137
+
138
+ 2. **Explicitly Forbidden Platforms**: For clarity, and without limiting the generality of the above, platforms including but not limited to Leonardo AI, Civit AI, and any &quot;Hugging Face spaces&quot; that host or permit NSFW content are explicitly prohibited from hosting, or utilizing Blibla&#39;s LoRAs in any form or manner.
139
+
140
+ 3. **Responsibility of Users**: Users of Blibla&#39;s LoRAs are responsible for ensuring that the environments in which they use, share, or promote our models adhere strictly to these restrictions. Violation of these terms may result in revocation of the license granted under CC BY-NC-ND 4.0 and may prompt further legal action to protect the integrity of our models and the safety of the communities we serve.
141
+
142
+ 4. **Purpose of Restrictions**: These restrictions are put in place to align with Blibla&#39;s ethical standards and the intended use of our models. They are designed to prevent associations with content or platforms that do not reflect our values or the intended application of our technology.
143
+
144
+ By utilizing Blibla&#39;s LoRAs, you acknowledge and agree to these additional restrictions, ensuring that the use of our models remains within the bounds of ethical and responsible practice.
145
+
146
+
147
+ ## Download model
148
+
149
+ Weights for this model are available in Safetensors format.
150
+
151
+ [Download](/Blib-la/caricature_lora_sdxl/tree/main) them in the Files & versions tab.