Upload 15 files
Browse files- README.md +45 -0
- decoder/config.json +83 -0
- decoder/diffusion_pytorch_model.safetensors +3 -0
- model_index.json +26 -0
- model_info.json +7 -0
- scheduler/scheduler_config.json +6 -0
- text_encoder/config.json +24 -0
- text_encoder/model.safetensors +3 -0
- tokenizer/merges.txt +0 -0
- tokenizer/special_tokens_map.json +30 -0
- tokenizer/tokenizer.json +0 -0
- tokenizer/tokenizer_config.json +30 -0
- tokenizer/vocab.json +0 -0
- vqgan/config.json +14 -0
- vqgan/diffusion_pytorch_model.safetensors +3 -0
README.md
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
pipeline_tag: text-to-image
|
3 |
+
license: other
|
4 |
+
license_name: faipl-1.0-sd
|
5 |
+
license_link: LICENSE
|
6 |
+
prior:
|
7 |
+
- Disty0/sotediffusion-wuerstchen3-alpha2
|
8 |
+
---
|
9 |
+
|
10 |
+
# SoteDiffusion Wuerstchen3
|
11 |
+
|
12 |
+
Anime finetune of Würstchen V3.
|
13 |
+
Currently is in early state in training.
|
14 |
+
No commercial use thanks to StabilityAI.
|
15 |
+
|
16 |
+
# Usage
|
17 |
+
Please refer to the main model: https://huggingface.co/Disty0/sotediffusion-wuerstchen3-alpha2
|
18 |
+
|
19 |
+
|
20 |
+
# Changelog
|
21 |
+
|
22 |
+
The same decoder as Alpha1 Decoder but changed the VQGAN model with: https://huggingface.co/madebyollin/stage-a-ft-hq
|
23 |
+
|
24 |
+
|
25 |
+
## Limitations and Bias
|
26 |
+
|
27 |
+
### Bias
|
28 |
+
|
29 |
+
- This model is intended for anime illustrations.
|
30 |
+
Realistic capabilites are not tested at all.
|
31 |
+
|
32 |
+
### Limitations
|
33 |
+
- Far shot eyes are can bad.
|
34 |
+
|
35 |
+
|
36 |
+
## License
|
37 |
+
|
38 |
+
SoteDiffusion models falls under [Fair AI Public License 1.0-SD](https://freedevproject.org/faipl-1.0-sd/) license, which is compatible with Stable Diffusion models’ license. Key points:
|
39 |
+
|
40 |
+
1. **Modification Sharing:** If you modify SoteDiffusion models, you must share both your changes and the original license.
|
41 |
+
2. **Source Code Accessibility:** If your modified version is network-accessible, provide a way (like a download link) for others to get the source code. This applies to derived models too.
|
42 |
+
3. **Distribution Terms:** Any distribution must be under this license or another with similar rules.
|
43 |
+
4. **Compliance:** Non-compliance must be fixed within 30 days to avoid license termination, emphasizing transparency and adherence to open-source values.
|
44 |
+
|
45 |
+
**Notes**: Anything not covered by Fair AI license is inherited from Stability AI Non-Commercial license which is named as LICENSE_INHERIT. Meaning, still no commercial use of any kind.
|
decoder/config.json
ADDED
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "StableCascadeUNet",
|
3 |
+
"_diffusers_version": "0.28.0.dev0",
|
4 |
+
"block_out_channels": [
|
5 |
+
320,
|
6 |
+
640,
|
7 |
+
1280,
|
8 |
+
1280
|
9 |
+
],
|
10 |
+
"block_types_per_layer": [
|
11 |
+
[
|
12 |
+
"SDCascadeResBlock",
|
13 |
+
"SDCascadeTimestepBlock"
|
14 |
+
],
|
15 |
+
[
|
16 |
+
"SDCascadeResBlock",
|
17 |
+
"SDCascadeTimestepBlock"
|
18 |
+
],
|
19 |
+
[
|
20 |
+
"SDCascadeResBlock",
|
21 |
+
"SDCascadeTimestepBlock",
|
22 |
+
"SDCascadeAttnBlock"
|
23 |
+
],
|
24 |
+
[
|
25 |
+
"SDCascadeResBlock",
|
26 |
+
"SDCascadeTimestepBlock",
|
27 |
+
"SDCascadeAttnBlock"
|
28 |
+
]
|
29 |
+
],
|
30 |
+
"clip_image_in_channels": null,
|
31 |
+
"clip_seq": 4,
|
32 |
+
"clip_text_in_channels": null,
|
33 |
+
"clip_text_pooled_in_channels": 1280,
|
34 |
+
"conditioning_dim": 1280,
|
35 |
+
"down_blocks_repeat_mappers": [
|
36 |
+
1,
|
37 |
+
1,
|
38 |
+
1,
|
39 |
+
1
|
40 |
+
],
|
41 |
+
"down_num_layers_per_block": [
|
42 |
+
2,
|
43 |
+
6,
|
44 |
+
28,
|
45 |
+
6
|
46 |
+
],
|
47 |
+
"dropout": [
|
48 |
+
0,
|
49 |
+
0,
|
50 |
+
0.1,
|
51 |
+
0.1
|
52 |
+
],
|
53 |
+
"effnet_in_channels": 16,
|
54 |
+
"in_channels": 4,
|
55 |
+
"kernel_size": 3,
|
56 |
+
"num_attention_heads": [
|
57 |
+
0,
|
58 |
+
0,
|
59 |
+
20,
|
60 |
+
20
|
61 |
+
],
|
62 |
+
"out_channels": 4,
|
63 |
+
"patch_size": 2,
|
64 |
+
"pixel_mapper_in_channels": 3,
|
65 |
+
"self_attn": true,
|
66 |
+
"switch_level": null,
|
67 |
+
"timestep_conditioning_type": [
|
68 |
+
"sca"
|
69 |
+
],
|
70 |
+
"timestep_ratio_embedding_dim": 64,
|
71 |
+
"up_blocks_repeat_mappers": [
|
72 |
+
3,
|
73 |
+
3,
|
74 |
+
2,
|
75 |
+
2
|
76 |
+
],
|
77 |
+
"up_num_layers_per_block": [
|
78 |
+
6,
|
79 |
+
28,
|
80 |
+
6,
|
81 |
+
2
|
82 |
+
]
|
83 |
+
}
|
decoder/diffusion_pytorch_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:24be18088d4e0029b0e26016e5a87e348a809dacddaf973b8d8dbfb9bfe34790
|
3 |
+
size 3126069360
|
model_index.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "StableCascadeDecoderPipeline",
|
3 |
+
"_diffusers_version": "0.28.0.dev0",
|
4 |
+
"_name_or_path": "Disty0/sotediffusion-wuerstchen3-alpha2-decoder",
|
5 |
+
"decoder": [
|
6 |
+
"diffusers",
|
7 |
+
"StableCascadeUNet"
|
8 |
+
],
|
9 |
+
"latent_dim_scale": 10.67,
|
10 |
+
"scheduler": [
|
11 |
+
"diffusers",
|
12 |
+
"DDPMWuerstchenScheduler"
|
13 |
+
],
|
14 |
+
"text_encoder": [
|
15 |
+
"transformers",
|
16 |
+
"CLIPTextModelWithProjection"
|
17 |
+
],
|
18 |
+
"tokenizer": [
|
19 |
+
"transformers",
|
20 |
+
"CLIPTokenizerFast"
|
21 |
+
],
|
22 |
+
"vqgan": [
|
23 |
+
"wuerstchen",
|
24 |
+
"PaellaVQModel"
|
25 |
+
]
|
26 |
+
}
|
model_info.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"license": "other",
|
3 |
+
"pipeline_tag": "text-to-image",
|
4 |
+
"license_name": "faipl-1.0-sd",
|
5 |
+
"license_link": "LICENSE",
|
6 |
+
"prior": "/mnt/DataSSD/AI/models/sd-webui/Diffusers/models--Disty0--sotediffusion-wuerstchen3-alpha2/snapshots/10740edd6328f4498b22101e9f01cb8a9bd14e14"
|
7 |
+
}
|
scheduler/scheduler_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "DDPMWuerstchenScheduler",
|
3 |
+
"_diffusers_version": "0.28.0.dev0",
|
4 |
+
"s": 0.008,
|
5 |
+
"scaler": 1.0
|
6 |
+
}
|
text_encoder/config.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"CLIPTextModelWithProjection"
|
4 |
+
],
|
5 |
+
"attention_dropout": 0.0,
|
6 |
+
"bos_token_id": 49406,
|
7 |
+
"dropout": 0.0,
|
8 |
+
"eos_token_id": 49407,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_size": 1280,
|
11 |
+
"initializer_factor": 1.0,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 5120,
|
14 |
+
"layer_norm_eps": 1e-05,
|
15 |
+
"max_position_embeddings": 77,
|
16 |
+
"model_type": "clip_text_model",
|
17 |
+
"num_attention_heads": 20,
|
18 |
+
"num_hidden_layers": 32,
|
19 |
+
"pad_token_id": 1,
|
20 |
+
"projection_dim": 1280,
|
21 |
+
"torch_dtype": "float16",
|
22 |
+
"transformers_version": "4.36.2",
|
23 |
+
"vocab_size": 49408
|
24 |
+
}
|
text_encoder/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:060524e86c6ed7d1bdef57bdb1ed8f7157fc28b06faa4000d967b358e185e37f
|
3 |
+
size 1389382176
|
tokenizer/merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer/special_tokens_map.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<|startoftext|>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": true,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "<|endoftext|>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "<|endoftext|>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"unk_token": {
|
24 |
+
"content": "<|endoftext|>",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
}
|
30 |
+
}
|
tokenizer/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer/tokenizer_config.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"49406": {
|
5 |
+
"content": "<|startoftext|>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": true,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"49407": {
|
13 |
+
"content": "<|endoftext|>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": false,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
}
|
20 |
+
},
|
21 |
+
"bos_token": "<|startoftext|>",
|
22 |
+
"clean_up_tokenization_spaces": true,
|
23 |
+
"do_lower_case": true,
|
24 |
+
"eos_token": "<|endoftext|>",
|
25 |
+
"errors": "replace",
|
26 |
+
"model_max_length": 77,
|
27 |
+
"pad_token": "<|endoftext|>",
|
28 |
+
"tokenizer_class": "CLIPTokenizer",
|
29 |
+
"unk_token": "<|endoftext|>"
|
30 |
+
}
|
tokenizer/vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
vqgan/config.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "PaellaVQModel",
|
3 |
+
"_diffusers_version": "0.28.0.dev0",
|
4 |
+
"_name_or_path": "madebyollin/stage-a-ft-hq",
|
5 |
+
"bottleneck_blocks": 12,
|
6 |
+
"embed_dim": 384,
|
7 |
+
"in_channels": 3,
|
8 |
+
"latent_channels": 4,
|
9 |
+
"levels": 2,
|
10 |
+
"num_vq_embeddings": 8192,
|
11 |
+
"out_channels": 3,
|
12 |
+
"scale_factor": 0.3764,
|
13 |
+
"up_down_scale_factor": 2
|
14 |
+
}
|
vqgan/diffusion_pytorch_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cdaaa4be9238d7e2d68528d284f9b69fb9c34de6c06528c35d6dedd878b29cd0
|
3 |
+
size 36825700
|