Commit ·
b08ad8d
1
Parent(s): ad3bc7a
BOT: Uploaded polyfur-lion-e125 model
Browse files- model_index.json +2 -10
- scheduler/scheduler_config.json +6 -6
- text_encoder/config.json +1 -1
- text_encoder/flax_model.msgpack +1 -1
- tokenizer/tokenizer_config.json +21 -25
- unet/config.json +3 -2
- unet/diffusion_flax_model.msgpack +1 -1
- vae/config.json +1 -1
model_index.json
CHANGED
|
@@ -1,17 +1,9 @@
|
|
| 1 |
{
|
| 2 |
"_class_name": "FlaxStableDiffusionPipeline",
|
| 3 |
-
"_diffusers_version": "0.
|
| 4 |
-
"feature_extractor": [
|
| 5 |
-
null,
|
| 6 |
-
null
|
| 7 |
-
],
|
| 8 |
-
"safety_checker": [
|
| 9 |
-
null,
|
| 10 |
-
null
|
| 11 |
-
],
|
| 12 |
"scheduler": [
|
| 13 |
"diffusers",
|
| 14 |
-
"
|
| 15 |
],
|
| 16 |
"text_encoder": [
|
| 17 |
"transformers",
|
|
|
|
| 1 |
{
|
| 2 |
"_class_name": "FlaxStableDiffusionPipeline",
|
| 3 |
+
"_diffusers_version": "0.21.4",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
"scheduler": [
|
| 5 |
"diffusers",
|
| 6 |
+
"FlaxDDIMScheduler"
|
| 7 |
],
|
| 8 |
"text_encoder": [
|
| 9 |
"transformers",
|
scheduler/scheduler_config.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
| 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": true,
|
| 8 |
"num_train_timesteps": 1000,
|
| 9 |
"prediction_type": "v_prediction",
|
| 10 |
-
"
|
| 11 |
-
"
|
| 12 |
-
|
|
|
|
|
|
| 1 |
{
|
| 2 |
+
"_class_name": "FlaxDDIMScheduler",
|
| 3 |
+
"_diffusers_version": "0.21.4",
|
| 4 |
"beta_end": 0.012,
|
| 5 |
"beta_schedule": "scaled_linear",
|
| 6 |
"beta_start": 0.00085,
|
|
|
|
| 7 |
"num_train_timesteps": 1000,
|
| 8 |
"prediction_type": "v_prediction",
|
| 9 |
+
"set_alpha_to_one": true,
|
| 10 |
+
"steps_offset": 0,
|
| 11 |
+
"trained_betas": null
|
| 12 |
+
}
|
text_encoder/config.json
CHANGED
|
@@ -20,6 +20,6 @@
|
|
| 20 |
"pad_token_id": 1,
|
| 21 |
"projection_dim": 768,
|
| 22 |
"torch_dtype": "float32",
|
| 23 |
-
"transformers_version": "4.
|
| 24 |
"vocab_size": 49408
|
| 25 |
}
|
|
|
|
| 20 |
"pad_token_id": 1,
|
| 21 |
"projection_dim": 768,
|
| 22 |
"torch_dtype": "float32",
|
| 23 |
+
"transformers_version": "4.34.1",
|
| 24 |
"vocab_size": 49408
|
| 25 |
}
|
text_encoder/flax_model.msgpack
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 492248682
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:469856250e737817b17eaee37bad7b71074e1e39f4b109c14d32a4146e4ad838
|
| 3 |
size 492248682
|
tokenizer/tokenizer_config.json
CHANGED
|
@@ -1,34 +1,30 @@
|
|
| 1 |
{
|
| 2 |
"add_prefix_space": false,
|
| 3 |
-
"
|
| 4 |
-
"
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
},
|
|
|
|
|
|
|
| 11 |
"do_lower_case": true,
|
| 12 |
-
"eos_token":
|
| 13 |
-
"__type": "AddedToken",
|
| 14 |
-
"content": "<|endoftext|>",
|
| 15 |
-
"lstrip": false,
|
| 16 |
-
"normalized": true,
|
| 17 |
-
"rstrip": false,
|
| 18 |
-
"single_word": false
|
| 19 |
-
},
|
| 20 |
"errors": "replace",
|
| 21 |
"model_max_length": 77,
|
| 22 |
-
"name_or_path": "/home/user/main_storage/tpu6/model/e6-laion-576-704-832-lion-e123",
|
| 23 |
"pad_token": "<|endoftext|>",
|
| 24 |
-
"special_tokens_map_file": "./special_tokens_map.json",
|
| 25 |
"tokenizer_class": "CLIPTokenizer",
|
| 26 |
-
"unk_token":
|
| 27 |
-
"__type": "AddedToken",
|
| 28 |
-
"content": "<|endoftext|>",
|
| 29 |
-
"lstrip": false,
|
| 30 |
-
"normalized": true,
|
| 31 |
-
"rstrip": false,
|
| 32 |
-
"single_word": false
|
| 33 |
-
}
|
| 34 |
}
|
|
|
|
| 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": true,
|
| 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 |
}
|
unet/config.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"_class_name": "FlaxUNet2DConditionModel",
|
| 3 |
-
"_diffusers_version": "0.
|
| 4 |
"act_fn": "silu",
|
| 5 |
"attention_head_dim": 8,
|
| 6 |
"block_out_channels": [
|
|
@@ -26,6 +26,7 @@
|
|
| 26 |
"mid_block_scale_factor": 1,
|
| 27 |
"norm_eps": 1e-05,
|
| 28 |
"norm_num_groups": 32,
|
|
|
|
| 29 |
"only_cross_attention": false,
|
| 30 |
"out_channels": 4,
|
| 31 |
"sample_size": 64,
|
|
@@ -37,5 +38,5 @@
|
|
| 37 |
],
|
| 38 |
"use_linear_projection": false,
|
| 39 |
"use_memory_efficient": true,
|
| 40 |
-
"use_memory_efficient_attention":
|
| 41 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"_class_name": "FlaxUNet2DConditionModel",
|
| 3 |
+
"_diffusers_version": "0.21.4",
|
| 4 |
"act_fn": "silu",
|
| 5 |
"attention_head_dim": 8,
|
| 6 |
"block_out_channels": [
|
|
|
|
| 26 |
"mid_block_scale_factor": 1,
|
| 27 |
"norm_eps": 1e-05,
|
| 28 |
"norm_num_groups": 32,
|
| 29 |
+
"num_attention_heads": null,
|
| 30 |
"only_cross_attention": false,
|
| 31 |
"out_channels": 4,
|
| 32 |
"sample_size": 64,
|
|
|
|
| 38 |
],
|
| 39 |
"use_linear_projection": false,
|
| 40 |
"use_memory_efficient": true,
|
| 41 |
+
"use_memory_efficient_attention": true
|
| 42 |
}
|
unet/diffusion_flax_model.msgpack
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 3438108367
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1ed40ec1b40bac5e094ea526e691d5587b3645a23b7822ab588c5060ea8cbcbd
|
| 3 |
size 3438108367
|
vae/config.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"_class_name": "FlaxAutoencoderKL",
|
| 3 |
-
"_diffusers_version": "0.
|
| 4 |
"act_fn": "silu",
|
| 5 |
"block_out_channels": [
|
| 6 |
128,
|
|
|
|
| 1 |
{
|
| 2 |
"_class_name": "FlaxAutoencoderKL",
|
| 3 |
+
"_diffusers_version": "0.21.4",
|
| 4 |
"act_fn": "silu",
|
| 5 |
"block_out_channels": [
|
| 6 |
128,
|