Happenmasss commited on
Commit
62d2bfc
1 Parent(s): 7832464

init safatensor

Browse files
Files changed (3) hide show
  1. config.json +259 -0
  2. generation_config.json +9 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,259 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "output_dir_training_multi_task/fit-train",
3
+ "architectures": [
4
+ "ParlerTTSForConditionalGeneration"
5
+ ],
6
+ "audio_encoder": {
7
+ "_name_or_path": "ylacombe/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_rates": [
19
+ 8,
20
+ 8,
21
+ 4,
22
+ 2
23
+ ],
24
+ "decoder_start_token_id": null,
25
+ "diversity_penalty": 0.0,
26
+ "do_sample": false,
27
+ "early_stopping": false,
28
+ "encoder_no_repeat_ngram_size": 0,
29
+ "encoder_rates": [
30
+ 2,
31
+ 4,
32
+ 8,
33
+ 8
34
+ ],
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
+ "frame_rate": 86,
41
+ "id2label": {
42
+ "0": "LABEL_0",
43
+ "1": "LABEL_1"
44
+ },
45
+ "is_decoder": false,
46
+ "is_encoder_decoder": false,
47
+ "label2id": {
48
+ "LABEL_0": 0,
49
+ "LABEL_1": 1
50
+ },
51
+ "latent_dim": 1024,
52
+ "length_penalty": 1.0,
53
+ "max_length": 20,
54
+ "min_length": 0,
55
+ "model_bitrate": 8,
56
+ "model_type": "dac",
57
+ "no_repeat_ngram_size": 0,
58
+ "num_beam_groups": 1,
59
+ "num_beams": 1,
60
+ "num_codebooks": 9,
61
+ "num_return_sequences": 1,
62
+ "output_attentions": false,
63
+ "output_hidden_states": false,
64
+ "output_scores": false,
65
+ "pad_token_id": null,
66
+ "prefix": null,
67
+ "problem_type": null,
68
+ "pruned_heads": {},
69
+ "remove_invalid_values": false,
70
+ "repetition_penalty": 1.0,
71
+ "return_dict": true,
72
+ "return_dict_in_generate": false,
73
+ "sampling_rate": 16000,
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
+ "use_bfloat16": false
88
+ },
89
+ "decoder": {
90
+ "_name_or_path": "",
91
+ "activation_dropout": 0.0,
92
+ "activation_function": "gelu",
93
+ "add_cross_attention": false,
94
+ "architectures": [
95
+ "Qwen2ForCausalLM"
96
+ ],
97
+ "attention_dropout": 0.0,
98
+ "bad_words_ids": null,
99
+ "begin_suppress_tokens": null,
100
+ "bos_token_id": 1025,
101
+ "chunk_size_feed_forward": 0,
102
+ "cross_attention_hidden_size": null,
103
+ "decoder_start_token_id": null,
104
+ "diversity_penalty": 0.0,
105
+ "do_sample": false,
106
+ "dropout": 0.1,
107
+ "early_stopping": false,
108
+ "encoder_no_repeat_ngram_size": 0,
109
+ "eos_token_id": 1024,
110
+ "exponential_decay_length_penalty": null,
111
+ "ffn_dim": 4096,
112
+ "finetuning_task": null,
113
+ "forced_bos_token_id": null,
114
+ "forced_eos_token_id": null,
115
+ "hidden_act": "silu",
116
+ "hidden_size": 1536,
117
+ "id2label": {
118
+ "0": "LABEL_0",
119
+ "1": "LABEL_1"
120
+ },
121
+ "initializer_factor": 0.02,
122
+ "initializer_range": 0.02,
123
+ "intermediate_size": 8960,
124
+ "is_decoder": true,
125
+ "is_encoder_decoder": false,
126
+ "label2id": {
127
+ "LABEL_0": 0,
128
+ "LABEL_1": 1
129
+ },
130
+ "layerdrop": 0.0,
131
+ "length_penalty": 1.0,
132
+ "max_length": 20,
133
+ "max_position_embeddings": 131072,
134
+ "max_window_layers": 28,
135
+ "min_length": 0,
136
+ "model_type": "parler_tts_decoder",
137
+ "no_repeat_ngram_size": 0,
138
+ "num_attention_heads": 12,
139
+ "num_beam_groups": 1,
140
+ "num_beams": 1,
141
+ "num_codebooks": 9,
142
+ "num_hidden_layers": 28,
143
+ "num_key_value_heads": 2,
144
+ "num_return_sequences": 1,
145
+ "output_attentions": false,
146
+ "output_hidden_states": false,
147
+ "output_scores": false,
148
+ "pad_token_id": 1024,
149
+ "prefix": null,
150
+ "problem_type": null,
151
+ "prompt_vocab_size": 153824,
152
+ "pruned_heads": {},
153
+ "remove_invalid_values": false,
154
+ "repetition_penalty": 1.0,
155
+ "return_dict": true,
156
+ "return_dict_in_generate": false,
157
+ "rms_norm_eps": 1e-06,
158
+ "rope_theta": 1000000.0,
159
+ "scale_embedding": false,
160
+ "sep_token_id": null,
161
+ "sliding_window": 131072,
162
+ "suppress_tokens": null,
163
+ "task_specific_params": null,
164
+ "temperature": 1.0,
165
+ "tf_legacy_loss": false,
166
+ "tie_encoder_decoder": false,
167
+ "tie_word_embeddings": false,
168
+ "tokenizer_class": null,
169
+ "top_k": 50,
170
+ "top_p": 1.0,
171
+ "torch_dtype": "bfloat16",
172
+ "torchscript": false,
173
+ "typical_p": 1.0,
174
+ "use_bfloat16": false,
175
+ "use_cache": false,
176
+ "use_sliding_window": false,
177
+ "vocab_size": 1088
178
+ },
179
+ "decoder_start_token_id": 1025,
180
+ "model_type": "parler_tts",
181
+ "pad_token_id": 1024,
182
+ "speaker_encoder": {
183
+ "_name_or_path": "speech_eres2net_sv_zh-cn_16k-common",
184
+ "add_cross_attention": false,
185
+ "architectures": [
186
+ "SpeakerRecERes2Net"
187
+ ],
188
+ "bad_words_ids": null,
189
+ "begin_suppress_tokens": null,
190
+ "bos_token_id": null,
191
+ "chunk_size_feed_forward": 0,
192
+ "config_str": "batchnorm-relu",
193
+ "cross_attention_hidden_size": null,
194
+ "decoder_start_token_id": null,
195
+ "diversity_penalty": 0.0,
196
+ "do_sample": false,
197
+ "early_stopping": false,
198
+ "embedding_size": 192,
199
+ "encoder_no_repeat_ngram_size": 0,
200
+ "eos_token_id": null,
201
+ "exponential_decay_length_penalty": null,
202
+ "feat_dim": 80,
203
+ "finetuning_task": null,
204
+ "forced_bos_token_id": null,
205
+ "forced_eos_token_id": null,
206
+ "growth_rate": 32,
207
+ "id2label": {
208
+ "0": "LABEL_0",
209
+ "1": "LABEL_1"
210
+ },
211
+ "init_channels": 128,
212
+ "is_decoder": false,
213
+ "is_encoder_decoder": false,
214
+ "label2id": {
215
+ "LABEL_0": 0,
216
+ "LABEL_1": 1
217
+ },
218
+ "length_penalty": 1.0,
219
+ "m_channels": 64,
220
+ "max_length": 20,
221
+ "memory_efficient": true,
222
+ "min_length": 0,
223
+ "model_type": "speaker_rec",
224
+ "no_repeat_ngram_size": 0,
225
+ "num_beam_groups": 1,
226
+ "num_beams": 1,
227
+ "num_return_sequences": 1,
228
+ "output_attentions": false,
229
+ "output_hidden_states": false,
230
+ "output_level": "segment",
231
+ "output_scores": false,
232
+ "pad_token_id": null,
233
+ "pooling_func": "TSTP",
234
+ "prefix": null,
235
+ "problem_type": null,
236
+ "pruned_heads": {},
237
+ "remove_invalid_values": false,
238
+ "repetition_penalty": 1.0,
239
+ "return_dict": true,
240
+ "return_dict_in_generate": false,
241
+ "sep_token_id": null,
242
+ "suppress_tokens": null,
243
+ "task_specific_params": null,
244
+ "temperature": 1.0,
245
+ "tf_legacy_loss": false,
246
+ "tie_encoder_decoder": false,
247
+ "tie_word_embeddings": true,
248
+ "tokenizer_class": null,
249
+ "top_k": 50,
250
+ "top_p": 1.0,
251
+ "torch_dtype": "float32",
252
+ "torchscript": false,
253
+ "typical_p": 1.0,
254
+ "use_bfloat16": false
255
+ },
256
+ "torch_dtype": "bfloat16",
257
+ "transformers_version": "4.44.2",
258
+ "vocab_size": 153824
259
+ }
generation_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
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.44.2",
8
+ "use_cache": false
9
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a0da5026ee009b585c1f514df08d90e017575b371a17a4b8e0bc38c43c970353
3
+ size 3799248820