pixelass
commited on
Commit
•
3158db1
0
Parent(s):
initial commit
Browse files- .gitattributes +55 -0
- README.md +125 -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,125 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 girl wearing a tweed suit, lithography, by Honoré Daumier
|
11 |
+
<lora:honore_daumier_sdxl_v1-000014:1.0>
|
12 |
+
output:
|
13 |
+
url: images/00154-480187136.png
|
14 |
+
- text: >-
|
15 |
+
caricature of a boy wearing a superhero costume, lithography, by Honoré
|
16 |
+
Daumier <lora:honore_daumier_sdxl_v1-000014:1.0>
|
17 |
+
output:
|
18 |
+
url: images/00132-480187136.png
|
19 |
+
- text: >-
|
20 |
+
caricature of a dog wearing a police uniform, lithography, by Honoré
|
21 |
+
Daumier <lora:honore_daumier_sdxl_v1-000014:1.0>
|
22 |
+
output:
|
23 |
+
url: images/00141-480187136.png
|
24 |
+
- text: >-
|
25 |
+
caricature of a frog wearing a police uniform, lithography, by Honoré
|
26 |
+
Daumier <lora:honore_daumier_sdxl_v1-000014:1.0>
|
27 |
+
output:
|
28 |
+
url: images/00143-480187136.png
|
29 |
+
- text: >-
|
30 |
+
caricature of an alien, lithography, by Honoré Daumier
|
31 |
+
<lora:honore_daumier_sdxl_v1:1.0>
|
32 |
+
output:
|
33 |
+
url: images/00162-2919928779.png
|
34 |
+
- text: >-
|
35 |
+
caricature of a viking warrior, lithography, by Honoré Daumier
|
36 |
+
<lora:honore_daumier_sdxl_v1:1.0>
|
37 |
+
output:
|
38 |
+
url: images/00173-1015849521.png
|
39 |
+
- text: >-
|
40 |
+
caricature of a basketball player, lithography, by Honoré Daumier
|
41 |
+
<lora:honore_daumier_sdxl_v1:1.0>
|
42 |
+
output:
|
43 |
+
url: images/00174-1135926644.png
|
44 |
+
- text: >-
|
45 |
+
caricature of a cyborg robot, lithography, by Honoré Daumier
|
46 |
+
<lora:honore_daumier_sdxl_v1:1.0>
|
47 |
+
output:
|
48 |
+
url: images/00163-364911675.png
|
49 |
+
- text: >-
|
50 |
+
caricature of an eagle, lithography, by Honoré Daumier
|
51 |
+
<lora:honore_daumier_sdxl_v1:1.0>
|
52 |
+
output:
|
53 |
+
url: images/00179-3969836619.png
|
54 |
+
- text: >-
|
55 |
+
caricature of a cowboy, lithography, by Honoré Daumier
|
56 |
+
<lora:honore_daumier_sdxl_v1:1.0>
|
57 |
+
output:
|
58 |
+
url: images/00190-4023438497.png
|
59 |
+
base_model: stabilityai/stable-diffusion-xl-base-1.0
|
60 |
+
instance_prompt: caricature, lithography by Honoré Daumier
|
61 |
+
license: cc-by-nc-4.0
|
62 |
+
---
|
63 |
+
# Honoré Daumier
|
64 |
+
|
65 |
+
<Gallery />
|
66 |
+
|
67 |
+
## Model description
|
68 |
+
|
69 |
+
# Daumier LoRA Model
|
70 |
+
|
71 |
+
This model card represents a LoRA (Low-Rank Adaptation) model trained on the Honoré Daumier Dataset available at [Honoré Daumier Dataset](https://huggingface.co/datasets/Blib-la/honore_daumier_dataset). The model is adept at generating and analyzing satirical lithographic caricatures with exaggerated features, typical of Daumier's style.
|
72 |
+
|
73 |
+
## Model Overview
|
74 |
+
|
75 |
+
The Daumier LoRA model has been trained to capture the essence of Honoré Daumier's satirical lithographs, which feature prominent 'big head' caricatures that are well-known for their social and political commentary during the 19th century.
|
76 |
+
|
77 |
+
## Training Configuration
|
78 |
+
|
79 |
+
- **Dataset**: [Honoré Daumier Dataset](https://huggingface.co/datasets/Blib-la/honore_daumier_dataset)
|
80 |
+
- **Epochs**: 14
|
81 |
+
- **Number of Images**: 67
|
82 |
+
- **Repeats per Image**: 10 (Each image was presented ten times throughout the training process to enhance detail recognition)
|
83 |
+
- **Optimizer**: DAdaptAdam (Chosen for its robustness in LoRA model training)
|
84 |
+
- **Precision**: bf16 (Balances computational performance with memory efficiency)
|
85 |
+
- **Main Trigger**: The model is fine-tuned to recognize and replicate Daumier's unique caricature style.
|
86 |
+
- **Xformers**: Implemented for more efficient transformer model operations
|
87 |
+
- **Captioning Method**: GPT-Vision (Employs GPT-Vision to generate captions that guide the AI's learning process), with token shuffling for improved training
|
88 |
+
- **Base Model**: Stable Diffusion XL 1.0 (Used for its advanced capabilities in detailed image generation)
|
89 |
+
|
90 |
+
## Model Usage
|
91 |
+
|
92 |
+
The Daumier LoRA model is specifically trained to generate images that replicate the satirical and exaggerated style characteristic of Honoré Daumier's lithographs.
|
93 |
+
|
94 |
+
## Performance and Limitations
|
95 |
+
|
96 |
+
- **Performance**: The model performs effectively in generating caricatures with exaggerated features and capturing the satirical essence of Daumier's artwork.
|
97 |
+
- **Limitations**: Given the specific focus of the dataset on Daumier's work, the model may not generalize well to other styles of caricature or art forms.
|
98 |
+
|
99 |
+
## Ethical Considerations
|
100 |
+
|
101 |
+
- **Intended Use**: Intended for non-commercial applications such as art historical education, pattern recognition in artwork, and digital art creation.
|
102 |
+
- **Bias and Fairness**: The model reflects the societal and cultural biases present in 19th-century France as depicted in Daumier's work.
|
103 |
+
|
104 |
+
## Licensing
|
105 |
+
|
106 |
+
- **Model License**: This model is licensed under Creative Commons Attribution-NonCommercial 4.0 Generic (CC BY-NC 4.0) for non-commercial use.
|
107 |
+
- **Dataset License**: The Honoré Daumier Dataset is licensed under CC BY-NC 2.0.
|
108 |
+
|
109 |
+
## Contributions and Feedback
|
110 |
+
|
111 |
+
We invite feedback and contributions to further refine the model's capabilities. Visit the model's page on Hugging Face for more information on how you can contribute or provide feedback.
|
112 |
+
|
113 |
+
|
114 |
+
## Trigger words
|
115 |
+
|
116 |
+
You should use `caricature` to trigger the image generation.
|
117 |
+
|
118 |
+
You should use `lithography by Honoré Daumier` to trigger the image generation.
|
119 |
+
|
120 |
+
|
121 |
+
## Download model
|
122 |
+
|
123 |
+
Weights for this model are available in Safetensors format.
|
124 |
+
|
125 |
+
[Download](/pixelass/honore_daumier_lora_sdxl/tree/main) them in the Files & versions tab.
|