Rongjiehuang
commited on
Commit
•
9ec599a
1
Parent(s):
92898ea
init
Browse files- .gitattributes +4 -0
- checkpoints/.DS_Store +0 -0
- checkpoints/MVoice/.DS_Store +0 -0
- checkpoints/MVoice/multitask_ratio_g930_A100_CQ/checkpoint_last.pt +3 -0
- checkpoints/MVoice/multitask_ratio_liblarge_0924/checkpoint_last.pt +3 -0
- checkpoints/tokens/.DS_Store +0 -0
- checkpoints/tokens/acoustic/ckpt_01135000.pth +3 -0
- checkpoints/tokens/acoustic/config.yaml +131 -0
- checkpoints/tokens/semantic/xlsr2_300m.pt +3 -0
- checkpoints/tokens/semantic/xlsr300m_4_0_layer12_km_300h.pt +3 -0
- checkpoints/vocoder/.DS_Store +0 -0
- checkpoints/vocoder/sing/config.json +49 -0
- checkpoints/vocoder/sing/g_01550000 +3 -0
- checkpoints/vocoder/speech/config.json +49 -0
- checkpoints/vocoder/speech/g_00490000 +3 -0
.gitattributes
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
2 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
3 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
4 |
+
g_* filter=lfs diff=lfs merge=lfs -text
|
checkpoints/.DS_Store
ADDED
Binary file (6.15 kB). View file
|
|
checkpoints/MVoice/.DS_Store
ADDED
Binary file (6.15 kB). View file
|
|
checkpoints/MVoice/multitask_ratio_g930_A100_CQ/checkpoint_last.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:05c2bc0235a9c3681b63fa698980b93bb52015f95ccd543867729be7d6bbb3e7
|
3 |
+
size 15077046419
|
checkpoints/MVoice/multitask_ratio_liblarge_0924/checkpoint_last.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bedaf22e1b72d1e7e115784c1dbc26311c438a29096d572bab25a82fb80099b3
|
3 |
+
size 9169919163
|
checkpoints/tokens/.DS_Store
ADDED
Binary file (6.15 kB). View file
|
|
checkpoints/tokens/acoustic/ckpt_01135000.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:52b341c9dc01b019d126d56858261812ae8c0f92a7497d6842057bbef4ff7697
|
3 |
+
size 291809077
|
checkpoints/tokens/acoustic/config.yaml
ADDED
@@ -0,0 +1,131 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
########### model config ###########
|
3 |
+
generator:
|
4 |
+
name: SoundStream
|
5 |
+
config:
|
6 |
+
n_filters: 32
|
7 |
+
D: 256
|
8 |
+
#target_bandwidths: [6,] # [1, 1.5, 2, 4, 6] # [0.5, 1, 1.5, 2, 4, 6]
|
9 |
+
target_bandwidths: [0.5, 1, 1.5, 2, 4]
|
10 |
+
ratios: [8, 5, 4, 2] # downsampling by 320
|
11 |
+
sample_rate: 16000
|
12 |
+
bins: 1024
|
13 |
+
|
14 |
+
# Discriminator list
|
15 |
+
#d_list: ['mpd', 'msd', 'mfd']
|
16 |
+
d_list: ['mfd']
|
17 |
+
|
18 |
+
mfd:
|
19 |
+
name: MultiFrequencyDiscriminator
|
20 |
+
config:
|
21 |
+
hop_lengths: [32, 64, 128, 256, 512, 1024]
|
22 |
+
hidden_channels: [64, 128, 256, 512, 512, 512]
|
23 |
+
domain: double
|
24 |
+
mel_scale: true
|
25 |
+
sample_rate: 16000
|
26 |
+
|
27 |
+
mpd:
|
28 |
+
name: MultiPeriodDiscriminator
|
29 |
+
config:
|
30 |
+
period_sizes: [2, 3, 5, 7, 11]
|
31 |
+
period_kernel_size: 5
|
32 |
+
|
33 |
+
msd:
|
34 |
+
name: MultiScaleDiscriminator
|
35 |
+
config:
|
36 |
+
num_scales: 3
|
37 |
+
pool_kernel_size: 4
|
38 |
+
pool_stride: 2
|
39 |
+
|
40 |
+
########### optimizer config ###########
|
41 |
+
optimizer:
|
42 |
+
g:
|
43 |
+
name: AdamW
|
44 |
+
config:
|
45 |
+
lr: 2e-4
|
46 |
+
betas: [0.8, 0.99]
|
47 |
+
eps: 1.0e-6
|
48 |
+
|
49 |
+
d:
|
50 |
+
name: AdamW
|
51 |
+
config:
|
52 |
+
lr: 2e-4
|
53 |
+
betas: [0.8, 0.99]
|
54 |
+
eps: 1.0e-6
|
55 |
+
|
56 |
+
lr_scheduler:
|
57 |
+
g:
|
58 |
+
name: ExponentialLR
|
59 |
+
config:
|
60 |
+
gamma: 0.999
|
61 |
+
d:
|
62 |
+
name: ExponentialLR
|
63 |
+
config:
|
64 |
+
gamma: 0.999
|
65 |
+
|
66 |
+
########### criterion config ###########
|
67 |
+
criterion:
|
68 |
+
g_criterion:
|
69 |
+
name: losses.generator_loss.GeneratorSTFTLoss
|
70 |
+
config:
|
71 |
+
use_mel_loss: false
|
72 |
+
#adv_criterion: LeastDLoss
|
73 |
+
adv_criterion: MSEGLoss
|
74 |
+
mel_loss_weight: 45
|
75 |
+
use_feature_match: true
|
76 |
+
feat_match_loss_weight: 20
|
77 |
+
use_full_stft_loss: true # Magnitude
|
78 |
+
use_sub_stft_loss: true # PQMF loss
|
79 |
+
full_stft_loss_weight: 1
|
80 |
+
sub_stft_loss_weight: 1
|
81 |
+
mel_scale_loss:
|
82 |
+
sampling_rate: 16000
|
83 |
+
n_fft: 1024
|
84 |
+
num_mels: 80
|
85 |
+
hop_size: 160
|
86 |
+
win_size: 800
|
87 |
+
fmin: 0
|
88 |
+
full_multi_scale_stft_loss: # Full-band multi-scale STFT loss.
|
89 |
+
fft_sizes: [512, 1024, 2048]
|
90 |
+
win_sizes: [480, 960, 1200]
|
91 |
+
hop_sizes: [120, 240, 300]
|
92 |
+
sub_multi_scale_stft_loss: # Sub-band multi-scale STFT loss.
|
93 |
+
num_bands: 6
|
94 |
+
fft_sizes: [128, 256, 256]
|
95 |
+
win_sizes: [80, 120, 200]
|
96 |
+
hop_sizes: [20, 40, 50]
|
97 |
+
|
98 |
+
d_criterion:
|
99 |
+
name: losses.discriminator_loss.MSEDiscriminatorLoss
|
100 |
+
config: null
|
101 |
+
|
102 |
+
commit_loss_weight: 1. #1000
|
103 |
+
|
104 |
+
########### training and data config ###########
|
105 |
+
|
106 |
+
#training_file: "/apdcephfs_cq2/share_1603164/data/nlphuang/huangrongjie2/data/covost_for_encodec/train.lst"
|
107 |
+
#validation_file: "/apdcephfs_cq2/share_1603164/data/nlphuang/huangrongjie2/data/covost_for_encodec_test/valid.lst"
|
108 |
+
training_file: "/apdcephfs_cq3/share_1603164/data/nlphuang/data/sing/Voicelm/covost_for_encodec/train.lst"
|
109 |
+
validation_file: "/apdcephfs_cq3/share_1603164/data/nlphuang/data/sing/Voicelm/covost_for_encodec/valid.lst"
|
110 |
+
|
111 |
+
seed: 2333
|
112 |
+
cudnn_deterministic: false
|
113 |
+
tensorboard: true # whether to use tensorboard
|
114 |
+
#checkpoint_interval: 5
|
115 |
+
#summary_interval: 10
|
116 |
+
#validation_interval: 10
|
117 |
+
|
118 |
+
checkpoint_interval: 5000
|
119 |
+
summary_interval: 100
|
120 |
+
validation_interval: 5000
|
121 |
+
|
122 |
+
num_epoches: 5000
|
123 |
+
print_freq: 10
|
124 |
+
discriminator_iter_start: 0 # start step after which we update discriminators
|
125 |
+
num_ckpt_keep: 10
|
126 |
+
|
127 |
+
segment_size: 24000
|
128 |
+
audio_norm_scale: 1.0
|
129 |
+
batch_size: 6
|
130 |
+
num_workers: 8
|
131 |
+
num_plots: 8
|
checkpoints/tokens/semantic/xlsr2_300m.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:93d6cbc5543d3724a261dcf9d8ec162da5b52a840324233c0eaae6b1ff147a0f
|
3 |
+
size 3808857131
|
checkpoints/tokens/semantic/xlsr300m_4_0_layer12_km_300h.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e8d6ba94b2b222ca121ade6fdd12d1cde057a6f71ea0bc1d6b4be0677b49d639
|
3 |
+
size 4100733
|
checkpoints/vocoder/.DS_Store
ADDED
Binary file (6.15 kB). View file
|
|
checkpoints/vocoder/sing/config.json
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"resblock": "1",
|
3 |
+
"num_gpus": 0,
|
4 |
+
"batch_size": 12,
|
5 |
+
"learning_rate": 0.0001,
|
6 |
+
"adam_b1": 0.8,
|
7 |
+
"adam_b2": 0.99,
|
8 |
+
"lr_decay": 0.999,
|
9 |
+
"seed": 1234,
|
10 |
+
"upsample_rates": [5,4,2,2,2,2],
|
11 |
+
"upsample_kernel_sizes": [9,8,4,4,4,4],
|
12 |
+
"upsample_initial_channel": 1536,
|
13 |
+
"resblock_kernel_sizes": [3,7,11],
|
14 |
+
"resblock_dilation_sizes": [[1,3,5], [1,3,5], [1,3,5]],
|
15 |
+
|
16 |
+
"code_num": 1024,
|
17 |
+
"codebook_num": 3,
|
18 |
+
"code_emb_dim": 256,
|
19 |
+
"unit_hop_size": 320,
|
20 |
+
|
21 |
+
"activation": "snakebeta",
|
22 |
+
"snake_logscale": true,
|
23 |
+
|
24 |
+
"resolutions": [[1024, 120, 600], [2048, 240, 1200], [512, 50, 240]],
|
25 |
+
"mpd_reshapes": [2, 3, 5, 7, 11],
|
26 |
+
"use_spectral_norm": false,
|
27 |
+
"discriminator_channel_mult": 1,
|
28 |
+
|
29 |
+
"segment_size": 9600,
|
30 |
+
"num_mels": 80,
|
31 |
+
"num_freq": 1025,
|
32 |
+
"n_fft": 1024,
|
33 |
+
"hop_size": 256,
|
34 |
+
"win_size": 1024,
|
35 |
+
|
36 |
+
"sampling_rate": 16000,
|
37 |
+
|
38 |
+
"fmin": 0,
|
39 |
+
"fmax": 8000,
|
40 |
+
"fmax_for_loss": null,
|
41 |
+
|
42 |
+
"num_workers": 8,
|
43 |
+
|
44 |
+
"dist_config": {
|
45 |
+
"dist_backend": "nccl",
|
46 |
+
"dist_url": "tcp://localhost:54321",
|
47 |
+
"world_size": 1
|
48 |
+
}
|
49 |
+
}
|
checkpoints/vocoder/sing/g_01550000
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:47d9aec16158c8f20e1998806f79e7edd61582c6fc86fe35230f462b8b08aa8f
|
3 |
+
size 486674328
|
checkpoints/vocoder/speech/config.json
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"resblock": "1",
|
3 |
+
"num_gpus": 0,
|
4 |
+
"batch_size": 32,
|
5 |
+
"learning_rate": 0.0001,
|
6 |
+
"adam_b1": 0.8,
|
7 |
+
"adam_b2": 0.99,
|
8 |
+
"lr_decay": 0.999,
|
9 |
+
"seed": 1234,
|
10 |
+
"upsample_rates": [5,4,2,2,2,2],
|
11 |
+
"upsample_kernel_sizes": [9,8,4,4,4,4],
|
12 |
+
"upsample_initial_channel": 1536,
|
13 |
+
"resblock_kernel_sizes": [3,7,11],
|
14 |
+
"resblock_dilation_sizes": [[1,3,5], [1,3,5], [1,3,5]],
|
15 |
+
|
16 |
+
"code_num": 1024,
|
17 |
+
"codebook_num": 3,
|
18 |
+
"code_emb_dim": 256,
|
19 |
+
"unit_hop_size": 320,
|
20 |
+
|
21 |
+
"activation": "snakebeta",
|
22 |
+
"snake_logscale": true,
|
23 |
+
|
24 |
+
"resolutions": [[1024, 120, 600], [2048, 240, 1200], [512, 50, 240]],
|
25 |
+
"mpd_reshapes": [2, 3, 5, 7, 11],
|
26 |
+
"use_spectral_norm": false,
|
27 |
+
"discriminator_channel_mult": 1,
|
28 |
+
|
29 |
+
"segment_size": 9600,
|
30 |
+
"num_mels": 80,
|
31 |
+
"num_freq": 1025,
|
32 |
+
"n_fft": 1024,
|
33 |
+
"hop_size": 256,
|
34 |
+
"win_size": 1024,
|
35 |
+
|
36 |
+
"sampling_rate": 16000,
|
37 |
+
|
38 |
+
"fmin": 0,
|
39 |
+
"fmax": 8000,
|
40 |
+
"fmax_for_loss": null,
|
41 |
+
|
42 |
+
"num_workers": 0,
|
43 |
+
|
44 |
+
"dist_config": {
|
45 |
+
"dist_backend": "nccl",
|
46 |
+
"dist_url": "tcp://localhost:54321",
|
47 |
+
"world_size": 1
|
48 |
+
}
|
49 |
+
}
|
checkpoints/vocoder/speech/g_00490000
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:19f442fb73276d6c2cd7b24a648d566ac762c3e221470f4c160cb612baec142a
|
3 |
+
size 486674328
|