ylacombe HF staff commited on
Commit
d4c7cff
1 Parent(s): 8210c26

Upload ParlerTTSForConditionalGeneration

Browse files
Files changed (3) hide show
  1. config.json +250 -0
  2. generation_config.json +8 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,250 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/fsx/yoach/tmp/artefacts/training-400M-punctuated-fixed-bins-and-names-large-v2/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-with-large-encoder/decoder",
79
+ "activation_dropout": 0.0,
80
+ "activation_function": "gelu",
81
+ "add_cross_attention": true,
82
+ "alibi": false,
83
+ "architectures": [
84
+ "ParlerTTSForCausalLM"
85
+ ],
86
+ "attention_dropout": 0.0,
87
+ "bad_words_ids": null,
88
+ "begin_suppress_tokens": null,
89
+ "bos_token_id": 1025,
90
+ "chunk_size_feed_forward": 0,
91
+ "cross_attention_hidden_size": null,
92
+ "decoder_start_token_id": null,
93
+ "diversity_penalty": 0.0,
94
+ "do_sample": false,
95
+ "dropout": 0.1,
96
+ "early_stopping": false,
97
+ "encoder_no_repeat_ngram_size": 0,
98
+ "eos_token_id": 1024,
99
+ "exponential_decay_length_penalty": null,
100
+ "ffn_dim": 4096,
101
+ "finetuning_task": null,
102
+ "fix_vocab_size_offset": false,
103
+ "forced_bos_token_id": null,
104
+ "forced_eos_token_id": null,
105
+ "hidden_size": 1024,
106
+ "id2label": {
107
+ "0": "LABEL_0",
108
+ "1": "LABEL_1"
109
+ },
110
+ "initializer_factor": 0.02,
111
+ "is_decoder": true,
112
+ "is_encoder_decoder": false,
113
+ "label2id": {
114
+ "LABEL_0": 0,
115
+ "LABEL_1": 1
116
+ },
117
+ "layerdrop": 0.0,
118
+ "length_penalty": 1.0,
119
+ "max_length": 20,
120
+ "max_position_embeddings": 4096,
121
+ "min_length": 0,
122
+ "model_type": "parler_tts_decoder",
123
+ "no_repeat_ngram_size": 0,
124
+ "num_attention_heads": 16,
125
+ "num_beam_groups": 1,
126
+ "num_beams": 1,
127
+ "num_codebooks": 9,
128
+ "num_hidden_layers": 24,
129
+ "num_return_sequences": 1,
130
+ "output_attentions": false,
131
+ "output_hidden_states": false,
132
+ "output_scores": false,
133
+ "pad_token_id": 1024,
134
+ "prefix": null,
135
+ "problem_type": null,
136
+ "pruned_heads": {},
137
+ "remove_invalid_values": false,
138
+ "repetition_penalty": 1.0,
139
+ "return_dict": true,
140
+ "return_dict_in_generate": false,
141
+ "scale_embedding": false,
142
+ "sep_token_id": null,
143
+ "suppress_tokens": null,
144
+ "task_specific_params": null,
145
+ "temperature": 1.0,
146
+ "tf_legacy_loss": false,
147
+ "tie_encoder_decoder": false,
148
+ "tie_word_embeddings": false,
149
+ "tokenizer_class": null,
150
+ "top_k": 50,
151
+ "top_p": 1.0,
152
+ "torch_dtype": "float32",
153
+ "torchscript": false,
154
+ "typical_p": 1.0,
155
+ "use_bfloat16": false,
156
+ "use_cache": true,
157
+ "vocab_size": 1088
158
+ },
159
+ "decoder_start_token_id": 1025,
160
+ "is_encoder_decoder": true,
161
+ "model_type": "parler_tts",
162
+ "pad_token_id": 1024,
163
+ "text_encoder": {
164
+ "_name_or_path": "google/flan-t5-large",
165
+ "add_cross_attention": false,
166
+ "architectures": [
167
+ "T5ForConditionalGeneration"
168
+ ],
169
+ "bad_words_ids": null,
170
+ "begin_suppress_tokens": null,
171
+ "bos_token_id": null,
172
+ "chunk_size_feed_forward": 0,
173
+ "classifier_dropout": 0.0,
174
+ "cross_attention_hidden_size": null,
175
+ "d_ff": 2816,
176
+ "d_kv": 64,
177
+ "d_model": 1024,
178
+ "decoder_start_token_id": 0,
179
+ "dense_act_fn": "gelu_new",
180
+ "diversity_penalty": 0.0,
181
+ "do_sample": false,
182
+ "dropout_rate": 0.1,
183
+ "early_stopping": false,
184
+ "encoder_no_repeat_ngram_size": 0,
185
+ "eos_token_id": 1,
186
+ "exponential_decay_length_penalty": null,
187
+ "feed_forward_proj": "gated-gelu",
188
+ "finetuning_task": null,
189
+ "forced_bos_token_id": null,
190
+ "forced_eos_token_id": null,
191
+ "id2label": {
192
+ "0": "LABEL_0",
193
+ "1": "LABEL_1"
194
+ },
195
+ "initializer_factor": 1.0,
196
+ "is_decoder": false,
197
+ "is_encoder_decoder": true,
198
+ "is_gated_act": true,
199
+ "label2id": {
200
+ "LABEL_0": 0,
201
+ "LABEL_1": 1
202
+ },
203
+ "layer_norm_epsilon": 1e-06,
204
+ "length_penalty": 1.0,
205
+ "max_length": 20,
206
+ "min_length": 0,
207
+ "model_type": "t5",
208
+ "n_positions": 512,
209
+ "no_repeat_ngram_size": 0,
210
+ "num_beam_groups": 1,
211
+ "num_beams": 1,
212
+ "num_decoder_layers": 24,
213
+ "num_heads": 16,
214
+ "num_layers": 24,
215
+ "num_return_sequences": 1,
216
+ "output_attentions": false,
217
+ "output_hidden_states": false,
218
+ "output_past": true,
219
+ "output_scores": false,
220
+ "pad_token_id": 0,
221
+ "prefix": null,
222
+ "problem_type": null,
223
+ "pruned_heads": {},
224
+ "relative_attention_max_distance": 128,
225
+ "relative_attention_num_buckets": 32,
226
+ "remove_invalid_values": false,
227
+ "repetition_penalty": 1.0,
228
+ "return_dict": true,
229
+ "return_dict_in_generate": false,
230
+ "sep_token_id": null,
231
+ "suppress_tokens": null,
232
+ "task_specific_params": null,
233
+ "temperature": 1.0,
234
+ "tf_legacy_loss": false,
235
+ "tie_encoder_decoder": false,
236
+ "tie_word_embeddings": false,
237
+ "tokenizer_class": null,
238
+ "top_k": 50,
239
+ "top_p": 1.0,
240
+ "torch_dtype": null,
241
+ "torchscript": false,
242
+ "typical_p": 1.0,
243
+ "use_bfloat16": false,
244
+ "use_cache": true,
245
+ "vocab_size": 32128
246
+ },
247
+ "torch_dtype": "float32",
248
+ "transformers_version": "4.38.2",
249
+ "vocab_size": 32128
250
+ }
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.38.2"
8
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e1b777819ec33e62ba7debf883fc50c8997e9030310e2da26ee3766344ba45d2
3
+ size 3511490560