RoyalCities
commited on
Commit
•
1ca27a9
1
Parent(s):
4595cd1
Upload 2 files
Browse files- RC_Infinite_Pianos_2024.ckpt +3 -0
- model_config_RC_2024.json +125 -0
RC_Infinite_Pianos_2024.ckpt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:75012fc5b52316a326e6f66809441a5becdff94fb3f7c7c8d9e986731017e063
|
3 |
+
size 4854120135
|
model_config_RC_2024.json
ADDED
@@ -0,0 +1,125 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"model_type": "diffusion_cond",
|
3 |
+
"sample_size": 882000,
|
4 |
+
"sample_rate": 44100,
|
5 |
+
"audio_channels": 2,
|
6 |
+
"model": {
|
7 |
+
"pretransform": {
|
8 |
+
"type": "autoencoder",
|
9 |
+
"iterate_batch": true,
|
10 |
+
"config": {
|
11 |
+
"encoder": {
|
12 |
+
"type": "oobleck",
|
13 |
+
"requires_grad": false,
|
14 |
+
"config": {
|
15 |
+
"in_channels": 2,
|
16 |
+
"channels": 128,
|
17 |
+
"c_mults": [1, 2, 4, 8, 16],
|
18 |
+
"strides": [2, 4, 4, 8, 8],
|
19 |
+
"latent_dim": 128,
|
20 |
+
"use_snake": true
|
21 |
+
}
|
22 |
+
},
|
23 |
+
"decoder": {
|
24 |
+
"type": "oobleck",
|
25 |
+
"config": {
|
26 |
+
"out_channels": 2,
|
27 |
+
"channels": 128,
|
28 |
+
"c_mults": [1, 2, 4, 8, 16],
|
29 |
+
"strides": [2, 4, 4, 8, 8],
|
30 |
+
"latent_dim": 64,
|
31 |
+
"use_snake": true,
|
32 |
+
"final_tanh": false
|
33 |
+
}
|
34 |
+
},
|
35 |
+
"bottleneck": {
|
36 |
+
"type": "vae"
|
37 |
+
},
|
38 |
+
"latent_dim": 64,
|
39 |
+
"downsampling_ratio": 2048,
|
40 |
+
"io_channels": 2
|
41 |
+
}
|
42 |
+
},
|
43 |
+
"conditioning": {
|
44 |
+
"configs": [
|
45 |
+
{
|
46 |
+
"id": "prompt",
|
47 |
+
"type": "t5",
|
48 |
+
"config": {
|
49 |
+
"t5_model_name": "t5-base",
|
50 |
+
"max_length": 128
|
51 |
+
}
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"id": "seconds_start",
|
55 |
+
"type": "number",
|
56 |
+
"config": {
|
57 |
+
"min_val": 0,
|
58 |
+
"max_val": 512
|
59 |
+
}
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"id": "seconds_total",
|
63 |
+
"type": "number",
|
64 |
+
"config": {
|
65 |
+
"min_val": 0,
|
66 |
+
"max_val": 512
|
67 |
+
}
|
68 |
+
}
|
69 |
+
],
|
70 |
+
"cond_dim": 768
|
71 |
+
},
|
72 |
+
"diffusion": {
|
73 |
+
"cross_attention_cond_ids": ["prompt", "seconds_start", "seconds_total"],
|
74 |
+
"global_cond_ids": ["seconds_start", "seconds_total"],
|
75 |
+
"type": "dit",
|
76 |
+
"config": {
|
77 |
+
"io_channels": 64,
|
78 |
+
"embed_dim": 1536,
|
79 |
+
"depth": 24,
|
80 |
+
"num_heads": 24,
|
81 |
+
"cond_token_dim": 768,
|
82 |
+
"global_cond_dim": 1536,
|
83 |
+
"project_cond_tokens": false,
|
84 |
+
"transformer_type": "continuous_transformer"
|
85 |
+
}
|
86 |
+
},
|
87 |
+
"io_channels": 64
|
88 |
+
},
|
89 |
+
"training": {
|
90 |
+
"use_ema": true,
|
91 |
+
"log_loss_info": false,
|
92 |
+
"optimizer_configs": {
|
93 |
+
"diffusion": {
|
94 |
+
"optimizer": {
|
95 |
+
"type": "AdamW",
|
96 |
+
"config": {
|
97 |
+
"lr": 5e-5,
|
98 |
+
"betas": [0.9, 0.999],
|
99 |
+
"weight_decay": 1e-3
|
100 |
+
}
|
101 |
+
},
|
102 |
+
"scheduler": {
|
103 |
+
"type": "InverseLR",
|
104 |
+
"config": {
|
105 |
+
"inv_gamma": 1000000,
|
106 |
+
"power": 0.5,
|
107 |
+
"warmup": 0.99
|
108 |
+
}
|
109 |
+
}
|
110 |
+
}
|
111 |
+
},
|
112 |
+
"demo": {
|
113 |
+
"demo_every": 150,
|
114 |
+
"demo_steps": 250,
|
115 |
+
"num_demos": 4,
|
116 |
+
"demo_cond": [
|
117 |
+
{"prompt": "Grand Piano, slow chord progression only, A minor, Medium Reverb, 110BPM, 8 bars", "seconds_start": 0, "seconds_total": 14},
|
118 |
+
{"prompt": "Soft E. Piano, rising chord progression with falling arp melody, F# minor, High Spacey Reverb, 128BPM, 8 bars", "seconds_start": 0, "seconds_total": 15},
|
119 |
+
{"prompt": "Soft E. Piano, alternating top arp melody only, F minor, High Reverb, 128BPM, 8 bars", "seconds_start": 0, "seconds_total": 15},
|
120 |
+
{"prompt": "Medium E. Piano, low chord progression with top catchy melody, B minor, High Spacey Reverb, 128BPM, 8 bars", "seconds_start": 0, "seconds_total": 15}
|
121 |
+
],
|
122 |
+
"demo_cfg_scales": [4, 7]
|
123 |
+
}
|
124 |
+
}
|
125 |
+
}
|