Upload folder using huggingface_hub
Browse files
CosyVoice-300M-25Hz/FLOW_VERSION
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
c2f46df20d1c18f51b9cda8b4f812427 flow.pt
|
CosyVoice-300M-25Hz/campplus.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a6ac6a63997761ae2997373e2ee1c47040854b4b759ea41ec48e4e42df0f4d73
|
| 3 |
+
size 28303423
|
CosyVoice-300M-25Hz/cosyvoice.yaml
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
mel_conf:
|
| 2 |
+
num_mels: 80
|
| 3 |
+
n_fft: 1920
|
| 4 |
+
hop_size: 480
|
| 5 |
+
win_size: 1920
|
| 6 |
+
sampling_rate: 24000
|
| 7 |
+
fmin: 0
|
| 8 |
+
fmax: 8000
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
flow: !new:stepvocoder.cosyvoice2.flow.flow.CausalMaskedDiffWithXvec
|
| 12 |
+
input_size: 512
|
| 13 |
+
output_size: 80
|
| 14 |
+
spk_embed_dim: 192
|
| 15 |
+
output_type: 'mel'
|
| 16 |
+
vocab_size: 5121 # 1024(vq02) + 4096(vq06) + 1(vq02-pad)
|
| 17 |
+
input_embedding: !new:stepvocoder.cosyvoice2.embedding.dual_codebook.DualCodebookEmbedding
|
| 18 |
+
vocab_size: 5121 # 1024(vq02) + 4096(vq06) + 1(vq02-pad)
|
| 19 |
+
input_size: 512
|
| 20 |
+
encoder: !new:stepvocoder.cosyvoice2.transformer.upsample_encoder_v2.UpsampleConformerEncoderV2
|
| 21 |
+
input_size: 512
|
| 22 |
+
output_size: 512
|
| 23 |
+
input_layer: 'linear'
|
| 24 |
+
pre_lookahead_len: 3
|
| 25 |
+
num_blocks: 6
|
| 26 |
+
num_up_blocks: 4
|
| 27 |
+
up_stride: 2
|
| 28 |
+
up_scale_factor: 2
|
| 29 |
+
attention_heads: 8
|
| 30 |
+
pos_enc_layer_type: 'rel_pos_espnet'
|
| 31 |
+
selfattention_layer_type: 'rel_selfattn'
|
| 32 |
+
key_bias: true
|
| 33 |
+
linear_units: 2048
|
| 34 |
+
dropout_rate: 0.1
|
| 35 |
+
positional_dropout_rate: 0.1
|
| 36 |
+
attention_dropout_rate: 0.1
|
| 37 |
+
normalize_before: True
|
| 38 |
+
decoder: !new:stepvocoder.cosyvoice2.flow.flow_matching.CausalConditionalCFM
|
| 39 |
+
inference_cfg_rate: 0.7
|
| 40 |
+
estimator: !new:stepvocoder.cosyvoice2.flow.decoder_dit.DiT
|
| 41 |
+
in_channels: 320
|
| 42 |
+
out_channels: 80
|
| 43 |
+
mlp_ratio: 4.0
|
| 44 |
+
depth: 16
|
| 45 |
+
num_heads: 8
|
| 46 |
+
head_dim: 64
|
| 47 |
+
hidden_size: 512
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
hift: !new:stepvocoder.cosyvoice2.bigvgan.bigvgan.BigVGAN
|
| 51 |
+
use_cuda_kernel: false
|
| 52 |
+
num_mels: !ref <mel_conf[num_mels]>
|
| 53 |
+
upsample_initial_channel: 768
|
| 54 |
+
upsample_rates: [5, 4, 3, 2, 2, 2]
|
| 55 |
+
upsample_kernel_sizes: [11, 8, 7, 4, 4, 4]
|
| 56 |
+
resblock: "1"
|
| 57 |
+
resblock_kernel_sizes: [3,7,11]
|
| 58 |
+
resblock_dilation_sizes: [[1,3,5], [1,3,5], [1,3,5]]
|
| 59 |
+
|
| 60 |
+
activation: "snakebeta"
|
| 61 |
+
snake_logscale: true
|
| 62 |
+
|
| 63 |
+
use_tanh_at_final: false
|
| 64 |
+
use_bias_at_final: false
|
CosyVoice-300M-25Hz/flow.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8ed68d0cf1bc13c86da5cb73241da37e8d7cebdfd13b92a620c6b3cb3aab872b
|
| 3 |
+
size 615274252
|
CosyVoice-300M-25Hz/hift.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:10bb4b495742ab00d92fd5ccb8d576164425d3a7d43a7f894ab0370d64e8a190
|
| 3 |
+
size 117228443
|
CosyVoice-300M-25Hz/speech_tokenizer_v1.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:56285ddd4a83e883ee0cb9f8d69c1089b53a94b1f78ff7e4a0224a27eb4cb486
|
| 3 |
+
size 522625011
|