ylacombe HF staff commited on
Commit
74dd74e
1 Parent(s): a8a827d

Upload MoshiForConditionalGeneration

Browse files
Files changed (1) hide show
  1. config.json +81 -9
config.json CHANGED
@@ -3,7 +3,7 @@
3
  "MoshiForConditionalGeneration"
4
  ],
5
  "attention_dropout": 0.0,
6
- "audio_encoder": {
7
  "_name_or_path": "kyutai/mimi",
8
  "add_cross_attention": false,
9
  "architectures": [
@@ -112,14 +112,86 @@
112
  "vector_quantization_hidden_dimension": 256
113
  },
114
  "audio_vocab_size": 2048,
115
- "depth_ffn_dim": 5632,
116
- "depth_head_dim": 64,
117
- "depth_hidden_size": 1024,
118
- "depth_max_position_embeddings": 9,
119
- "depth_num_attention_heads": 16,
120
- "depth_num_hidden_layers": 6,
121
- "depth_num_key_value_heads": 16,
122
- "depth_sliding_window": 8,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
123
  "ffn_dim": 22528,
124
  "head_dim": 128,
125
  "hidden_act": "silu",
 
3
  "MoshiForConditionalGeneration"
4
  ],
5
  "attention_dropout": 0.0,
6
+ "audio_encoder_config": {
7
  "_name_or_path": "kyutai/mimi",
8
  "add_cross_attention": false,
9
  "architectures": [
 
112
  "vector_quantization_hidden_dimension": 256
113
  },
114
  "audio_vocab_size": 2048,
115
+ "depth_decoder_config": {
116
+ "_name_or_path": "",
117
+ "add_cross_attention": false,
118
+ "architectures": null,
119
+ "attention_dropout": 0.0,
120
+ "audio_vocab_size": 2048,
121
+ "bad_words_ids": null,
122
+ "begin_suppress_tokens": null,
123
+ "bos_token_id": null,
124
+ "chunk_size_feed_forward": 0,
125
+ "cross_attention_hidden_size": null,
126
+ "decoder_start_token_id": null,
127
+ "diversity_penalty": 0.0,
128
+ "do_sample": false,
129
+ "early_stopping": false,
130
+ "encoder_no_repeat_ngram_size": 0,
131
+ "eos_token_id": null,
132
+ "exponential_decay_length_penalty": null,
133
+ "ffn_dim": 5632,
134
+ "finetuning_task": null,
135
+ "forced_bos_token_id": null,
136
+ "forced_eos_token_id": null,
137
+ "head_dim": 64,
138
+ "hidden_act": "silu",
139
+ "hidden_size": 1024,
140
+ "id2label": {
141
+ "0": "LABEL_0",
142
+ "1": "LABEL_1"
143
+ },
144
+ "initializer_range": 0.02,
145
+ "input_size": 4096,
146
+ "is_decoder": false,
147
+ "is_encoder_decoder": false,
148
+ "label2id": {
149
+ "LABEL_0": 0,
150
+ "LABEL_1": 1
151
+ },
152
+ "length_penalty": 1.0,
153
+ "max_length": 20,
154
+ "max_position_embeddings": 9,
155
+ "min_length": 0,
156
+ "model_type": "moshi_depth",
157
+ "no_repeat_ngram_size": 0,
158
+ "num_attention_heads": 16,
159
+ "num_beam_groups": 1,
160
+ "num_beams": 1,
161
+ "num_codebooks": 8,
162
+ "num_hidden_layers": 6,
163
+ "num_key_value_heads": 16,
164
+ "num_return_sequences": 1,
165
+ "output_attentions": false,
166
+ "output_hidden_states": false,
167
+ "output_scores": false,
168
+ "pad_token_id": null,
169
+ "prefix": null,
170
+ "problem_type": null,
171
+ "pruned_heads": {},
172
+ "remove_invalid_values": false,
173
+ "repetition_penalty": 1.0,
174
+ "return_dict": true,
175
+ "return_dict_in_generate": false,
176
+ "rms_norm_eps": 1e-08,
177
+ "sep_token_id": null,
178
+ "sliding_window": 8,
179
+ "suppress_tokens": null,
180
+ "task_specific_params": null,
181
+ "temperature": 1.0,
182
+ "tf_legacy_loss": false,
183
+ "tie_encoder_decoder": false,
184
+ "tie_word_embeddings": false,
185
+ "tokenizer_class": null,
186
+ "top_k": 50,
187
+ "top_p": 1.0,
188
+ "torch_dtype": null,
189
+ "torchscript": false,
190
+ "typical_p": 1.0,
191
+ "use_bfloat16": false,
192
+ "use_cache": true,
193
+ "vocab_size": 32000
194
+ },
195
  "ffn_dim": 22528,
196
  "head_dim": 128,
197
  "hidden_act": "silu",