pyp1 commited on
Commit
6e4b611
1 Parent(s): 2eb4716

Push model using huggingface_hub.

Browse files
Files changed (3) hide show
  1. README.md +12 -0
  2. config.json +123 -123
  3. 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
- "seed": 1,
3
- "precision": "float16",
4
- "num_workers": 8,
5
- "resume": false,
6
- "tb_write_every_n_steps": 10,
7
- "print_every_n_steps": 400,
8
- "val_every_n_steps": 1600,
9
- "lr": 0.05,
10
  "batch_size": 100,
11
- "weight_decay": 0.01,
12
- "warmup_fraction": 0.01,
13
- "num_epochs": 10,
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
- "pseudo_epoch_size": 3000,
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
- "audio_max_length": 20.0,
32
- "audio_min_length": 2.0,
33
- "text_max_length": 400,
34
- "text_min_length": 10.0,
35
  "encodec_sr": 50,
36
- "mask_len_min": 1,
37
- "mask_len_max": 600,
38
- "drop_long": 1,
39
  "eos": 2051,
40
- "reduced_eog": 1,
41
- "special_first": 0,
42
- "n_special": 4,
43
- "codebook_weight": "[5,1,0.5,0.1]",
44
- "empty_token": 2048,
45
- "optimizer_name": "ScaledAdam",
46
- "reduce_lr_start_step": 3000,
47
- "reduce_lr_start_epoch": 4,
48
- "clipping_update_period": 1000,
49
  "max_mask_portion": 0.9,
50
  "max_n_spans": 3,
51
- "shuffle_mask_embedding": 0,
52
- "mask_sample_dist": "poisson1",
53
  "min_gap": 5,
54
  "n_codebooks": 4,
55
- "text_vocab_size": 100,
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
- "load_model_from": null,
 
 
 
 
70
  "phn2num": {
71
- "\u0251\u02d0": 0,
72
- "u": 1,
 
 
 
 
 
 
 
 
 
73
  "a\u026a\u025a": 2,
74
- "\u0254": 3,
75
- "x": 4,
76
- "\u0279": 5,
 
77
  "e\u026a": 6,
78
- "\u00f0": 7,
79
- "n\u02b2": 8,
 
 
 
 
 
 
 
80
  "m": 9,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
  "\u00e7": 10,
82
- "\u025b\u0279": 11,
83
- "\u0329": 12,
 
 
 
 
 
 
84
  "\u0254\u026a": 13,
85
- "h": 14,
86
- "_": 15,
 
87
  "\u0259l": 16,
88
- "!": 17,
89
  "\u025b": 18,
90
- "w": 19,
91
- "b": 20,
92
  "\u025c\u02d0": 21,
93
- "z": 22,
94
- "n": 23,
 
 
 
 
95
  "\u027e": 24,
96
- "o\u028a": 25,
97
  "\u0283": 26,
98
- "i": 27,
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
- "<OTHER>": 60,
132
- "\u0251": 61,
133
- "\u1d7b": 62,
134
- "l": 63,
135
- ",": 64,
136
- "\u026a": 65,
137
- "s": 66,
138
- "j": 67,
139
- "i\u02d0": 68,
140
- "f": 69,
141
- "\u0250": 70,
142
- "\u0250\u0250": 71,
143
- "d": 72,
144
- "t": 73,
145
- "o\u02d0": 74,
146
- "t\u0283": 75,
147
- "\u026a\u0279": 76,
148
- ".": 77,
149
- "?": 78,
150
- "r": 79
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:6abd0b711f8be1d710647f6cb656126493e08b5b4aebd9e30ac4690e9d49213f
3
  size 3358284728
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:52ae6743efb57f2895b1b2b5798df935c95d02a6ed0a52edbda3a3e27e9f6bb8
3
  size 3358284728