Ketengan-Diffusion
commited on
Commit
•
21c2c7c
1
Parent(s):
44f0629
Upload 10 files
Browse files- model_index.json +29 -0
- prior/config.json +61 -0
- prior/diffusion_pytorch_model.safetensors +3 -0
- scheduler/scheduler_config.json +6 -0
- text_encoder/config.json +25 -0
- text_encoder/model.safetensors +3 -0
- tokenizer/merges.txt +0 -0
- tokenizer/special_tokens_map.json +30 -0
- tokenizer/tokenizer_config.json +30 -0
- tokenizer/vocab.json +0 -0
model_index.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "StableCascadePriorPipeline",
|
3 |
+
"_diffusers_version": "0.27.0.dev0",
|
4 |
+
"feature_extractor": [
|
5 |
+
null,
|
6 |
+
null
|
7 |
+
],
|
8 |
+
"image_encoder": [
|
9 |
+
null,
|
10 |
+
null
|
11 |
+
],
|
12 |
+
"prior": [
|
13 |
+
"stable_cascade",
|
14 |
+
"StableCascadeUnet"
|
15 |
+
],
|
16 |
+
"resolution_multiple": 42.67,
|
17 |
+
"scheduler": [
|
18 |
+
"diffusers",
|
19 |
+
"DDPMWuerstchenScheduler"
|
20 |
+
],
|
21 |
+
"text_encoder": [
|
22 |
+
"transformers",
|
23 |
+
"CLIPTextModelWithProjection"
|
24 |
+
],
|
25 |
+
"tokenizer": [
|
26 |
+
"transformers",
|
27 |
+
"CLIPTokenizer"
|
28 |
+
]
|
29 |
+
}
|
prior/config.json
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "StableCascadeUnet",
|
3 |
+
"_diffusers_version": "0.27.0.dev0",
|
4 |
+
"_name_or_path": "workspace/run\\backup\\2024-03-04_19-44-57-backup-57612-30-0",
|
5 |
+
"block_repeat": [
|
6 |
+
[
|
7 |
+
1,
|
8 |
+
1
|
9 |
+
],
|
10 |
+
[
|
11 |
+
1,
|
12 |
+
1
|
13 |
+
]
|
14 |
+
],
|
15 |
+
"blocks": [
|
16 |
+
[
|
17 |
+
8,
|
18 |
+
24
|
19 |
+
],
|
20 |
+
[
|
21 |
+
24,
|
22 |
+
8
|
23 |
+
]
|
24 |
+
],
|
25 |
+
"c_clip_img": 768,
|
26 |
+
"c_clip_seq": 4,
|
27 |
+
"c_clip_text": 1280,
|
28 |
+
"c_clip_text_pooled": 1280,
|
29 |
+
"c_cond": 2048,
|
30 |
+
"c_effnet": null,
|
31 |
+
"c_hidden": [
|
32 |
+
2048,
|
33 |
+
2048
|
34 |
+
],
|
35 |
+
"c_in": 16,
|
36 |
+
"c_out": 16,
|
37 |
+
"c_pixels": null,
|
38 |
+
"c_r": 64,
|
39 |
+
"dropout": [
|
40 |
+
0.1,
|
41 |
+
0.1
|
42 |
+
],
|
43 |
+
"kernel_size": 3,
|
44 |
+
"level_config": [
|
45 |
+
"CTA",
|
46 |
+
"CTA"
|
47 |
+
],
|
48 |
+
"nhead": [
|
49 |
+
32,
|
50 |
+
32
|
51 |
+
],
|
52 |
+
"patch_size": 1,
|
53 |
+
"self_attn": true,
|
54 |
+
"switch_level": [
|
55 |
+
false
|
56 |
+
],
|
57 |
+
"t_conds": [
|
58 |
+
"sca",
|
59 |
+
"crp"
|
60 |
+
]
|
61 |
+
}
|
prior/diffusion_pytorch_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:003843f4b34386a796ec301fab8e57d1f1665ca98b41aa332c76b3f10b65a408
|
3 |
+
size 14356584672
|
scheduler/scheduler_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "DDPMWuerstchenScheduler",
|
3 |
+
"_diffusers_version": "0.27.0.dev0",
|
4 |
+
"s": 0.008,
|
5 |
+
"scaler": 1.0
|
6 |
+
}
|
text_encoder/config.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "workspace/run\\backup\\2024-03-04_19-44-57-backup-57612-30-0",
|
3 |
+
"architectures": [
|
4 |
+
"CLIPTextModelWithProjection"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 49406,
|
8 |
+
"dropout": 0.0,
|
9 |
+
"eos_token_id": 49407,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_size": 1280,
|
12 |
+
"initializer_factor": 1.0,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 5120,
|
15 |
+
"layer_norm_eps": 1e-05,
|
16 |
+
"max_position_embeddings": 77,
|
17 |
+
"model_type": "clip_text_model",
|
18 |
+
"num_attention_heads": 20,
|
19 |
+
"num_hidden_layers": 32,
|
20 |
+
"pad_token_id": 1,
|
21 |
+
"projection_dim": 1280,
|
22 |
+
"torch_dtype": "float32",
|
23 |
+
"transformers_version": "4.36.2",
|
24 |
+
"vocab_size": 49408
|
25 |
+
}
|
text_encoder/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:56cd4e8a9bd109f92f9018f7e6e5c25a4e5f51b92e2709492f5fb953c8294b43
|
3 |
+
size 2778702264
|
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_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
|
|