OpenSound commited on
Commit
cb4641a
1 Parent(s): 0581c89

Upload 7 files

Browse files
ckpts/controlnet/energy_l.yml ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ model_name: EzAudio-L-Energy
2
+
3
+ model:
4
+ mae: True
5
+ mae_prob: 0.25
6
+ mask_ratio: [0.25, 1.0]
7
+ mask_span: 10
8
+ img_size: 500
9
+ patch_size: 1
10
+ in_chans: 257
11
+ out_chans: 128
12
+ input_type: '1d'
13
+ embed_dim: 1024
14
+ depth: 24
15
+ num_heads: 16
16
+ mlp_ratio: 4.0
17
+ qkv_bias: false
18
+ qk_scale: null
19
+ qk_norm: layernorm
20
+ norm_layer: layernorm
21
+ act_layer: geglu
22
+ context_norm: true
23
+ use_checkpoint: true
24
+ time_fusion: 'ada_lora_bias'
25
+ ada_lora_rank: 32
26
+ ada_lora_alpha: 32
27
+ cls_dim: null
28
+ context_dim: 1024
29
+ context_fusion: 'cross'
30
+ context_max_length: null
31
+ context_pe_method: 'none'
32
+ pe_method: 'none'
33
+ rope_mode: 'shared'
34
+ use_conv: true
35
+ skip: true
36
+ skip_norm: true
37
+
38
+ controlnet:
39
+ cond_in: 1
40
+ cond_blocks: [64, 128]
41
+ cond_mask: true
42
+ cond_mask_prob: 0.25
43
+ cond_mask_ratio: [0.25, 0.50]
44
+ cond_mask_span: 10
45
+
46
+ conditioner:
47
+ condition_type: energy
48
+ hop_size: 240
49
+ window_size: 1920
50
+ padding: 'reflect'
51
+ min_db: -60
52
+ norm: True
53
+
54
+ # usually use q_first as false like other studies
55
+ autoencoder:
56
+ name: stable_vae
57
+ dim: 128
58
+ sr: 24000
59
+ latent_sr: 50
60
+ q_first: true
61
+ scale: 1.0
62
+ shift: 0.0
63
+
64
+ # a fixed length should be set when using concat mode
65
+ # a fixed length should be set for distributed training
66
+ text_encoder:
67
+ model: google/flan-t5-large
68
+ max_length: 100
69
+ cfg: 0.1
70
+
71
+ diff:
72
+ num_train_timesteps: 1000
73
+ beta_schedule: 'scaled_linear'
74
+ beta_start: 0.00085
75
+ beta_end: 0.012
76
+ prediction_type: 'v_prediction'
77
+ rescale_betas_zero_snr: true
78
+ timestep_spacing: 'trailing'
79
+ clip_sample: false
ckpts/controlnet/s3_l_energy.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:63fc1b6497570be35bed1833b1402f7a4487cd34acffca527ac8eb44b75427c1
3
+ size 1165074763
ckpts/ezaudio-l.yml ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ model_name: EzAudio-L
2
+
3
+ model:
4
+ mae: True
5
+ mae_prob: 0.25
6
+ mask_ratio: [0.25, 1.0]
7
+ mask_span: 10
8
+ img_size: 500
9
+ patch_size: 1
10
+ in_chans: 257
11
+ out_chans: 128
12
+ input_type: '1d'
13
+ embed_dim: 1024
14
+ depth: 24
15
+ num_heads: 16
16
+ mlp_ratio: 4.0
17
+ qkv_bias: false
18
+ qk_scale: null
19
+ qk_norm: layernorm
20
+ norm_layer: layernorm
21
+ act_layer: geglu
22
+ context_norm: true
23
+ use_checkpoint: true
24
+ time_fusion: 'ada_lora_bias'
25
+ ada_lora_rank: 32
26
+ ada_lora_alpha: 32
27
+ cls_dim: null
28
+ context_dim: 1024
29
+ context_fusion: 'cross'
30
+ context_max_length: null
31
+ context_pe_method: 'none'
32
+ pe_method: 'none'
33
+ rope_mode: 'shared'
34
+ use_conv: true
35
+ skip: true
36
+ skip_norm: true
37
+
38
+ autoencoder:
39
+ name: stable_vae
40
+ dim: 128
41
+ sr: 24000
42
+ latent_sr: 50
43
+ q_first: true
44
+ scale: 1.0
45
+ shift: 0.0
46
+
47
+ text_encoder:
48
+ model: google/flan-t5-large
49
+ max_length: 100
50
+ cfg: 0.1
51
+
52
+ diff:
53
+ num_train_timesteps: 1000
54
+ beta_schedule: 'scaled_linear'
55
+ beta_start: 0.00085
56
+ beta_end: 0.012
57
+ prediction_type: 'v_prediction'
58
+ rescale_betas_zero_snr: true
59
+ timestep_spacing: 'trailing'
60
+ clip_sample: false
ckpts/s3/ezaudio_s3_l.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eef9eb97ac411574c44ce3f34ce6ca034f65111923f3fdb4f75dc835db43d563
3
+ size 2387669060
ckpts/vae/1m.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3cb13e2699fa922ce6a2b3b4f53c270ec64156e0cc3f3e3645e10cdf98b740dc
3
+ size 183037614
ckpts/vae/config.json ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "autoencoder",
3
+ "sample_size": 12000,
4
+ "sample_rate": 24000,
5
+ "audio_channels": 1,
6
+ "model": {
7
+ "encoder": {
8
+ "type": "oobleck",
9
+ "config": {
10
+ "in_channels": 1,
11
+ "channels": 128,
12
+ "c_mults": [1, 2, 4, 8],
13
+ "strides": [2, 4, 6, 10],
14
+ "latent_dim": 256,
15
+ "use_snake": true
16
+ }
17
+ },
18
+ "decoder": {
19
+ "type": "oobleck",
20
+ "config": {
21
+ "out_channels": 1,
22
+ "channels": 128,
23
+ "c_mults": [1, 2, 4, 8],
24
+ "strides": [2, 4, 6, 10],
25
+ "latent_dim": 128,
26
+ "use_snake": true,
27
+ "final_tanh": false
28
+ }
29
+ },
30
+ "bottleneck": {
31
+ "type": "vae"
32
+ },
33
+ "latent_dim": 128,
34
+ "downsampling_ratio": 480,
35
+ "io_channels": 1
36
+ },
37
+ "training": {
38
+ "learning_rate": 1.5e-4,
39
+ "warmup_steps": 0,
40
+ "use_ema": false,
41
+ "optimizer_configs": {
42
+ "autoencoder": {
43
+ "optimizer": {
44
+ "type": "AdamW",
45
+ "config": {
46
+ "betas": [0.8, 0.99],
47
+ "lr": 1.5e-4,
48
+ "weight_decay": 1e-3
49
+ }
50
+ },
51
+ "scheduler": {
52
+ "type": "InverseLR",
53
+ "config": {
54
+ "inv_gamma": 200000,
55
+ "power": 0.5,
56
+ "warmup": 0.999
57
+ }
58
+ }
59
+ },
60
+ "discriminator": {
61
+ "optimizer": {
62
+ "type": "AdamW",
63
+ "config": {
64
+ "betas": [0.8, 0.99],
65
+ "lr": 3e-4,
66
+ "weight_decay": 1e-3
67
+ }
68
+ },
69
+ "scheduler": {
70
+ "type": "InverseLR",
71
+ "config": {
72
+ "inv_gamma": 200000,
73
+ "power": 0.5,
74
+ "warmup": 0.999
75
+ }
76
+ }
77
+ }
78
+ },
79
+ "loss_configs": {
80
+ "discriminator": {
81
+ "type": "encodec",
82
+ "config": {
83
+ "filters": 64,
84
+ "n_ffts": [1280, 640, 320, 160, 80],
85
+ "hop_lengths": [320, 160, 80, 40, 20],
86
+ "win_lengths": [1280, 640, 320, 160, 80]
87
+ },
88
+ "weights": {
89
+ "adversarial": 0.1,
90
+ "feature_matching": 5.0
91
+ }
92
+ },
93
+ "spectral": {
94
+ "type": "mrstft",
95
+ "config": {
96
+ "fft_sizes": [1280, 640, 320, 160, 80, 40, 20],
97
+ "hop_sizes": [320, 160, 80, 40, 20, 10, 5],
98
+ "win_lengths": [1280, 640, 320, 160, 80, 40, 20],
99
+ "perceptual_weighting": true
100
+ },
101
+ "weights": {
102
+ "mrstft": 1.0
103
+ }
104
+ },
105
+ "time": {
106
+ "type": "l1",
107
+ "weights": {
108
+ "l1": 0.0
109
+ }
110
+ },
111
+ "bottleneck": {
112
+ "type": "kl",
113
+ "weights": {
114
+ "kl": 1e-4
115
+ }
116
+ }
117
+ },
118
+ "demo": {
119
+ "demo_every": 10000
120
+ }
121
+ }
122
+ }
reference.mp3 ADDED
Binary file (163 kB). View file