ylacombe commited on
Commit
60607a0
1 Parent(s): 651827c

Upload ParlerTTSForConditionalGeneration

Browse files
config.json ADDED
@@ -0,0 +1,249 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/fsx/yoach/tmp/artefacts/training-v01-large-MHA/checkpoint-90000-epoch-6/",
3
+ "architectures": [
4
+ "ParlerTTSForConditionalGeneration"
5
+ ],
6
+ "audio_encoder": {
7
+ "_name_or_path": "parler-tts/dac_44khZ_8kbps",
8
+ "add_cross_attention": false,
9
+ "architectures": [
10
+ "DACModel"
11
+ ],
12
+ "bad_words_ids": null,
13
+ "begin_suppress_tokens": null,
14
+ "bos_token_id": null,
15
+ "chunk_size_feed_forward": 0,
16
+ "codebook_size": 1024,
17
+ "cross_attention_hidden_size": null,
18
+ "decoder_start_token_id": null,
19
+ "diversity_penalty": 0.0,
20
+ "do_sample": false,
21
+ "early_stopping": false,
22
+ "encoder_no_repeat_ngram_size": 0,
23
+ "eos_token_id": null,
24
+ "exponential_decay_length_penalty": null,
25
+ "finetuning_task": null,
26
+ "forced_bos_token_id": null,
27
+ "forced_eos_token_id": null,
28
+ "frame_rate": 86,
29
+ "id2label": {
30
+ "0": "LABEL_0",
31
+ "1": "LABEL_1"
32
+ },
33
+ "is_decoder": false,
34
+ "is_encoder_decoder": false,
35
+ "label2id": {
36
+ "LABEL_0": 0,
37
+ "LABEL_1": 1
38
+ },
39
+ "latent_dim": 1024,
40
+ "length_penalty": 1.0,
41
+ "max_length": 20,
42
+ "min_length": 0,
43
+ "model_bitrate": 8,
44
+ "model_type": "dac",
45
+ "no_repeat_ngram_size": 0,
46
+ "num_beam_groups": 1,
47
+ "num_beams": 1,
48
+ "num_codebooks": 9,
49
+ "num_return_sequences": 1,
50
+ "output_attentions": false,
51
+ "output_hidden_states": false,
52
+ "output_scores": false,
53
+ "pad_token_id": null,
54
+ "prefix": null,
55
+ "problem_type": null,
56
+ "pruned_heads": {},
57
+ "remove_invalid_values": false,
58
+ "repetition_penalty": 1.0,
59
+ "return_dict": true,
60
+ "return_dict_in_generate": false,
61
+ "sampling_rate": 44100,
62
+ "sep_token_id": null,
63
+ "suppress_tokens": null,
64
+ "task_specific_params": null,
65
+ "temperature": 1.0,
66
+ "tf_legacy_loss": false,
67
+ "tie_encoder_decoder": false,
68
+ "tie_word_embeddings": true,
69
+ "tokenizer_class": null,
70
+ "top_k": 50,
71
+ "top_p": 1.0,
72
+ "torch_dtype": "float32",
73
+ "torchscript": false,
74
+ "typical_p": 1.0,
75
+ "use_bfloat16": false
76
+ },
77
+ "decoder": {
78
+ "_name_or_path": "/fsx/yoach/tmp/artefacts/parler-tts-untrained-mha/decoder",
79
+ "activation_dropout": 0.0,
80
+ "activation_function": "gelu",
81
+ "add_cross_attention": true,
82
+ "architectures": [
83
+ "ParlerTTSForCausalLM"
84
+ ],
85
+ "attention_dropout": 0.0,
86
+ "bad_words_ids": null,
87
+ "begin_suppress_tokens": null,
88
+ "bos_token_id": 1025,
89
+ "chunk_size_feed_forward": 0,
90
+ "cross_attention_hidden_size": null,
91
+ "decoder_start_token_id": null,
92
+ "diversity_penalty": 0.0,
93
+ "do_sample": false,
94
+ "dropout": 0.1,
95
+ "early_stopping": false,
96
+ "encoder_no_repeat_ngram_size": 0,
97
+ "eos_token_id": 1024,
98
+ "exponential_decay_length_penalty": null,
99
+ "ffn_dim": 6144,
100
+ "finetuning_task": null,
101
+ "forced_bos_token_id": null,
102
+ "forced_eos_token_id": null,
103
+ "hidden_size": 1536,
104
+ "id2label": {
105
+ "0": "LABEL_0",
106
+ "1": "LABEL_1"
107
+ },
108
+ "initializer_factor": 0.02,
109
+ "is_decoder": true,
110
+ "is_encoder_decoder": false,
111
+ "label2id": {
112
+ "LABEL_0": 0,
113
+ "LABEL_1": 1
114
+ },
115
+ "layerdrop": 0.0,
116
+ "length_penalty": 1.0,
117
+ "max_length": 20,
118
+ "max_position_embeddings": 4096,
119
+ "min_length": 0,
120
+ "model_type": "parler_tts_decoder",
121
+ "no_repeat_ngram_size": 0,
122
+ "num_attention_heads": 24,
123
+ "num_beam_groups": 1,
124
+ "num_beams": 1,
125
+ "num_codebooks": 9,
126
+ "num_hidden_layers": 30,
127
+ "num_key_value_heads": 24,
128
+ "num_return_sequences": 1,
129
+ "output_attentions": false,
130
+ "output_hidden_states": false,
131
+ "output_scores": false,
132
+ "pad_token_id": 1024,
133
+ "prefix": null,
134
+ "problem_type": null,
135
+ "pruned_heads": {},
136
+ "remove_invalid_values": false,
137
+ "repetition_penalty": 1.0,
138
+ "return_dict": true,
139
+ "return_dict_in_generate": false,
140
+ "scale_embedding": false,
141
+ "sep_token_id": null,
142
+ "suppress_tokens": null,
143
+ "task_specific_params": null,
144
+ "temperature": 1.0,
145
+ "tf_legacy_loss": false,
146
+ "tie_encoder_decoder": false,
147
+ "tie_word_embeddings": false,
148
+ "tokenizer_class": null,
149
+ "top_k": 50,
150
+ "top_p": 1.0,
151
+ "torch_dtype": "float32",
152
+ "torchscript": false,
153
+ "typical_p": 1.0,
154
+ "use_bfloat16": false,
155
+ "use_cache": true,
156
+ "vocab_size": 1088
157
+ },
158
+ "decoder_start_token_id": 1025,
159
+ "is_encoder_decoder": true,
160
+ "model_type": "parler_tts",
161
+ "pad_token_id": 1024,
162
+ "text_encoder": {
163
+ "_name_or_path": "google/flan-t5-large",
164
+ "add_cross_attention": false,
165
+ "architectures": [
166
+ "T5ForConditionalGeneration"
167
+ ],
168
+ "bad_words_ids": null,
169
+ "begin_suppress_tokens": null,
170
+ "bos_token_id": null,
171
+ "chunk_size_feed_forward": 0,
172
+ "classifier_dropout": 0.0,
173
+ "cross_attention_hidden_size": null,
174
+ "d_ff": 2816,
175
+ "d_kv": 64,
176
+ "d_model": 1024,
177
+ "decoder_start_token_id": 0,
178
+ "dense_act_fn": "gelu_new",
179
+ "diversity_penalty": 0.0,
180
+ "do_sample": false,
181
+ "dropout_rate": 0.1,
182
+ "early_stopping": false,
183
+ "encoder_no_repeat_ngram_size": 0,
184
+ "eos_token_id": 1,
185
+ "exponential_decay_length_penalty": null,
186
+ "feed_forward_proj": "gated-gelu",
187
+ "finetuning_task": null,
188
+ "forced_bos_token_id": null,
189
+ "forced_eos_token_id": null,
190
+ "id2label": {
191
+ "0": "LABEL_0",
192
+ "1": "LABEL_1"
193
+ },
194
+ "initializer_factor": 1.0,
195
+ "is_decoder": false,
196
+ "is_encoder_decoder": true,
197
+ "is_gated_act": true,
198
+ "label2id": {
199
+ "LABEL_0": 0,
200
+ "LABEL_1": 1
201
+ },
202
+ "layer_norm_epsilon": 1e-06,
203
+ "length_penalty": 1.0,
204
+ "max_length": 20,
205
+ "min_length": 0,
206
+ "model_type": "t5",
207
+ "n_positions": 512,
208
+ "no_repeat_ngram_size": 0,
209
+ "num_beam_groups": 1,
210
+ "num_beams": 1,
211
+ "num_decoder_layers": 24,
212
+ "num_heads": 16,
213
+ "num_layers": 24,
214
+ "num_return_sequences": 1,
215
+ "output_attentions": false,
216
+ "output_hidden_states": false,
217
+ "output_past": true,
218
+ "output_scores": false,
219
+ "pad_token_id": 0,
220
+ "prefix": null,
221
+ "problem_type": null,
222
+ "pruned_heads": {},
223
+ "relative_attention_max_distance": 128,
224
+ "relative_attention_num_buckets": 32,
225
+ "remove_invalid_values": false,
226
+ "repetition_penalty": 1.0,
227
+ "return_dict": true,
228
+ "return_dict_in_generate": false,
229
+ "sep_token_id": null,
230
+ "suppress_tokens": null,
231
+ "task_specific_params": null,
232
+ "temperature": 1.0,
233
+ "tf_legacy_loss": false,
234
+ "tie_encoder_decoder": false,
235
+ "tie_word_embeddings": false,
236
+ "tokenizer_class": null,
237
+ "top_k": 50,
238
+ "top_p": 1.0,
239
+ "torch_dtype": null,
240
+ "torchscript": false,
241
+ "typical_p": 1.0,
242
+ "use_bfloat16": false,
243
+ "use_cache": true,
244
+ "vocab_size": 32128
245
+ },
246
+ "torch_dtype": "float32",
247
+ "transformers_version": "4.40.2",
248
+ "vocab_size": 32128
249
+ }
generation_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1025,
4
+ "decoder_start_token_id": 1025,
5
+ "eos_token_id": 1024,
6
+ "pad_token_id": 1024,
7
+ "transformers_version": "4.40.2"
8
+ }
model-00001-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b808fc2e6b7bbdf0e427b0139cc4a91719179f32f4e69f42a6f89bb93a6575d
3
+ size 4994770904
model-00002-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3288185c4ae01c6876b808f75901fa3d662b322d855ac8b5d1edeb48a3041312
3
+ size 1557099032
model.safetensors.index.json ADDED
The diff for this file is too large to render. See raw diff