chatpig commited on
Commit
565c88d
·
verified ·
1 Parent(s): e24ef41

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +238 -0
config.json ADDED
@@ -0,0 +1,238 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "HiggsAudioModel"
4
+ ],
5
+ "audio_adapter_type": "dual_ffn_fast_forward",
6
+ "audio_bos_token": "<|audio_bos|>",
7
+ "audio_codebook_size": 1024,
8
+ "audio_decoder_proj_num_layers": 0,
9
+ "audio_dual_ffn_layers": [
10
+ 0,
11
+ 1,
12
+ 2,
13
+ 3,
14
+ 4,
15
+ 5,
16
+ 6,
17
+ 7,
18
+ 8,
19
+ 9,
20
+ 10,
21
+ 11,
22
+ 12,
23
+ 13,
24
+ 14,
25
+ 15,
26
+ 16,
27
+ 17,
28
+ 18,
29
+ 19,
30
+ 20,
31
+ 21,
32
+ 22,
33
+ 23,
34
+ 24,
35
+ 25,
36
+ 26,
37
+ 27
38
+ ],
39
+ "audio_embed_avg": false,
40
+ "audio_encoder_config": {
41
+ "_attn_implementation_autoset": false,
42
+ "_name_or_path": "",
43
+ "activation_dropout": 0.0,
44
+ "activation_function": "gelu",
45
+ "add_cross_attention": false,
46
+ "architectures": null,
47
+ "attention_dropout": 0.0,
48
+ "bad_words_ids": null,
49
+ "begin_suppress_tokens": null,
50
+ "bos_token_id": null,
51
+ "chunk_size_feed_forward": 0,
52
+ "cross_attention_hidden_size": null,
53
+ "d_model": 1280,
54
+ "decoder_start_token_id": null,
55
+ "diversity_penalty": 0.0,
56
+ "do_sample": false,
57
+ "dropout": 0.0,
58
+ "early_stopping": false,
59
+ "encoder_attention_heads": 20,
60
+ "encoder_ffn_dim": 5120,
61
+ "encoder_layerdrop": 0.0,
62
+ "encoder_layers": 32,
63
+ "encoder_no_repeat_ngram_size": 0,
64
+ "eos_token_id": null,
65
+ "exponential_decay_length_penalty": null,
66
+ "finetuning_task": null,
67
+ "forced_bos_token_id": null,
68
+ "forced_eos_token_id": null,
69
+ "id2label": {
70
+ "0": "LABEL_0",
71
+ "1": "LABEL_1"
72
+ },
73
+ "init_std": 0.02,
74
+ "is_decoder": false,
75
+ "is_encoder_decoder": false,
76
+ "label2id": {
77
+ "LABEL_0": 0,
78
+ "LABEL_1": 1
79
+ },
80
+ "length_penalty": 1.0,
81
+ "max_length": 20,
82
+ "max_source_positions": 1500,
83
+ "min_length": 0,
84
+ "model_type": "higgs_audio_encoder",
85
+ "no_repeat_ngram_size": 0,
86
+ "num_beam_groups": 1,
87
+ "num_beams": 1,
88
+ "num_hidden_layers": 32,
89
+ "num_mel_bins": 128,
90
+ "num_return_sequences": 1,
91
+ "output_attentions": false,
92
+ "output_hidden_states": false,
93
+ "output_scores": false,
94
+ "pad_token_id": 128001,
95
+ "prefix": null,
96
+ "problem_type": null,
97
+ "pruned_heads": {},
98
+ "remove_invalid_values": false,
99
+ "repetition_penalty": 1.0,
100
+ "return_dict": true,
101
+ "return_dict_in_generate": false,
102
+ "scale_embedding": false,
103
+ "sep_token_id": null,
104
+ "suppress_tokens": null,
105
+ "task_specific_params": null,
106
+ "temperature": 1.0,
107
+ "tf_legacy_loss": false,
108
+ "tie_encoder_decoder": false,
109
+ "tie_word_embeddings": true,
110
+ "tokenizer_class": null,
111
+ "top_k": 50,
112
+ "top_p": 1.0,
113
+ "torch_dtype": null,
114
+ "torchscript": false,
115
+ "typical_p": 1.0,
116
+ "use_bfloat16": false
117
+ },
118
+ "audio_eos_token": "<|audio_eos|>",
119
+ "audio_eos_token_id": 128012,
120
+ "audio_ffn_hidden_size": 3072,
121
+ "audio_ffn_intermediate_size": 8192,
122
+ "audio_in_token": "<|AUDIO|>",
123
+ "audio_in_token_idx": 128015,
124
+ "audio_num_codebooks": 8,
125
+ "audio_out_bos_token": "<|audio_out_bos|>",
126
+ "audio_out_bos_token_id": 128013,
127
+ "audio_out_token": "<|AUDIO_OUT|>",
128
+ "audio_out_token_idx": 128016,
129
+ "audio_stream_bos_id": 1024,
130
+ "audio_stream_eos_id": 1025,
131
+ "audio_tokenizer_config": null,
132
+ "encode_audio_in_tokens": true,
133
+ "encode_whisper_embed": false,
134
+ "hidden_size": 3072,
135
+ "model_type": "higgs_audio",
136
+ "pad_token_id": 128001,
137
+ "rq_transformer_hidden_size": null,
138
+ "rq_transformer_intermediate_size": null,
139
+ "rq_transformer_num_attention_heads": null,
140
+ "rq_transformer_num_hidden_layers": 3,
141
+ "rq_transformer_num_key_value_heads": null,
142
+ "skip_audio_tower": true,
143
+ "text_config": {
144
+ "_attn_implementation_autoset": false,
145
+ "_name_or_path": "/fsx/models/Llama-3.2-3B",
146
+ "add_cross_attention": false,
147
+ "architectures": [
148
+ "LlamaForCausalLM"
149
+ ],
150
+ "attention_bias": false,
151
+ "attention_dropout": 0.0,
152
+ "bad_words_ids": null,
153
+ "begin_suppress_tokens": null,
154
+ "bos_token_id": 128000,
155
+ "chunk_size_feed_forward": 0,
156
+ "cross_attention_hidden_size": null,
157
+ "decoder_start_token_id": null,
158
+ "diversity_penalty": 0.0,
159
+ "do_sample": false,
160
+ "early_stopping": false,
161
+ "encoder_no_repeat_ngram_size": 0,
162
+ "eos_token_id": 128001,
163
+ "exponential_decay_length_penalty": null,
164
+ "finetuning_task": null,
165
+ "forced_bos_token_id": null,
166
+ "forced_eos_token_id": null,
167
+ "head_dim": 128,
168
+ "hidden_act": "silu",
169
+ "hidden_size": 3072,
170
+ "id2label": {
171
+ "0": "LABEL_0",
172
+ "1": "LABEL_1"
173
+ },
174
+ "initializer_range": 0.02,
175
+ "intermediate_size": 8192,
176
+ "is_decoder": false,
177
+ "is_encoder_decoder": false,
178
+ "label2id": {
179
+ "LABEL_0": 0,
180
+ "LABEL_1": 1
181
+ },
182
+ "length_penalty": 1.0,
183
+ "max_length": 20,
184
+ "max_position_embeddings": 131072,
185
+ "min_length": 0,
186
+ "mlp_bias": false,
187
+ "model_type": "llama",
188
+ "no_repeat_ngram_size": 0,
189
+ "num_attention_heads": 24,
190
+ "num_beam_groups": 1,
191
+ "num_beams": 1,
192
+ "num_hidden_layers": 28,
193
+ "num_key_value_heads": 8,
194
+ "num_return_sequences": 1,
195
+ "output_attentions": false,
196
+ "output_hidden_states": false,
197
+ "output_scores": false,
198
+ "pad_token_id": null,
199
+ "prefix": null,
200
+ "pretraining_tp": 1,
201
+ "problem_type": null,
202
+ "pruned_heads": {},
203
+ "remove_invalid_values": false,
204
+ "repetition_penalty": 1.0,
205
+ "return_dict": true,
206
+ "return_dict_in_generate": false,
207
+ "rms_norm_eps": 1e-05,
208
+ "rope_scaling": {
209
+ "factor": 32.0,
210
+ "high_freq_factor": 4.0,
211
+ "low_freq_factor": 1.0,
212
+ "original_max_position_embeddings": 8192,
213
+ "rope_type": "llama3"
214
+ },
215
+ "rope_theta": 500000.0,
216
+ "sep_token_id": null,
217
+ "suppress_tokens": null,
218
+ "task_specific_params": null,
219
+ "temperature": 1.0,
220
+ "tf_legacy_loss": false,
221
+ "tie_encoder_decoder": false,
222
+ "tie_word_embeddings": true,
223
+ "tokenizer_class": null,
224
+ "top_k": 50,
225
+ "top_p": 1.0,
226
+ "torch_dtype": "float16",
227
+ "torchscript": false,
228
+ "typical_p": 1.0,
229
+ "use_bfloat16": false,
230
+ "use_cache": true,
231
+ "vocab_size": 128256
232
+ },
233
+ "torch_dtype": "float16",
234
+ "use_audio_out_embed_projector": false,
235
+ "use_audio_out_self_attention": 0,
236
+ "use_delay_pattern": true,
237
+ "use_rq_transformer": false
238
+ }