tuskbyte commited on
Commit
d40cfbd
1 Parent(s): c4170c2

Upload model

Browse files
Files changed (3) hide show
  1. README.md +199 -0
  2. config.json +349 -0
  3. model.safetensors +3 -0
README.md ADDED
@@ -0,0 +1,199 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ tags: []
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+ This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
config.json ADDED
@@ -0,0 +1,349 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "procit001/parler-tts-mini_fbdata_M_28_T2",
3
+ "activation_dropout": 0.1,
4
+ "architectures": [
5
+ "VitsModel"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "audio_encoder": {
9
+ "_name_or_path": "ylacombe/dac_44khZ_8kbps",
10
+ "add_cross_attention": false,
11
+ "architectures": [
12
+ "DACModel"
13
+ ],
14
+ "bad_words_ids": null,
15
+ "begin_suppress_tokens": null,
16
+ "bos_token_id": null,
17
+ "chunk_size_feed_forward": 0,
18
+ "codebook_size": 1024,
19
+ "cross_attention_hidden_size": null,
20
+ "decoder_start_token_id": null,
21
+ "diversity_penalty": 0.0,
22
+ "do_sample": false,
23
+ "early_stopping": false,
24
+ "encoder_no_repeat_ngram_size": 0,
25
+ "eos_token_id": null,
26
+ "exponential_decay_length_penalty": null,
27
+ "finetuning_task": null,
28
+ "forced_bos_token_id": null,
29
+ "forced_eos_token_id": null,
30
+ "frame_rate": 86,
31
+ "id2label": {
32
+ "0": "LABEL_0",
33
+ "1": "LABEL_1"
34
+ },
35
+ "is_decoder": false,
36
+ "is_encoder_decoder": false,
37
+ "label2id": {
38
+ "LABEL_0": 0,
39
+ "LABEL_1": 1
40
+ },
41
+ "latent_dim": 1024,
42
+ "length_penalty": 1.0,
43
+ "max_length": 20,
44
+ "min_length": 0,
45
+ "model_bitrate": 8,
46
+ "model_type": "dac",
47
+ "no_repeat_ngram_size": 0,
48
+ "num_beam_groups": 1,
49
+ "num_beams": 1,
50
+ "num_codebooks": 9,
51
+ "num_return_sequences": 1,
52
+ "output_attentions": false,
53
+ "output_hidden_states": false,
54
+ "output_scores": false,
55
+ "pad_token_id": null,
56
+ "prefix": null,
57
+ "problem_type": null,
58
+ "pruned_heads": {},
59
+ "remove_invalid_values": false,
60
+ "repetition_penalty": 1.0,
61
+ "return_dict": true,
62
+ "return_dict_in_generate": false,
63
+ "sampling_rate": 44100,
64
+ "sep_token_id": null,
65
+ "suppress_tokens": null,
66
+ "task_specific_params": null,
67
+ "temperature": 1.0,
68
+ "tf_legacy_loss": false,
69
+ "tie_encoder_decoder": false,
70
+ "tie_word_embeddings": true,
71
+ "tokenizer_class": null,
72
+ "top_k": 50,
73
+ "top_p": 1.0,
74
+ "torch_dtype": "float32",
75
+ "torchscript": false,
76
+ "typical_p": 1.0,
77
+ "use_bfloat16": false
78
+ },
79
+ "decoder": {
80
+ "_name_or_path": "/fsx/yoach/tmp/artefacts/decoder_400M/",
81
+ "activation_dropout": 0.0,
82
+ "activation_function": "gelu",
83
+ "add_cross_attention": true,
84
+ "architectures": [
85
+ "ParlerTTSForCausalLM"
86
+ ],
87
+ "attention_dropout": 0.0,
88
+ "bad_words_ids": null,
89
+ "begin_suppress_tokens": null,
90
+ "bos_token_id": 1025,
91
+ "chunk_size_feed_forward": 0,
92
+ "cross_attention_hidden_size": null,
93
+ "decoder_start_token_id": null,
94
+ "diversity_penalty": 0.0,
95
+ "do_sample": false,
96
+ "dropout": 0.1,
97
+ "early_stopping": false,
98
+ "encoder_no_repeat_ngram_size": 0,
99
+ "eos_token_id": 1024,
100
+ "exponential_decay_length_penalty": null,
101
+ "ffn_dim": 4096,
102
+ "finetuning_task": null,
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
+ "depth_separable_channels": 2,
161
+ "depth_separable_num_layers": 3,
162
+ "duration_predictor_dropout": 0.5,
163
+ "duration_predictor_filter_channels": 256,
164
+ "duration_predictor_flow_bins": 10,
165
+ "duration_predictor_kernel_size": 3,
166
+ "duration_predictor_num_flows": 4,
167
+ "duration_predictor_tail_bound": 5.0,
168
+ "ffn_dim": 768,
169
+ "ffn_kernel_size": 3,
170
+ "flow_size": 192,
171
+ "hidden_act": "relu",
172
+ "hidden_dropout": 0.1,
173
+ "hidden_size": 192,
174
+ "initializer_range": 0.02,
175
+ "is_encoder_decoder": true,
176
+ "layer_norm_eps": 1e-05,
177
+ "layerdrop": 0.1,
178
+ "leaky_relu_slope": 0.1,
179
+ "model_type": "vits",
180
+ "noise_scale": 0.667,
181
+ "noise_scale_duration": 0.8,
182
+ "num_attention_heads": 2,
183
+ "num_hidden_layers": 6,
184
+ "num_speakers": 1,
185
+ "pad_token_id": 1024,
186
+ "posterior_encoder_num_wavenet_layers": 16,
187
+ "prior_encoder_num_flows": 4,
188
+ "prior_encoder_num_wavenet_layers": 4,
189
+ "resblock_dilation_sizes": [
190
+ [
191
+ 1,
192
+ 3,
193
+ 5
194
+ ],
195
+ [
196
+ 1,
197
+ 3,
198
+ 5
199
+ ],
200
+ [
201
+ 1,
202
+ 3,
203
+ 5
204
+ ]
205
+ ],
206
+ "resblock_kernel_sizes": [
207
+ 3,
208
+ 7,
209
+ 11
210
+ ],
211
+ "sampling_rate": 16000,
212
+ "speaker_embedding_size": 0,
213
+ "speaking_rate": 1.0,
214
+ "spectrogram_bins": 513,
215
+ "text_encoder": {
216
+ "_name_or_path": "google/flan-t5-base",
217
+ "add_cross_attention": false,
218
+ "architectures": [
219
+ "T5ForConditionalGeneration"
220
+ ],
221
+ "bad_words_ids": null,
222
+ "begin_suppress_tokens": null,
223
+ "bos_token_id": null,
224
+ "chunk_size_feed_forward": 0,
225
+ "classifier_dropout": 0.0,
226
+ "cross_attention_hidden_size": null,
227
+ "d_ff": 2048,
228
+ "d_kv": 64,
229
+ "d_model": 768,
230
+ "decoder_start_token_id": 0,
231
+ "dense_act_fn": "gelu_new",
232
+ "diversity_penalty": 0.0,
233
+ "do_sample": false,
234
+ "dropout_rate": 0.1,
235
+ "early_stopping": false,
236
+ "encoder_no_repeat_ngram_size": 0,
237
+ "eos_token_id": 1,
238
+ "exponential_decay_length_penalty": null,
239
+ "feed_forward_proj": "gated-gelu",
240
+ "finetuning_task": null,
241
+ "forced_bos_token_id": null,
242
+ "forced_eos_token_id": null,
243
+ "id2label": {
244
+ "0": "LABEL_0",
245
+ "1": "LABEL_1"
246
+ },
247
+ "initializer_factor": 1.0,
248
+ "is_decoder": false,
249
+ "is_encoder_decoder": true,
250
+ "is_gated_act": true,
251
+ "label2id": {
252
+ "LABEL_0": 0,
253
+ "LABEL_1": 1
254
+ },
255
+ "layer_norm_epsilon": 1e-06,
256
+ "length_penalty": 1.0,
257
+ "max_length": 20,
258
+ "min_length": 0,
259
+ "model_type": "t5",
260
+ "n_positions": 512,
261
+ "no_repeat_ngram_size": 0,
262
+ "num_beam_groups": 1,
263
+ "num_beams": 1,
264
+ "num_decoder_layers": 12,
265
+ "num_heads": 12,
266
+ "num_layers": 12,
267
+ "num_return_sequences": 1,
268
+ "output_attentions": false,
269
+ "output_hidden_states": false,
270
+ "output_past": true,
271
+ "output_scores": false,
272
+ "pad_token_id": 0,
273
+ "prefix": null,
274
+ "problem_type": null,
275
+ "pruned_heads": {},
276
+ "relative_attention_max_distance": 128,
277
+ "relative_attention_num_buckets": 32,
278
+ "remove_invalid_values": false,
279
+ "repetition_penalty": 1.0,
280
+ "return_dict": true,
281
+ "return_dict_in_generate": false,
282
+ "sep_token_id": null,
283
+ "suppress_tokens": null,
284
+ "task_specific_params": {
285
+ "summarization": {
286
+ "early_stopping": true,
287
+ "length_penalty": 2.0,
288
+ "max_length": 200,
289
+ "min_length": 30,
290
+ "no_repeat_ngram_size": 3,
291
+ "num_beams": 4,
292
+ "prefix": "summarize: "
293
+ },
294
+ "translation_en_to_de": {
295
+ "early_stopping": true,
296
+ "max_length": 300,
297
+ "num_beams": 4,
298
+ "prefix": "translate English to German: "
299
+ },
300
+ "translation_en_to_fr": {
301
+ "early_stopping": true,
302
+ "max_length": 300,
303
+ "num_beams": 4,
304
+ "prefix": "translate English to French: "
305
+ },
306
+ "translation_en_to_ro": {
307
+ "early_stopping": true,
308
+ "max_length": 300,
309
+ "num_beams": 4,
310
+ "prefix": "translate English to Romanian: "
311
+ }
312
+ },
313
+ "temperature": 1.0,
314
+ "tf_legacy_loss": false,
315
+ "tie_encoder_decoder": false,
316
+ "tie_word_embeddings": false,
317
+ "tokenizer_class": null,
318
+ "top_k": 50,
319
+ "top_p": 1.0,
320
+ "torch_dtype": null,
321
+ "torchscript": false,
322
+ "typical_p": 1.0,
323
+ "use_bfloat16": false,
324
+ "use_cache": true,
325
+ "vocab_size": 32128
326
+ },
327
+ "torch_dtype": "float32",
328
+ "transformers_version": "4.41.2",
329
+ "upsample_initial_channel": 512,
330
+ "upsample_kernel_sizes": [
331
+ 16,
332
+ 16,
333
+ 4,
334
+ 4
335
+ ],
336
+ "upsample_rates": [
337
+ 8,
338
+ 8,
339
+ 2,
340
+ 2
341
+ ],
342
+ "use_bias": true,
343
+ "use_stochastic_duration_prediction": true,
344
+ "vocab_size": 32128,
345
+ "wavenet_dilation_rate": 1,
346
+ "wavenet_dropout": 0.0,
347
+ "wavenet_kernel_size": 5,
348
+ "window_size": 4
349
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78a9e944dbe939a99a0d1d87e134983be9a03199665d2ad7bcb44a349f37b236
3
+ size 169875840