p1atdev commited on
Commit
90ef5e4
1 Parent(s): 9771e29

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +95 -39
README.md CHANGED
@@ -33,13 +33,13 @@ This model is a latent diffusion model finetuned on [Waifu Diffusion v1.4 epoch
33
  You can use Danbooru tags to generate images.
34
 
35
 
36
- ## Model links
37
 
38
- - [**pvc-v2.safetensors**](https://huggingface.co/p1atdev/pvc/resolve/main/pvc-v2.safetensors)
39
- - [**pvc-v2.ckpt**](https://huggingface.co/p1atdev/pvc/resolve/main/pvc-v2.ckpt)
40
- - [pvc-v2.yaml](https://huggingface.co/p1atdev/pvc/blob/main/pvc-v2.yaml) (needed if you want to use the model in AUTOMATIC1111's Web UI)
41
- - [pvc-v2-lora.pt](https://huggingface.co/p1atdev/pvc/resolve/main/pvc-v2-lora.pt) (maybe only works with kohya's [sd-scripts](https://huggingface.co/p1atdev/pvc/resolve/main/pvc-v1-lora.pt) or [webui extension](https://github.com/kohya-ss/sd-webui-additional-networks))
42
- - [Waifu Diffusion 1.4 VAE](https://huggingface.co/hakurei/waifu-diffusion-v1-4/blob/main/vae/kl-f8-anime2.ckpt) (Recommended)
43
 
44
  ## Prompt guide
45
 
@@ -52,55 +52,88 @@ nsfw, worst quality, low quality, medium quality, deleted, lowres, bad anatomy,
52
 
53
  ## Samples
54
 
55
- ![v2 sample1](https://huggingface.co/p1atdev/pvc/resolve/main/samples/v2-sample1.png)
56
-
57
-
58
- ```
 
59
  masterpiece, best quality, 1girl, green hair, sweater, beanie, turtleneck, looking at viewer, night,
60
  Negative prompt: nsfw, worst quality, low quality, medium quality, deleted, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, jpeg artifacts, signature, watermark, username, blurry
61
  Steps: 20, Sampler: DPM++ 2M Karras, CFG scale: 7
62
- ```
63
-
64
- ---
65
-
66
- ![v2 sample2](https://huggingface.co/p1atdev/pvc/resolve/main/samples/v2-sample2.png)
67
-
68
- ```
 
69
  masterpiece, best quality, high quality, 1girl, bob cut, cape, belt, gloves, looking at viewer, ultra detailed
70
  Negative prompt: nsfw, worst quality, low quality, medium quality, deleted, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, jpeg artifacts, signature, watermark, username, blurry
71
  Steps: 20, Sampler: DPM++ 2M Karras, CFG scale: 7
72
- ```
73
-
74
- ---
75
-
76
- ![v2 sample3](https://huggingface.co/p1atdev/pvc/resolve/main/samples/v2-sample3.png)
77
-
78
- ```
 
79
  masterpiece, best quality, 1girl, annoyed, black hair, floating hair, gothic lolita, scythe, looking at viewer,
80
  Negative prompt: nsfw, worst quality, low quality, medium quality, deleted, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, jpeg artifacts, signature, watermark, username, blurry
81
  Steps: 20, Sampler: DPM++ 2M Karras, CFG scale: 7
82
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
83
 
84
  ## Training information
85
 
86
- ```
87
- --train_batch_size 1 --resolution 768,768 --learning_rate 1e-4 --max_train_steps 21100 --use_8bit_adam --xformers --mixed_precision fp16 --save_every_n_epochs 1 --network_module networks.lora --v2 --enable_bucket --max_token_length 225 --network_dim 32 --text_encoder_lr 5e-5 --lr_scheduler cosine_with_restarts --lr_warmup_steps 200
88
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
89
 
90
- # PVC v1
91
 
92
  ![eyecatch](https://huggingface.co/p1atdev/pvc/resolve/main/samples/miku.png)
93
 
94
  This model is a latent diffusion model finetuned on [Waifu Diffusion v1.4 epoch 2](https://huggingface.co/hakurei/waifu-diffusion-v1-4) with [PVC figure images](https://huggingface.co/datasets/p1atdev/pvc) using LoRA method.
95
  You can use Danbooru tags to generate images.
96
 
97
- ## Model links
98
-
99
- - [**pvc-v1.safetensors**](https://huggingface.co/p1atdev/pvc/resolve/main/pvc-v1.safetensors)
100
- - [**pvc-v1.ckpt**](https://huggingface.co/p1atdev/pvc/resolve/main/pvc-v1.ckpt)
101
- - [pvc-v1.yaml](https://huggingface.co/p1atdev/pvc/blob/main/pvc-v1.yaml) (needed if you want to use the model in AUTOMATIC1111's Web UI)
102
- - [pvc-v1-lora.pt](https://huggingface.co/p1atdev/pvc/resolve/main/pvc-v1-lora.pt) (maybe only works with kohya's [sd-scripts](https://huggingface.co/p1atdev/pvc/resolve/main/pvc-v1-lora.pt) or [webui extension](https://github.com/kohya-ss/sd-webui-additional-networks))
103
-
104
  ## Samples
105
 
106
  ![sample1](https://huggingface.co/p1atdev/pvc/resolve/main/samples/sample1.png)
@@ -133,8 +166,31 @@ Negative prompt: worst quality, low quality, medium quality, deleted, lowres, ba
133
  Steps: 20, Sampler: DPM++ SDE Karras, CFG scale: 7
134
  ```
135
 
 
 
 
 
 
 
 
 
 
 
 
136
  ## Training information
137
 
138
- ```
139
- --train_batch_size 1 --resolution 768,768 --learning_rate 1e-4 --max_train_steps 17740 --use_8bit_adam --xformers --mixed_precision fp16 --save_every_n_epochs 1 --network_module networks.lora --v2 --enable_bucket --max_token_length 225 --network_dim 16 --text_encoder_lr 5e-5
140
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  You can use Danbooru tags to generate images.
34
 
35
 
36
+ ## Downloads
37
 
38
+ <div class="flex gap-4 my-4">
39
+ <a class="btn" href="https://huggingface.co/p1atdev/pvc/resolve/9771e2970e9574efe89910801861234a5f276aa2/pvc-v2.ckpt">Download model (ckpt)</a>
40
+ <a class="btn" href="https://huggingface.co/p1atdev/pvc/resolve/9771e2970e9574efe89910801861234a5f276aa2/pvc-v2.safetensors">Download model (safetensors)</a>
41
+ <a class="btn" href="https://huggingface.co/p1atdev/pvc/resolve/9771e2970e9574efe89910801861234a5f276aa2/pvc-v2-lora.pt">Download LoRA (pt)</a>
42
+ </div>
43
 
44
  ## Prompt guide
45
 
 
52
 
53
  ## Samples
54
 
55
+ <div class="grid grid-cols-3 gap-4">
56
+ <div class="rounded-lg overflow-hidden gap-0">
57
+ <img class="m-0 p-0 w-full" src="https://huggingface.co/p1atdev/pvc/resolve/main/samples/v2-sample1.png"/>
58
+ <div class="w-full h-full from-gray-100-to-white bg-gradient-to-t">
59
+ <p class="px-4 pt-4 my-0">
60
  masterpiece, best quality, 1girl, green hair, sweater, beanie, turtleneck, looking at viewer, night,
61
  Negative prompt: nsfw, worst quality, low quality, medium quality, deleted, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, jpeg artifacts, signature, watermark, username, blurry
62
  Steps: 20, Sampler: DPM++ 2M Karras, CFG scale: 7
63
+ </p>
64
+ </div>
65
+ </div>
66
+
67
+ <div class="rounded-lg overflow-hidden bg-clip-border">
68
+ <img class="m-0 p-0 w-full" src="https://huggingface.co/p1atdev/pvc/resolve/main/samples/v2-sample2.png"/>
69
+ <div class="w-full h-full from-gray-100-to-white bg-gradient-to-t">
70
+ <p class="px-4 pt-4 my-0">
71
  masterpiece, best quality, high quality, 1girl, bob cut, cape, belt, gloves, looking at viewer, ultra detailed
72
  Negative prompt: nsfw, worst quality, low quality, medium quality, deleted, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, jpeg artifacts, signature, watermark, username, blurry
73
  Steps: 20, Sampler: DPM++ 2M Karras, CFG scale: 7
74
+ </p>
75
+ </div>
76
+ </div>
77
+
78
+ <div class="rounded-lg overflow-hidden bg-clip-border">
79
+ <img class="m-0 p-0 w-full" src="https://huggingface.co/p1atdev/pvc/resolve/main/samples/v2-sample3.png"/>
80
+ <div class="w-full h-full from-gray-100-to-white bg-gradient-to-t">
81
+ <p class="px-4 pt-4 my-0">
82
  masterpiece, best quality, 1girl, annoyed, black hair, floating hair, gothic lolita, scythe, looking at viewer,
83
  Negative prompt: nsfw, worst quality, low quality, medium quality, deleted, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, jpeg artifacts, signature, watermark, username, blurry
84
  Steps: 20, Sampler: DPM++ 2M Karras, CFG scale: 7
85
+ </p>
86
+ </div>
87
+ </div>
88
+
89
+ </div>
90
+
91
+ ## License
92
+
93
+ This version (v2) model is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage.
94
+ The CreativeML OpenRAIL License specifies:
95
+
96
+ 1. You can't use the model to deliberately produce nor share illegal or harmful outputs or content
97
+ 2. The authors claims no rights on the outputs you generate, you are free to use them and are accountable for their use which must not go against the provisions set in the license
98
+ 3. You may re-distribute the weights and use the model commercially and/or as a service. If you do, please be aware you have to include the same use restrictions as the ones in the license and share a copy of the CreativeML OpenRAIL-M to all your users (please read the license entirely and carefully)
99
+ [Please read the full license here](https://huggingface.co/spaces/CompVis/stable-diffusion-license)
100
+
101
 
102
  ## Training information
103
 
104
+ - Training script: kohya_ss/sd-scripts
105
+ - Number of images: 2110
106
+ - Traning steps: 21100
107
+ - Resolution: 768,768
108
+ - Learning rate:
109
+ - U-Net: 1e-4
110
+ - Text encoder: 5e-5
111
+ - Optimizer: AdamW8bit
112
+ - Max token length: 225
113
+ - Mixed precision: fp16
114
+ - Network dim: 16
115
+ - Xformers: enabled
116
+ - Bucketing: enabled
117
+
118
+ # Old versions
119
+
120
+ <details>
121
+ <summary class="text-xl">
122
+ PVC v1 (based on WDv1.4 e2)
123
+ </summary>
124
+
125
+ <div class="flex gap-4 my-4">
126
+ <a class="btn" href="https://huggingface.co/p1atdev/pvc/resolve/9771e2970e9574efe89910801861234a5f276aa2/pvc-v1.ckpt">Download model (ckpt)</a>
127
+ <a class="btn" href="https://huggingface.co/p1atdev/pvc/resolve/9771e2970e9574efe89910801861234a5f276aa2/pvc-v1.safetensors">Download model (safetensors)</a>
128
+ <a class="btn" href="https://huggingface.co/p1atdev/pvc/resolve/9771e2970e9574efe89910801861234a5f276aa2/pvc-v1-lora.pt">Download LoRA (pt)</a>
129
+ </div>
130
 
 
131
 
132
  ![eyecatch](https://huggingface.co/p1atdev/pvc/resolve/main/samples/miku.png)
133
 
134
  This model is a latent diffusion model finetuned on [Waifu Diffusion v1.4 epoch 2](https://huggingface.co/hakurei/waifu-diffusion-v1-4) with [PVC figure images](https://huggingface.co/datasets/p1atdev/pvc) using LoRA method.
135
  You can use Danbooru tags to generate images.
136
 
 
 
 
 
 
 
 
137
  ## Samples
138
 
139
  ![sample1](https://huggingface.co/p1atdev/pvc/resolve/main/samples/sample1.png)
 
166
  Steps: 20, Sampler: DPM++ SDE Karras, CFG scale: 7
167
  ```
168
 
169
+ ## License
170
+
171
+ This version (v1) model is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage.
172
+ The CreativeML OpenRAIL License specifies:
173
+
174
+ 1. You can't use the model to deliberately produce nor share illegal or harmful outputs or content
175
+ 2. The authors claims no rights on the outputs you generate, you are free to use them and are accountable for their use which must not go against the provisions set in the license
176
+ 3. You may re-distribute the weights and use the model commercially and/or as a service. If you do, please be aware you have to include the same use restrictions as the ones in the license and share a copy of the CreativeML OpenRAIL-M to all your users (please read the license entirely and carefully)
177
+ [Please read the full license here](https://huggingface.co/spaces/CompVis/stable-diffusion-license)
178
+
179
+
180
  ## Training information
181
 
182
+ - Training script: kohya_ss/sd-scripts
183
+ - Number of images: 887
184
+ - Traning steps: 17740
185
+ - Resolution: 768,768
186
+ - Learning rate:
187
+ - U-Net: 1e-4
188
+ - Text encoder: 5e-5
189
+ - Optimizer: AdamW8bit
190
+ - Max token length: 225
191
+ - Mixed precision: fp16
192
+ - Network dim: 16
193
+ - Xformers: enabled
194
+ - Bucketing: enabled
195
+
196
+ </details>