TieIncred commited on
Commit
cd874ca
·
verified ·
1 Parent(s): f8ef711

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,276 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "parler-tts/parler-tts-mini-v1.1",
3
+ "architectures": [
4
+ "ParlerTTSForConditionalGeneration"
5
+ ],
6
+ "audio_encoder": {
7
+ "_attn_implementation_autoset": false,
8
+ "_name_or_path": "ylacombe/dac_44khz",
9
+ "add_cross_attention": false,
10
+ "architectures": [
11
+ "DacModel"
12
+ ],
13
+ "bad_words_ids": null,
14
+ "begin_suppress_tokens": null,
15
+ "bos_token_id": null,
16
+ "chunk_size_feed_forward": 0,
17
+ "codebook_dim": 8,
18
+ "codebook_loss_weight": 1.0,
19
+ "codebook_size": 1024,
20
+ "commitment_loss_weight": 0.25,
21
+ "cross_attention_hidden_size": null,
22
+ "decoder_hidden_size": 1536,
23
+ "decoder_start_token_id": null,
24
+ "diversity_penalty": 0.0,
25
+ "do_sample": false,
26
+ "downsampling_ratios": [
27
+ 2,
28
+ 4,
29
+ 8,
30
+ 8
31
+ ],
32
+ "early_stopping": false,
33
+ "encoder_hidden_size": 64,
34
+ "encoder_no_repeat_ngram_size": 0,
35
+ "eos_token_id": null,
36
+ "exponential_decay_length_penalty": null,
37
+ "finetuning_task": null,
38
+ "forced_bos_token_id": null,
39
+ "forced_eos_token_id": null,
40
+ "hidden_size": 1024,
41
+ "hop_length": 512,
42
+ "id2label": {
43
+ "0": "LABEL_0",
44
+ "1": "LABEL_1"
45
+ },
46
+ "is_decoder": false,
47
+ "is_encoder_decoder": false,
48
+ "label2id": {
49
+ "LABEL_0": 0,
50
+ "LABEL_1": 1
51
+ },
52
+ "length_penalty": 1.0,
53
+ "max_length": 20,
54
+ "min_length": 0,
55
+ "model_type": "dac",
56
+ "n_codebooks": 9,
57
+ "no_repeat_ngram_size": 0,
58
+ "num_beam_groups": 1,
59
+ "num_beams": 1,
60
+ "num_return_sequences": 1,
61
+ "output_attentions": false,
62
+ "output_hidden_states": false,
63
+ "output_scores": false,
64
+ "pad_token_id": null,
65
+ "prefix": null,
66
+ "problem_type": null,
67
+ "pruned_heads": {},
68
+ "quantizer_dropout": 0.0,
69
+ "remove_invalid_values": false,
70
+ "repetition_penalty": 1.0,
71
+ "return_dict": true,
72
+ "return_dict_in_generate": false,
73
+ "sampling_rate": 44100,
74
+ "sep_token_id": null,
75
+ "suppress_tokens": null,
76
+ "task_specific_params": null,
77
+ "temperature": 1.0,
78
+ "tf_legacy_loss": false,
79
+ "tie_encoder_decoder": false,
80
+ "tie_word_embeddings": true,
81
+ "tokenizer_class": null,
82
+ "top_k": 50,
83
+ "top_p": 1.0,
84
+ "torch_dtype": "float32",
85
+ "torchscript": false,
86
+ "typical_p": 1.0,
87
+ "upsampling_ratios": [
88
+ 8,
89
+ 8,
90
+ 4,
91
+ 2
92
+ ],
93
+ "use_bfloat16": false
94
+ },
95
+ "decoder": {
96
+ "_attn_implementation_autoset": false,
97
+ "_name_or_path": "/fsx/yoach/tmp/artefacts/parler-tts-mini-v2-empty/decoder",
98
+ "activation_dropout": 0.0,
99
+ "activation_function": "gelu",
100
+ "add_cross_attention": true,
101
+ "architectures": [
102
+ "ParlerTTSForCausalLM"
103
+ ],
104
+ "attention_dropout": 0.0,
105
+ "bad_words_ids": null,
106
+ "begin_suppress_tokens": null,
107
+ "bos_token_id": 1025,
108
+ "chunk_size_feed_forward": 0,
109
+ "codebook_weights": null,
110
+ "cross_attention_hidden_size": null,
111
+ "cross_attention_implementation_strategy": null,
112
+ "decoder_start_token_id": null,
113
+ "diversity_penalty": 0.0,
114
+ "do_sample": false,
115
+ "dropout": 0.1,
116
+ "early_stopping": false,
117
+ "encoder_no_repeat_ngram_size": 0,
118
+ "eos_token_id": 1024,
119
+ "exponential_decay_length_penalty": null,
120
+ "ffn_dim": 4096,
121
+ "finetuning_task": null,
122
+ "forced_bos_token_id": null,
123
+ "forced_eos_token_id": null,
124
+ "hidden_size": 1024,
125
+ "id2label": {
126
+ "0": "LABEL_0",
127
+ "1": "LABEL_1"
128
+ },
129
+ "initializer_factor": 0.02,
130
+ "is_decoder": true,
131
+ "is_encoder_decoder": false,
132
+ "label2id": {
133
+ "LABEL_0": 0,
134
+ "LABEL_1": 1
135
+ },
136
+ "layerdrop": 0.0,
137
+ "length_penalty": 1.0,
138
+ "max_length": 20,
139
+ "max_position_embeddings": 4096,
140
+ "min_length": 0,
141
+ "model_type": "parler_tts_decoder",
142
+ "no_repeat_ngram_size": 0,
143
+ "num_attention_heads": 16,
144
+ "num_beam_groups": 1,
145
+ "num_beams": 1,
146
+ "num_codebooks": 9,
147
+ "num_cross_attention_key_value_heads": 16,
148
+ "num_hidden_layers": 24,
149
+ "num_key_value_heads": 16,
150
+ "num_return_sequences": 1,
151
+ "output_attentions": false,
152
+ "output_hidden_states": false,
153
+ "output_scores": false,
154
+ "pad_token_id": 1024,
155
+ "prefix": null,
156
+ "problem_type": null,
157
+ "pruned_heads": {},
158
+ "remove_invalid_values": false,
159
+ "repetition_penalty": 1.0,
160
+ "return_dict": true,
161
+ "return_dict_in_generate": false,
162
+ "rope_embeddings": false,
163
+ "rope_theta": 10000.0,
164
+ "scale_embedding": false,
165
+ "sep_token_id": null,
166
+ "suppress_tokens": null,
167
+ "task_specific_params": null,
168
+ "temperature": 1.0,
169
+ "tf_legacy_loss": false,
170
+ "tie_encoder_decoder": false,
171
+ "tie_word_embeddings": false,
172
+ "tokenizer_class": null,
173
+ "top_k": 50,
174
+ "top_p": 1.0,
175
+ "torch_dtype": "float32",
176
+ "torchscript": false,
177
+ "typical_p": 1.0,
178
+ "use_bfloat16": false,
179
+ "use_cache": true,
180
+ "use_fused_lm_heads": true,
181
+ "vocab_size": 1088
182
+ },
183
+ "decoder_start_token_id": 1025,
184
+ "is_encoder_decoder": true,
185
+ "model_type": "parler_tts",
186
+ "pad_token_id": 1024,
187
+ "prompt_cross_attention": false,
188
+ "text_encoder": {
189
+ "_attn_implementation_autoset": false,
190
+ "_name_or_path": "google/flan-t5-large",
191
+ "add_cross_attention": false,
192
+ "architectures": [
193
+ "T5ForConditionalGeneration"
194
+ ],
195
+ "bad_words_ids": null,
196
+ "begin_suppress_tokens": null,
197
+ "bos_token_id": null,
198
+ "chunk_size_feed_forward": 0,
199
+ "classifier_dropout": 0.0,
200
+ "cross_attention_hidden_size": null,
201
+ "d_ff": 2816,
202
+ "d_kv": 64,
203
+ "d_model": 1024,
204
+ "decoder_start_token_id": 0,
205
+ "dense_act_fn": "gelu_new",
206
+ "diversity_penalty": 0.0,
207
+ "do_sample": false,
208
+ "dropout_rate": 0.1,
209
+ "early_stopping": false,
210
+ "encoder_no_repeat_ngram_size": 0,
211
+ "eos_token_id": 1,
212
+ "exponential_decay_length_penalty": null,
213
+ "feed_forward_proj": "gated-gelu",
214
+ "finetuning_task": null,
215
+ "forced_bos_token_id": null,
216
+ "forced_eos_token_id": null,
217
+ "id2label": {
218
+ "0": "LABEL_0",
219
+ "1": "LABEL_1"
220
+ },
221
+ "initializer_factor": 1.0,
222
+ "is_decoder": false,
223
+ "is_encoder_decoder": true,
224
+ "is_gated_act": true,
225
+ "label2id": {
226
+ "LABEL_0": 0,
227
+ "LABEL_1": 1
228
+ },
229
+ "layer_norm_epsilon": 1e-06,
230
+ "length_penalty": 1.0,
231
+ "max_length": 20,
232
+ "min_length": 0,
233
+ "model_type": "t5",
234
+ "n_positions": 512,
235
+ "no_repeat_ngram_size": 0,
236
+ "num_beam_groups": 1,
237
+ "num_beams": 1,
238
+ "num_decoder_layers": 24,
239
+ "num_heads": 16,
240
+ "num_layers": 24,
241
+ "num_return_sequences": 1,
242
+ "output_attentions": false,
243
+ "output_hidden_states": false,
244
+ "output_past": true,
245
+ "output_scores": false,
246
+ "pad_token_id": 0,
247
+ "prefix": null,
248
+ "problem_type": null,
249
+ "pruned_heads": {},
250
+ "relative_attention_max_distance": 128,
251
+ "relative_attention_num_buckets": 32,
252
+ "remove_invalid_values": false,
253
+ "repetition_penalty": 1.0,
254
+ "return_dict": true,
255
+ "return_dict_in_generate": false,
256
+ "sep_token_id": null,
257
+ "suppress_tokens": null,
258
+ "task_specific_params": null,
259
+ "temperature": 1.0,
260
+ "tf_legacy_loss": false,
261
+ "tie_encoder_decoder": false,
262
+ "tie_word_embeddings": false,
263
+ "tokenizer_class": null,
264
+ "top_k": 50,
265
+ "top_p": 1.0,
266
+ "torch_dtype": null,
267
+ "torchscript": false,
268
+ "typical_p": 1.0,
269
+ "use_bfloat16": false,
270
+ "use_cache": true,
271
+ "vocab_size": 32128
272
+ },
273
+ "torch_dtype": "float32",
274
+ "transformers_version": "4.46.1",
275
+ "vocab_size": 90714
276
+ }
generation_config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1025,
4
+ "decoder_start_token_id": 1025,
5
+ "do_sample": true,
6
+ "eos_token_id": 1024,
7
+ "max_length": 2610,
8
+ "pad_token_id": 1024,
9
+ "transformers_version": "4.46.1"
10
+ }
model-001.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e8b5705c2bc08ad931071b4c5b2ddfc37550829078e9b8ddf4eb50dfdd82657
3
+ size 3751321772
preprocessor_config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "chunk_length_s": null,
3
+ "feature_extractor_type": "EncodecFeatureExtractor",
4
+ "feature_size": 1,
5
+ "overlap": null,
6
+ "padding_side": "right",
7
+ "padding_value": 0.0,
8
+ "return_attention_mask": true,
9
+ "sampling_rate": 44100
10
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<unk>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<unk>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc8fa773221597d09cfadb23a2b1bd717488a0481505469ea56d42cb044de9b5
3
+ size 1795391
tokenizer_config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": true,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<unk>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "</s>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ }
30
+ },
31
+ "bos_token": "<s>",
32
+ "clean_up_tokenization_spaces": false,
33
+ "eos_token": "</s>",
34
+ "legacy": false,
35
+ "model_max_length": 1000000000000000019884624838656,
36
+ "pad_token": "<unk>",
37
+ "padding_side": "left",
38
+ "sp_model_kwargs": {},
39
+ "spaces_between_special_tokens": false,
40
+ "tokenizer_class": "LlamaTokenizer",
41
+ "unk_token": "<unk>",
42
+ "use_default_system_prompt": false
43
+ }