Push model using huggingface_hub.
Browse files- README.md +12 -0
- config.json +123 -123
- model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- Text-to-Speech
|
4 |
+
- VoiceCraft
|
5 |
+
- pytorch_model_hub_mixin
|
6 |
+
- model_hub_mixin
|
7 |
+
repo_url: https://github.com/jasonppy/VoiceCraft
|
8 |
+
---
|
9 |
+
|
10 |
+
This model has been pushed to the Hub using ****:
|
11 |
+
- Repo: https://github.com/jasonppy/VoiceCraft
|
12 |
+
- Docs: [More Information Needed]
|
config.json
CHANGED
@@ -1,152 +1,152 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
"
|
4 |
-
"
|
5 |
-
"
|
6 |
-
"
|
7 |
-
"
|
8 |
-
"
|
9 |
-
"lr": 0.05,
|
10 |
"batch_size": 100,
|
11 |
-
"
|
12 |
-
"
|
13 |
-
"
|
14 |
-
"num_steps": 50000,
|
15 |
-
"gradient_accumulation_steps": 26,
|
16 |
-
"gradient_clip_val": 1.0,
|
17 |
-
"early_stop_step": 3200,
|
18 |
-
"early_stop_threshold": -1.0,
|
19 |
-
"exp_dir": "/data/scratch/pyp/exp_pyp/VoiceCraft/gigaspeech/e6",
|
20 |
"dataset": "gigaspeech",
|
21 |
"dataset_dir": "/data/scratch/pyp/datasets/gigaspeech_phn_enc_manifest/xl",
|
22 |
-
"
|
23 |
-
"phn_folder_name": "phonemes",
|
24 |
-
"encodec_folder_name": "encodec_16khz_4codebooks",
|
25 |
-
"manifest_name": "manifest_large16khz_lessambi",
|
26 |
-
"pad_x": 0,
|
27 |
-
"max_num_tokens": 100000,
|
28 |
-
"val_max_num_tokens": 6000,
|
29 |
-
"num_buckets": 6,
|
30 |
"dynamic_batching": 1,
|
31 |
-
"
|
32 |
-
"
|
33 |
-
"
|
34 |
-
"
|
35 |
"encodec_sr": 50,
|
36 |
-
"
|
37 |
-
"mask_len_max": 600,
|
38 |
-
"drop_long": 1,
|
39 |
"eos": 2051,
|
40 |
-
"
|
41 |
-
"
|
42 |
-
"
|
43 |
-
"
|
44 |
-
"
|
45 |
-
"
|
46 |
-
"
|
47 |
-
"
|
48 |
-
"
|
49 |
"max_mask_portion": 0.9,
|
50 |
"max_n_spans": 3,
|
51 |
-
"
|
52 |
-
"mask_sample_dist": "poisson1",
|
53 |
"min_gap": 5,
|
54 |
"n_codebooks": 4,
|
55 |
-
"
|
56 |
-
"text_pad_token": 100,
|
57 |
-
"audio_vocab_size": 2048,
|
58 |
-
"eog": 2049,
|
59 |
-
"audio_pad_token": 2050,
|
60 |
-
"d_model": 2048,
|
61 |
-
"audio_embedding_dim": 2048,
|
62 |
-
"text_embedding_dropout": 0.1,
|
63 |
-
"audio_embedding_dropout": 0,
|
64 |
-
"text_positional_embedding_dropout": 0.1,
|
65 |
-
"audio_positional_embedding_dropout": 0.1,
|
66 |
-
"trm_dropout": 0.1,
|
67 |
"nhead": 16,
|
|
|
68 |
"num_decoder_layers": 16,
|
69 |
-
"
|
|
|
|
|
|
|
|
|
70 |
"phn2num": {
|
71 |
-
"
|
72 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
"a\u026a\u025a": 2,
|
74 |
-
"\
|
75 |
-
"
|
76 |
-
"
|
|
|
77 |
"e\u026a": 6,
|
78 |
-
"
|
79 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
"m": 9,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
"\u00e7": 10,
|
82 |
-
"\
|
83 |
-
"\
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
"\u0254\u026a": 13,
|
85 |
-
"
|
86 |
-
"
|
|
|
87 |
"\u0259l": 16,
|
88 |
-
"
|
89 |
"\u025b": 18,
|
90 |
-
"
|
91 |
-
"b": 20,
|
92 |
"\u025c\u02d0": 21,
|
93 |
-
"
|
94 |
-
"
|
|
|
|
|
|
|
|
|
95 |
"\u027e": 24,
|
96 |
-
"o\u028a": 25,
|
97 |
"\u0283": 26,
|
98 |
-
"
|
99 |
"\u028a\u0279": 28,
|
100 |
-
"\u0254\u02d0": 29,
|
101 |
-
"\u03b8": 30,
|
102 |
-
"v": 31,
|
103 |
-
"\u00e6": 32,
|
104 |
-
"\u0254\u02d0\u0279": 33,
|
105 |
-
"p": 34,
|
106 |
-
"\u025a": 35,
|
107 |
-
"a\u028a": 36,
|
108 |
-
"\u0261\u02b2": 37,
|
109 |
"\u028c": 38,
|
110 |
-
"<MUSIC>": 39,
|
111 |
-
"o\u02d0\u0279": 40,
|
112 |
-
"k": 41,
|
113 |
-
"i\u0259": 42,
|
114 |
-
"\u028a": 43,
|
115 |
-
"\u0251\u02d0\u0279": 44,
|
116 |
-
"\u0303": 45,
|
117 |
-
"\u026c": 46,
|
118 |
-
"u\u02d0": 47,
|
119 |
-
"a\u026a": 48,
|
120 |
-
"\u0261": 49,
|
121 |
-
"\u00e6\u00e6": 50,
|
122 |
-
"i\u02d0\u02d0": 51,
|
123 |
-
"<NOISE>": 52,
|
124 |
-
"<SIL>": 53,
|
125 |
-
"\u0259": 54,
|
126 |
"\u0292": 55,
|
127 |
-
"a\u026a\u0259": 56,
|
128 |
-
"d\u0292": 57,
|
129 |
-
"\u014b": 58,
|
130 |
"\u0294": 59,
|
131 |
-
"
|
132 |
-
"\
|
133 |
-
"\
|
134 |
-
"
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
152 |
}
|
|
|
1 |
{
|
2 |
+
"audio_embedding_dim": 2048,
|
3 |
+
"audio_embedding_dropout": 0,
|
4 |
+
"audio_max_length": 20.0,
|
5 |
+
"audio_min_length": 2.0,
|
6 |
+
"audio_pad_token": 2050,
|
7 |
+
"audio_positional_embedding_dropout": 0.1,
|
8 |
+
"audio_vocab_size": 2048,
|
|
|
9 |
"batch_size": 100,
|
10 |
+
"clipping_update_period": 1000,
|
11 |
+
"codebook_weight": "[5,1,0.5,0.1]",
|
12 |
+
"d_model": 2048,
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
"dataset": "gigaspeech",
|
14 |
"dataset_dir": "/data/scratch/pyp/datasets/gigaspeech_phn_enc_manifest/xl",
|
15 |
+
"drop_long": 1,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
"dynamic_batching": 1,
|
17 |
+
"early_stop_step": 3200,
|
18 |
+
"early_stop_threshold": -1.0,
|
19 |
+
"empty_token": 2048,
|
20 |
+
"encodec_folder_name": "encodec_16khz_4codebooks",
|
21 |
"encodec_sr": 50,
|
22 |
+
"eog": 2049,
|
|
|
|
|
23 |
"eos": 2051,
|
24 |
+
"exp_dir": "/data/scratch/pyp/exp_pyp/VoiceCraft/gigaspeech/e6",
|
25 |
+
"gradient_accumulation_steps": 26,
|
26 |
+
"gradient_clip_val": 1.0,
|
27 |
+
"load_model_from": null,
|
28 |
+
"lr": 0.05,
|
29 |
+
"manifest_name": "manifest_large16khz_lessambi",
|
30 |
+
"mask_len_max": 600,
|
31 |
+
"mask_len_min": 1,
|
32 |
+
"mask_sample_dist": "poisson1",
|
33 |
"max_mask_portion": 0.9,
|
34 |
"max_n_spans": 3,
|
35 |
+
"max_num_tokens": 100000,
|
|
|
36 |
"min_gap": 5,
|
37 |
"n_codebooks": 4,
|
38 |
+
"n_special": 4,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
"nhead": 16,
|
40 |
+
"num_buckets": 6,
|
41 |
"num_decoder_layers": 16,
|
42 |
+
"num_epochs": 10,
|
43 |
+
"num_steps": 50000,
|
44 |
+
"num_workers": 8,
|
45 |
+
"optimizer_name": "ScaledAdam",
|
46 |
+
"pad_x": 0,
|
47 |
"phn2num": {
|
48 |
+
"!": 17,
|
49 |
+
",": 64,
|
50 |
+
".": 77,
|
51 |
+
"<MUSIC>": 39,
|
52 |
+
"<NOISE>": 52,
|
53 |
+
"<OTHER>": 60,
|
54 |
+
"<SIL>": 53,
|
55 |
+
"?": 78,
|
56 |
+
"_": 15,
|
57 |
+
"a\u026a": 48,
|
58 |
+
"a\u026a\u0259": 56,
|
59 |
"a\u026a\u025a": 2,
|
60 |
+
"a\u028a": 36,
|
61 |
+
"b": 20,
|
62 |
+
"d": 72,
|
63 |
+
"d\u0292": 57,
|
64 |
"e\u026a": 6,
|
65 |
+
"f": 69,
|
66 |
+
"h": 14,
|
67 |
+
"i": 27,
|
68 |
+
"i\u0259": 42,
|
69 |
+
"i\u02d0": 68,
|
70 |
+
"i\u02d0\u02d0": 51,
|
71 |
+
"j": 67,
|
72 |
+
"k": 41,
|
73 |
+
"l": 63,
|
74 |
"m": 9,
|
75 |
+
"n": 23,
|
76 |
+
"n\u02b2": 8,
|
77 |
+
"o\u028a": 25,
|
78 |
+
"o\u02d0": 74,
|
79 |
+
"o\u02d0\u0279": 40,
|
80 |
+
"p": 34,
|
81 |
+
"r": 79,
|
82 |
+
"s": 66,
|
83 |
+
"t": 73,
|
84 |
+
"t\u0283": 75,
|
85 |
+
"u": 1,
|
86 |
+
"u\u02d0": 47,
|
87 |
+
"v": 31,
|
88 |
+
"w": 19,
|
89 |
+
"x": 4,
|
90 |
+
"z": 22,
|
91 |
+
"\u00e6": 32,
|
92 |
+
"\u00e6\u00e6": 50,
|
93 |
"\u00e7": 10,
|
94 |
+
"\u00f0": 7,
|
95 |
+
"\u014b": 58,
|
96 |
+
"\u0250": 70,
|
97 |
+
"\u0250\u0250": 71,
|
98 |
+
"\u0251": 61,
|
99 |
+
"\u0251\u02d0": 0,
|
100 |
+
"\u0251\u02d0\u0279": 44,
|
101 |
+
"\u0254": 3,
|
102 |
"\u0254\u026a": 13,
|
103 |
+
"\u0254\u02d0": 29,
|
104 |
+
"\u0254\u02d0\u0279": 33,
|
105 |
+
"\u0259": 54,
|
106 |
"\u0259l": 16,
|
107 |
+
"\u025a": 35,
|
108 |
"\u025b": 18,
|
109 |
+
"\u025b\u0279": 11,
|
|
|
110 |
"\u025c\u02d0": 21,
|
111 |
+
"\u0261": 49,
|
112 |
+
"\u0261\u02b2": 37,
|
113 |
+
"\u026a": 65,
|
114 |
+
"\u026a\u0279": 76,
|
115 |
+
"\u026c": 46,
|
116 |
+
"\u0279": 5,
|
117 |
"\u027e": 24,
|
|
|
118 |
"\u0283": 26,
|
119 |
+
"\u028a": 43,
|
120 |
"\u028a\u0279": 28,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
121 |
"\u028c": 38,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
122 |
"\u0292": 55,
|
|
|
|
|
|
|
123 |
"\u0294": 59,
|
124 |
+
"\u0303": 45,
|
125 |
+
"\u0329": 12,
|
126 |
+
"\u03b8": 30,
|
127 |
+
"\u1d7b": 62
|
128 |
+
},
|
129 |
+
"phn_folder_name": "phonemes",
|
130 |
+
"precision": "float16",
|
131 |
+
"print_every_n_steps": 400,
|
132 |
+
"pseudo_epoch_size": 3000,
|
133 |
+
"reduce_lr_start_epoch": 4,
|
134 |
+
"reduce_lr_start_step": 3000,
|
135 |
+
"reduced_eog": 1,
|
136 |
+
"resume": false,
|
137 |
+
"seed": 1,
|
138 |
+
"shuffle_mask_embedding": 0,
|
139 |
+
"special_first": 0,
|
140 |
+
"tb_write_every_n_steps": 10,
|
141 |
+
"text_embedding_dropout": 0.1,
|
142 |
+
"text_max_length": 400,
|
143 |
+
"text_min_length": 10.0,
|
144 |
+
"text_pad_token": 100,
|
145 |
+
"text_positional_embedding_dropout": 0.1,
|
146 |
+
"text_vocab_size": 100,
|
147 |
+
"trm_dropout": 0.1,
|
148 |
+
"val_every_n_steps": 1600,
|
149 |
+
"val_max_num_tokens": 6000,
|
150 |
+
"warmup_fraction": 0.01,
|
151 |
+
"weight_decay": 0.01
|
152 |
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 3358284728
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:52ae6743efb57f2895b1b2b5798df935c95d02a6ed0a52edbda3a3e27e9f6bb8
|
3 |
size 3358284728
|