Commit
•
41913dd
1
Parent(s):
4bd1664
Add model weights
Browse files- .DS_Store +0 -0
- model_index.json +28 -0
- scheduler/scheduler_config.json +13 -0
- text_encoder/config.json +32 -0
- text_encoder/pytorch_model.bin +3 -0
- tokenizer/merges.txt +0 -0
- tokenizer/special_tokens_map.json +15 -0
- tokenizer/tokenizer.json +0 -0
- tokenizer/tokenizer_config.json +16 -0
- tokenizer/vocab.json +0 -0
- unet/config.json +43 -0
- unet/diffusion_pytorch_model.bin +3 -0
- vae/config.json +27 -0
- vae/diffusion_pytorch_model.bin +3 -0
- vocoder/config.json +50 -0
- vocoder/pytorch_model.bin +3 -0
.DS_Store
ADDED
Binary file (6.15 kB). View file
|
|
model_index.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "AudioLDMPipeline",
|
3 |
+
"_diffusers_version": "0.13.0.dev0",
|
4 |
+
"scheduler": [
|
5 |
+
"diffusers",
|
6 |
+
"DDIMScheduler"
|
7 |
+
],
|
8 |
+
"text_encoder": [
|
9 |
+
"transformers",
|
10 |
+
"ClapTextModelWithProjection"
|
11 |
+
],
|
12 |
+
"tokenizer": [
|
13 |
+
"transformers",
|
14 |
+
"RobertaTokenizerFast"
|
15 |
+
],
|
16 |
+
"unet": [
|
17 |
+
"diffusers",
|
18 |
+
"UNet2DModel"
|
19 |
+
],
|
20 |
+
"vae": [
|
21 |
+
"diffusers",
|
22 |
+
"AutoencoderKL"
|
23 |
+
],
|
24 |
+
"vocoder": [
|
25 |
+
"transformers",
|
26 |
+
"SpeechT5HifiGan"
|
27 |
+
]
|
28 |
+
}
|
scheduler/scheduler_config.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "DDIMScheduler",
|
3 |
+
"_diffusers_version": "0.13.0.dev0",
|
4 |
+
"beta_end": 0.0195,
|
5 |
+
"beta_schedule": "scaled_linear",
|
6 |
+
"beta_start": 0.0015,
|
7 |
+
"clip_sample": false,
|
8 |
+
"num_train_timesteps": 1000,
|
9 |
+
"prediction_type": "epsilon",
|
10 |
+
"set_alpha_to_one": false,
|
11 |
+
"steps_offset": 1,
|
12 |
+
"trained_betas": null
|
13 |
+
}
|
text_encoder/config.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"ClapTextModelWithProjection"
|
4 |
+
],
|
5 |
+
"attention_probs_dropout_prob": 0.1,
|
6 |
+
"bos_token_id": 0,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"eos_token_id": 2,
|
9 |
+
"fusion_hidden_size": 768,
|
10 |
+
"fusion_num_hidden_layers": 2,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_dropout_prob": 0.1,
|
13 |
+
"hidden_size": 768,
|
14 |
+
"initializer_factor": 1.0,
|
15 |
+
"initializer_range": 0.02,
|
16 |
+
"intermediate_size": 3072,
|
17 |
+
"layer_norm_eps": 1e-12,
|
18 |
+
"max_position_embeddings": 514,
|
19 |
+
"model_type": "clap_text_model",
|
20 |
+
"num_attention_heads": 12,
|
21 |
+
"num_hidden_layers": 12,
|
22 |
+
"pad_token_id": 1,
|
23 |
+
"position_embedding_type": "absolute",
|
24 |
+
"projection_dim": 512,
|
25 |
+
"projection_hidden_act": "relu",
|
26 |
+
"projection_hidden_size": 768,
|
27 |
+
"torch_dtype": "float32",
|
28 |
+
"transformers_version": "4.27.0.dev0",
|
29 |
+
"type_vocab_size": 1,
|
30 |
+
"use_cache": true,
|
31 |
+
"vocab_size": 50265
|
32 |
+
}
|
text_encoder/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0292e65e99024f2d21f0a59b718f0e4914546e4287e2dabdd2d7e4a95c169f7b
|
3 |
+
size 501284353
|
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,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"cls_token": "<s>",
|
4 |
+
"eos_token": "</s>",
|
5 |
+
"mask_token": {
|
6 |
+
"content": "<mask>",
|
7 |
+
"lstrip": true,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false
|
11 |
+
},
|
12 |
+
"pad_token": "<pad>",
|
13 |
+
"sep_token": "</s>",
|
14 |
+
"unk_token": "<unk>"
|
15 |
+
}
|
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,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"bos_token": "<s>",
|
4 |
+
"cls_token": "<s>",
|
5 |
+
"eos_token": "</s>",
|
6 |
+
"errors": "replace",
|
7 |
+
"mask_token": "<mask>",
|
8 |
+
"model_max_length": 512,
|
9 |
+
"pad_token": "<pad>",
|
10 |
+
"processor_class": "ClapProcessor",
|
11 |
+
"sep_token": "</s>",
|
12 |
+
"special_tokens_map_file": null,
|
13 |
+
"tokenizer_class": "RobertaTokenizer",
|
14 |
+
"trim_offsets": true,
|
15 |
+
"unk_token": "<unk>"
|
16 |
+
}
|
tokenizer/vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
unet/config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "UNet2DModel",
|
3 |
+
"_diffusers_version": "0.13.0.dev0",
|
4 |
+
"act_fn": "silu",
|
5 |
+
"add_attention": true,
|
6 |
+
"attention_head_dim": 8,
|
7 |
+
"block_out_channels": [
|
8 |
+
128,
|
9 |
+
256,
|
10 |
+
384,
|
11 |
+
640
|
12 |
+
],
|
13 |
+
"center_input_sample": false,
|
14 |
+
"class_embed_type": null,
|
15 |
+
"cross_attention_dim": true,
|
16 |
+
"down_block_types": [
|
17 |
+
"DownBlock2D",
|
18 |
+
"CrossAttnDownBlock2D",
|
19 |
+
"CrossAttnDownBlock2D",
|
20 |
+
"CrossAttnDownBlock2D"
|
21 |
+
],
|
22 |
+
"downsample_padding": 1,
|
23 |
+
"extra_film_condition_dim": 512,
|
24 |
+
"extra_film_use_concat": true,
|
25 |
+
"flip_sin_to_cos": true,
|
26 |
+
"freq_shift": 0,
|
27 |
+
"in_channels": 8,
|
28 |
+
"layers_per_block": 2,
|
29 |
+
"mid_block_scale_factor": 1,
|
30 |
+
"norm_eps": 1e-05,
|
31 |
+
"norm_num_groups": 32,
|
32 |
+
"num_class_embeds": null,
|
33 |
+
"out_channels": 8,
|
34 |
+
"resnet_time_scale_shift": "default",
|
35 |
+
"sample_size": 128,
|
36 |
+
"time_embedding_type": "positional",
|
37 |
+
"up_block_types": [
|
38 |
+
"CrossAttnUpBlock2D",
|
39 |
+
"CrossAttnUpBlock2D",
|
40 |
+
"CrossAttnUpBlock2D",
|
41 |
+
"UpBlock2D"
|
42 |
+
]
|
43 |
+
}
|
unet/diffusion_pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:51f71fa4e1233882e2a5cd2cd7ed4cf64d11d59a6c8c0b7a09358c58f36ef9f3
|
3 |
+
size 740429981
|
vae/config.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "AutoencoderKL",
|
3 |
+
"_diffusers_version": "0.13.0.dev0",
|
4 |
+
"act_fn": "silu",
|
5 |
+
"block_out_channels": [
|
6 |
+
128,
|
7 |
+
256,
|
8 |
+
512
|
9 |
+
],
|
10 |
+
"down_block_types": [
|
11 |
+
"DownEncoderBlock2D",
|
12 |
+
"DownEncoderBlock2D",
|
13 |
+
"DownEncoderBlock2D"
|
14 |
+
],
|
15 |
+
"in_channels": 1,
|
16 |
+
"latent_channels": 8,
|
17 |
+
"layers_per_block": 2,
|
18 |
+
"norm_num_groups": 32,
|
19 |
+
"out_channels": 1,
|
20 |
+
"sample_size": 512,
|
21 |
+
"scaling_factor": 0.9227914214134216,
|
22 |
+
"up_block_types": [
|
23 |
+
"UpDecoderBlock2D",
|
24 |
+
"UpDecoderBlock2D",
|
25 |
+
"UpDecoderBlock2D"
|
26 |
+
]
|
27 |
+
}
|
vae/diffusion_pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e3fc8ccecb1849c8a23cd4f9dd959eb7aaa203cc010386288418dbc551cdaaf7
|
3 |
+
size 221586505
|
vocoder/config.json
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"SpeechT5HifiGan"
|
4 |
+
],
|
5 |
+
"initializer_range": 0.01,
|
6 |
+
"leaky_relu_slope": 0.1,
|
7 |
+
"model_in_dim": 64,
|
8 |
+
"model_type": "hifigan",
|
9 |
+
"normalize_before": false,
|
10 |
+
"resblock_dilation_sizes": [
|
11 |
+
[
|
12 |
+
1,
|
13 |
+
3,
|
14 |
+
5
|
15 |
+
],
|
16 |
+
[
|
17 |
+
1,
|
18 |
+
3,
|
19 |
+
5
|
20 |
+
],
|
21 |
+
[
|
22 |
+
1,
|
23 |
+
3,
|
24 |
+
5
|
25 |
+
]
|
26 |
+
],
|
27 |
+
"resblock_kernel_sizes": [
|
28 |
+
3,
|
29 |
+
7,
|
30 |
+
11
|
31 |
+
],
|
32 |
+
"sampling_rate": 16000,
|
33 |
+
"torch_dtype": "float32",
|
34 |
+
"transformers_version": "4.27.0.dev0",
|
35 |
+
"upsample_initial_channel": 1024,
|
36 |
+
"upsample_kernel_sizes": [
|
37 |
+
16,
|
38 |
+
16,
|
39 |
+
8,
|
40 |
+
4,
|
41 |
+
4
|
42 |
+
],
|
43 |
+
"upsample_rates": [
|
44 |
+
5,
|
45 |
+
4,
|
46 |
+
2,
|
47 |
+
2,
|
48 |
+
2
|
49 |
+
]
|
50 |
+
}
|
vocoder/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f9fbefc2b31c85d1dabe98e53d09ac88039af411162a7e641040a9c2b5f62364
|
3 |
+
size 221120349
|