patrickvonplaten
commited on
Commit
•
2da752b
1
Parent(s):
c582e00
correct configs
Browse files- model_index.json +5 -5
- safety_checker/config.json +2 -2
- scheduler/scheduler_config.json +5 -4
- text_encoder/config.json +3 -2
- tokenizer/tokenizer_config.json +2 -3
- unet/config.json +2 -1
- vae/config.json +2 -1
model_index.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
-
"_class_name": "
|
3 |
-
"_diffusers_version": "0.
|
4 |
"feature_extractor": [
|
5 |
"transformers",
|
6 |
"CLIPFeatureExtractor"
|
@@ -11,11 +11,11 @@
|
|
11 |
],
|
12 |
"scheduler": [
|
13 |
"diffusers",
|
14 |
-
"
|
15 |
],
|
16 |
"text_encoder": [
|
17 |
-
"
|
18 |
-
"
|
19 |
],
|
20 |
"tokenizer": [
|
21 |
"transformers",
|
|
|
1 |
{
|
2 |
+
"_class_name": "AltDiffusionPipeline",
|
3 |
+
"_diffusers_version": "0.8.0.dev0",
|
4 |
"feature_extractor": [
|
5 |
"transformers",
|
6 |
"CLIPFeatureExtractor"
|
|
|
11 |
],
|
12 |
"scheduler": [
|
13 |
"diffusers",
|
14 |
+
"PNDMScheduler"
|
15 |
],
|
16 |
"text_encoder": [
|
17 |
+
"alt_diffusion",
|
18 |
+
"RobertaSeriesModelWithTransformation"
|
19 |
],
|
20 |
"tokenizer": [
|
21 |
"transformers",
|
safety_checker/config.json
CHANGED
@@ -79,7 +79,7 @@
|
|
79 |
"top_p": 1.0,
|
80 |
"torch_dtype": null,
|
81 |
"torchscript": false,
|
82 |
-
"transformers_version": "4.24.0",
|
83 |
"typical_p": 1.0,
|
84 |
"use_bfloat16": false,
|
85 |
"vocab_size": 49408
|
@@ -165,7 +165,7 @@
|
|
165 |
"top_p": 1.0,
|
166 |
"torch_dtype": null,
|
167 |
"torchscript": false,
|
168 |
-
"transformers_version": "4.24.0",
|
169 |
"typical_p": 1.0,
|
170 |
"use_bfloat16": false
|
171 |
},
|
|
|
79 |
"top_p": 1.0,
|
80 |
"torch_dtype": null,
|
81 |
"torchscript": false,
|
82 |
+
"transformers_version": "4.24.0.dev0",
|
83 |
"typical_p": 1.0,
|
84 |
"use_bfloat16": false,
|
85 |
"vocab_size": 49408
|
|
|
165 |
"top_p": 1.0,
|
166 |
"torch_dtype": null,
|
167 |
"torchscript": false,
|
168 |
+
"transformers_version": "4.24.0.dev0",
|
169 |
"typical_p": 1.0,
|
170 |
"use_bfloat16": false
|
171 |
},
|
scheduler/scheduler_config.json
CHANGED
@@ -1,12 +1,13 @@
|
|
1 |
{
|
2 |
-
"_class_name": "
|
3 |
-
"_diffusers_version": "0.
|
4 |
"beta_end": 0.012,
|
5 |
"beta_schedule": "scaled_linear",
|
6 |
"beta_start": 0.00085,
|
7 |
-
"clip_sample": false,
|
8 |
"num_train_timesteps": 1000,
|
9 |
"set_alpha_to_one": false,
|
|
|
10 |
"steps_offset": 1,
|
11 |
-
"trained_betas": null
|
|
|
12 |
}
|
|
|
1 |
{
|
2 |
+
"_class_name": "PNDMScheduler",
|
3 |
+
"_diffusers_version": "0.6.0",
|
4 |
"beta_end": 0.012,
|
5 |
"beta_schedule": "scaled_linear",
|
6 |
"beta_start": 0.00085,
|
|
|
7 |
"num_train_timesteps": 1000,
|
8 |
"set_alpha_to_one": false,
|
9 |
+
"skip_prk_steps": true,
|
10 |
"steps_offset": 1,
|
11 |
+
"trained_betas": null,
|
12 |
+
"clip_sample": false
|
13 |
}
|
text_encoder/config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"RobertaSeriesModelWithTransformation"
|
5 |
],
|
@@ -24,8 +24,9 @@
|
|
24 |
"position_embedding_type": "absolute",
|
25 |
"project_dim": 768,
|
26 |
"torch_dtype": "float32",
|
27 |
-
"transformers_version": "4.24.0",
|
28 |
"type_vocab_size": 1,
|
|
|
29 |
"use_cache": true,
|
30 |
"vocab_size": 250002
|
31 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "../test/text_encoder",
|
3 |
"architectures": [
|
4 |
"RobertaSeriesModelWithTransformation"
|
5 |
],
|
|
|
24 |
"position_embedding_type": "absolute",
|
25 |
"project_dim": 768,
|
26 |
"torch_dtype": "float32",
|
27 |
+
"transformers_version": "4.24.0.dev0",
|
28 |
"type_vocab_size": 1,
|
29 |
+
"use_attention_mask": true,
|
30 |
"use_cache": true,
|
31 |
"vocab_size": 250002
|
32 |
}
|
tokenizer/tokenizer_config.json
CHANGED
@@ -10,10 +10,9 @@
|
|
10 |
"rstrip": false,
|
11 |
"single_word": false
|
12 |
},
|
13 |
-
"model_max_length":
|
14 |
-
"name_or_path": "
|
15 |
"pad_token": "<pad>",
|
16 |
-
"processor_class": "CHCLIPProcess",
|
17 |
"sep_token": "</s>",
|
18 |
"sp_model_kwargs": {},
|
19 |
"special_tokens_map_file": null,
|
|
|
10 |
"rstrip": false,
|
11 |
"single_word": false
|
12 |
},
|
13 |
+
"model_max_length": 77,
|
14 |
+
"name_or_path": "../test/tokenizer",
|
15 |
"pad_token": "<pad>",
|
|
|
16 |
"sep_token": "</s>",
|
17 |
"sp_model_kwargs": {},
|
18 |
"special_tokens_map_file": null,
|
unet/config.json
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
-
"_diffusers_version": "0.
|
|
|
4 |
"act_fn": "silu",
|
5 |
"attention_head_dim": 8,
|
6 |
"block_out_channels": [
|
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
+
"_diffusers_version": "0.8.0.dev0",
|
4 |
+
"_name_or_path": "../test/unet",
|
5 |
"act_fn": "silu",
|
6 |
"attention_head_dim": 8,
|
7 |
"block_out_channels": [
|
vae/config.json
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
-
"_diffusers_version": "0.
|
|
|
4 |
"act_fn": "silu",
|
5 |
"block_out_channels": [
|
6 |
128,
|
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
+
"_diffusers_version": "0.8.0.dev0",
|
4 |
+
"_name_or_path": "../test/vae",
|
5 |
"act_fn": "silu",
|
6 |
"block_out_channels": [
|
7 |
128,
|