Upload folder using huggingface_hub
Browse files- hotshot_output/model_index.json +33 -0
- hotshot_output/scheduler/scheduler_config.json +12 -0
- hotshot_output/text_encoder/config.json +25 -0
- hotshot_output/text_encoder/model.safetensors +3 -0
- hotshot_output/text_encoder_2/config.json +25 -0
- hotshot_output/text_encoder_2/model.safetensors +3 -0
- hotshot_output/tokenizer/merges.txt +0 -0
- hotshot_output/tokenizer/special_tokens_map.json +1 -0
- hotshot_output/tokenizer/tokenizer_config.json +1 -0
- hotshot_output/tokenizer/vocab.json +0 -0
- hotshot_output/tokenizer_2/merges.txt +0 -0
- hotshot_output/tokenizer_2/special_tokens_map.json +1 -0
- hotshot_output/tokenizer_2/tokenizer_config.json +1 -0
- hotshot_output/tokenizer_2/vocab.json +0 -0
- hotshot_output/unet/config.json +70 -0
- hotshot_output/unet/diffusion_paddle_model-00001-of-00002.safetensors +3 -0
- hotshot_output/unet/diffusion_paddle_model-00002-of-00002.safetensors +3 -0
- hotshot_output/unet/diffusion_paddle_model.safetensors.index.json +0 -0
- hotshot_output/vae/config.json +34 -0
- hotshot_output/vae/diffusion_paddle_model.safetensors +3 -0
hotshot_output/model_index.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "HotshotXLPipeline",
|
| 3 |
+
"_ppdiffusers_version": "0.24.0",
|
| 4 |
+
"force_zeros_for_empty_prompt": true,
|
| 5 |
+
"scheduler": [
|
| 6 |
+
"ppdiffusers",
|
| 7 |
+
"EulerAncestralDiscreteScheduler"
|
| 8 |
+
],
|
| 9 |
+
"text_encoder": [
|
| 10 |
+
"ppdiffusers.transformers",
|
| 11 |
+
"CLIPTextModel"
|
| 12 |
+
],
|
| 13 |
+
"text_encoder_2": [
|
| 14 |
+
"ppdiffusers.transformers",
|
| 15 |
+
"CLIPTextModelWithProjection"
|
| 16 |
+
],
|
| 17 |
+
"tokenizer": [
|
| 18 |
+
"ppdiffusers.transformers",
|
| 19 |
+
"CLIPTokenizer"
|
| 20 |
+
],
|
| 21 |
+
"tokenizer_2": [
|
| 22 |
+
"ppdiffusers.transformers",
|
| 23 |
+
"CLIPTokenizer"
|
| 24 |
+
],
|
| 25 |
+
"unet": [
|
| 26 |
+
"hotshot_xl",
|
| 27 |
+
"UNet3DConditionModel"
|
| 28 |
+
],
|
| 29 |
+
"vae": [
|
| 30 |
+
"ppdiffusers",
|
| 31 |
+
"AutoencoderKL"
|
| 32 |
+
]
|
| 33 |
+
}
|
hotshot_output/scheduler/scheduler_config.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "EulerAncestralDiscreteScheduler",
|
| 3 |
+
"_ppdiffusers_version": "0.24.0",
|
| 4 |
+
"beta_end": 0.012,
|
| 5 |
+
"beta_schedule": "scaled_linear",
|
| 6 |
+
"beta_start": 0.00085,
|
| 7 |
+
"num_train_timesteps": 1000,
|
| 8 |
+
"prediction_type": "epsilon",
|
| 9 |
+
"steps_offset": 1,
|
| 10 |
+
"timestep_spacing": "leading",
|
| 11 |
+
"trained_betas": null
|
| 12 |
+
}
|
hotshot_output/text_encoder/config.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"CLIPTextModel"
|
| 4 |
+
],
|
| 5 |
+
"attention_dropout": 0.0,
|
| 6 |
+
"bos_token_id": 0,
|
| 7 |
+
"dropout": 0.0,
|
| 8 |
+
"eos_token_id": 2,
|
| 9 |
+
"hidden_act": "quick_gelu",
|
| 10 |
+
"hidden_size": 768,
|
| 11 |
+
"initializer_factor": 1.0,
|
| 12 |
+
"initializer_range": 0.02,
|
| 13 |
+
"intermediate_size": 3072,
|
| 14 |
+
"layer_norm_eps": 1e-05,
|
| 15 |
+
"max_position_embeddings": 77,
|
| 16 |
+
"model_type": "clip_text_model",
|
| 17 |
+
"num_attention_heads": 12,
|
| 18 |
+
"num_hidden_layers": 12,
|
| 19 |
+
"pad_token_id": 1,
|
| 20 |
+
"paddle_dtype": "float32",
|
| 21 |
+
"paddlenlp_version": null,
|
| 22 |
+
"projection_dim": 768,
|
| 23 |
+
"return_dict": true,
|
| 24 |
+
"vocab_size": 49408
|
| 25 |
+
}
|
hotshot_output/text_encoder/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b781333abf4c85d82bec517cfe11ba3c77a3158d42cab00dbdccea6333339234
|
| 3 |
+
size 492265168
|
hotshot_output/text_encoder_2/config.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"CLIPTextModelWithProjection"
|
| 4 |
+
],
|
| 5 |
+
"attention_dropout": 0.0,
|
| 6 |
+
"bos_token_id": 0,
|
| 7 |
+
"dropout": 0.0,
|
| 8 |
+
"eos_token_id": 2,
|
| 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 |
+
"paddle_dtype": "float32",
|
| 21 |
+
"paddlenlp_version": null,
|
| 22 |
+
"projection_dim": 1280,
|
| 23 |
+
"return_dict": true,
|
| 24 |
+
"vocab_size": 49408
|
| 25 |
+
}
|
hotshot_output/text_encoder_2/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:058b1d6cde79b8c0e731a0fb543c5e6ae4810d9e8ed2b5470092427688d7972d
|
| 3 |
+
size 2778702264
|
hotshot_output/tokenizer/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
hotshot_output/tokenizer/special_tokens_map.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"bos_token": {"content": "<|startoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "eos_token": {"content": "<|endoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "unk_token": {"content": "<|endoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "pad_token": "<|endoftext|>"}
|
hotshot_output/tokenizer/tokenizer_config.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"errors": "replace", "max_len": 77, "bos_token": "<|startoftext|>", "eos_token": "<|endoftext|>", "unk_token": "<|endoftext|>", "pad_token": "<|endoftext|>", "add_prefix_space": false, "added_tokens_decoder": {"49406": {"content": "<|startoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": true}, "49407": {"content": "<|endoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": true}}, "clean_up_tokenization_spaces": true, "do_lower_case": true, "model_max_length": 77, "tokenizer_class": "CLIPTokenizer", "special_tokens_map_file": "/tmp/tmpv33_kede/special_tokens_map.json"}
|
hotshot_output/tokenizer/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
hotshot_output/tokenizer_2/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
hotshot_output/tokenizer_2/special_tokens_map.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"bos_token": {"content": "<|startoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "eos_token": {"content": "<|endoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "unk_token": {"content": "<|endoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "pad_token": "!"}
|
hotshot_output/tokenizer_2/tokenizer_config.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"errors": "replace", "max_len": 77, "bos_token": "<|startoftext|>", "eos_token": "<|endoftext|>", "unk_token": "<|endoftext|>", "pad_token": "!", "add_prefix_space": false, "added_tokens_decoder": {"0": {"content": "!", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true}, "49406": {"content": "<|startoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": true}, "49407": {"content": "<|endoftext|>", "lstrip": false, "normalized": true, "rstrip": false, "single_word": false, "special": true}}, "clean_up_tokenization_spaces": true, "do_lower_case": true, "model_max_length": 77, "tokenizer_class": "CLIPTokenizer", "special_tokens_map_file": "/tmp/tmpv33_kede/token2/special_tokens_map.json"}
|
hotshot_output/tokenizer_2/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
hotshot_output/unet/config.json
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "UNet3DConditionModel",
|
| 3 |
+
"_name_or_path": "/nfs/model/Hotshot-XL/unet",
|
| 4 |
+
"_ppdiffusers_version": "0.24.0",
|
| 5 |
+
"act_fn": "silu",
|
| 6 |
+
"addition_embed_type": "text_time",
|
| 7 |
+
"addition_embed_type_num_heads": 64,
|
| 8 |
+
"addition_time_embed_dim": 256,
|
| 9 |
+
"attention_head_dim": [
|
| 10 |
+
5,
|
| 11 |
+
10,
|
| 12 |
+
20
|
| 13 |
+
],
|
| 14 |
+
"block_out_channels": [
|
| 15 |
+
320,
|
| 16 |
+
640,
|
| 17 |
+
1280
|
| 18 |
+
],
|
| 19 |
+
"center_input_sample": false,
|
| 20 |
+
"class_embed_type": null,
|
| 21 |
+
"class_embeddings_concat": false,
|
| 22 |
+
"conv_in_kernel": 3,
|
| 23 |
+
"conv_out_kernel": 3,
|
| 24 |
+
"cross_attention_dim": 2048,
|
| 25 |
+
"cross_attention_norm": null,
|
| 26 |
+
"down_block_types": [
|
| 27 |
+
"DownBlock3D",
|
| 28 |
+
"CrossAttnDownBlock3D",
|
| 29 |
+
"CrossAttnDownBlock3D"
|
| 30 |
+
],
|
| 31 |
+
"downsample_padding": 1,
|
| 32 |
+
"dual_cross_attention": false,
|
| 33 |
+
"encoder_hid_dim": null,
|
| 34 |
+
"encoder_hid_dim_type": null,
|
| 35 |
+
"flip_sin_to_cos": true,
|
| 36 |
+
"freq_shift": 0,
|
| 37 |
+
"in_channels": 4,
|
| 38 |
+
"layers_per_block": 2,
|
| 39 |
+
"mid_block_only_cross_attention": null,
|
| 40 |
+
"mid_block_scale_factor": 1,
|
| 41 |
+
"mid_block_type": "UNetMidBlock3DCrossAttn",
|
| 42 |
+
"norm_eps": 1e-05,
|
| 43 |
+
"norm_num_groups": 32,
|
| 44 |
+
"num_attention_heads": null,
|
| 45 |
+
"num_class_embeds": null,
|
| 46 |
+
"only_cross_attention": false,
|
| 47 |
+
"out_channels": 4,
|
| 48 |
+
"projection_class_embeddings_input_dim": 2816,
|
| 49 |
+
"resnet_out_scale_factor": 1.0,
|
| 50 |
+
"resnet_skip_time_act": false,
|
| 51 |
+
"resnet_time_scale_shift": "default",
|
| 52 |
+
"sample_size": 128,
|
| 53 |
+
"time_cond_proj_dim": null,
|
| 54 |
+
"time_embedding_act_fn": null,
|
| 55 |
+
"time_embedding_dim": null,
|
| 56 |
+
"time_embedding_type": "positional",
|
| 57 |
+
"timestep_post_act": null,
|
| 58 |
+
"transformer_layers_per_block": [
|
| 59 |
+
1,
|
| 60 |
+
2,
|
| 61 |
+
10
|
| 62 |
+
],
|
| 63 |
+
"up_block_types": [
|
| 64 |
+
"CrossAttnUpBlock3D",
|
| 65 |
+
"CrossAttnUpBlock3D",
|
| 66 |
+
"UpBlock3D"
|
| 67 |
+
],
|
| 68 |
+
"upcast_attention": null,
|
| 69 |
+
"use_linear_projection": true
|
| 70 |
+
}
|
hotshot_output/unet/diffusion_paddle_model-00001-of-00002.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:097d4d2a1cf22f1aaa478763bbfe3440b061861a1223d0c9862f2bc218fade88
|
| 3 |
+
size 9997069984
|
hotshot_output/unet/diffusion_paddle_model-00002-of-00002.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d2596df4e32e1f1b712ce7b2b9629aa20de686e0ff2c1e77a6f7470e28d6fdeb
|
| 3 |
+
size 1222336504
|
hotshot_output/unet/diffusion_paddle_model.safetensors.index.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
hotshot_output/vae/config.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "AutoencoderKL",
|
| 3 |
+
"_name_or_path": "/nfs/model/Hotshot-XL/vae",
|
| 4 |
+
"_ppdiffusers_version": "0.24.0",
|
| 5 |
+
"act_fn": "silu",
|
| 6 |
+
"block_out_channels": [
|
| 7 |
+
128,
|
| 8 |
+
256,
|
| 9 |
+
512,
|
| 10 |
+
512
|
| 11 |
+
],
|
| 12 |
+
"down_block_out_channels": null,
|
| 13 |
+
"down_block_types": [
|
| 14 |
+
"DownEncoderBlock2D",
|
| 15 |
+
"DownEncoderBlock2D",
|
| 16 |
+
"DownEncoderBlock2D",
|
| 17 |
+
"DownEncoderBlock2D"
|
| 18 |
+
],
|
| 19 |
+
"force_upcast": true,
|
| 20 |
+
"in_channels": 3,
|
| 21 |
+
"latent_channels": 4,
|
| 22 |
+
"layers_per_block": 2,
|
| 23 |
+
"norm_num_groups": 32,
|
| 24 |
+
"out_channels": 3,
|
| 25 |
+
"sample_size": 1024,
|
| 26 |
+
"scaling_factor": 0.13025,
|
| 27 |
+
"up_block_out_channels": null,
|
| 28 |
+
"up_block_types": [
|
| 29 |
+
"UpDecoderBlock2D",
|
| 30 |
+
"UpDecoderBlock2D",
|
| 31 |
+
"UpDecoderBlock2D",
|
| 32 |
+
"UpDecoderBlock2D"
|
| 33 |
+
]
|
| 34 |
+
}
|
hotshot_output/vae/diffusion_paddle_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:772936a510e6701d5f7cadc81b391debd9a9563bce6ec09a14df843bd19abacc
|
| 3 |
+
size 334643268
|