FINGU-AI commited on
Commit
46c5e47
·
verified ·
1 Parent(s): c041c7f

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
added_tokens.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</tool_call>": 151658,
3
+ "<tool_call>": 151657,
4
+ "<|AUDIO|>": 151646,
5
+ "<|IMAGE|>": 151655,
6
+ "<|VIDEO|>": 151656,
7
+ "<|audio_bos|>": 151647,
8
+ "<|audio_eos|>": 151648,
9
+ "<|box_end|>": 151649,
10
+ "<|endoftext|>": 151643,
11
+ "<|file_sep|>": 151664,
12
+ "<|fim_middle|>": 151660,
13
+ "<|fim_pad|>": 151662,
14
+ "<|fim_prefix|>": 151659,
15
+ "<|fim_suffix|>": 151661,
16
+ "<|im_end|>": 151645,
17
+ "<|im_start|>": 151644,
18
+ "<|quad_end|>": 151651,
19
+ "<|quad_start|>": 151650,
20
+ "<|repo_name|>": 151663,
21
+ "<|vision_bos|>": 151652,
22
+ "<|vision_eos|>": 151653,
23
+ "<|vision_pad|>": 151654
24
+ }
chat_template.jinja ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {% set audio_count = namespace(value=0) %}{% set image_count = namespace(value=0) %}{% set video_count = namespace(value=0) %}{% for message in messages %}{% if loop.first and message['role'] != 'system' %}<|im_start|>system
2
+ You are a helpful assistant.<|im_end|>
3
+ {% endif %}<|im_start|>{{ message['role'] }}
4
+ {% if message['content'] is string %}{{ message['content'] }}<|im_end|>
5
+ {% else %}{% for content in message['content'] %}{% if content['type'] == 'image' or 'image' in content or 'image_url' in content %}{% set image_count.value = image_count.value + 1 %}{% if add_vision_id %}Picture {{ image_count.value }}: {% endif %}<|vision_bos|><|IMAGE|><|vision_eos|>{% elif content['type'] == 'audio' or 'audio' in content or 'audio_url' in content %}{% set audio_count.value = audio_count.value + 1 %}{% if add_audio_id %}Audio {{ audio_count.value }}: {% endif %}<|audio_bos|><|AUDIO|><|audio_eos|>{% elif content['type'] == 'video' or 'video' in content %}{% set video_count.value = video_count.value + 1 %}{% if add_vision_id %}Video {{ video_count.value }}: {% endif %}<|vision_bos|><|VIDEO|><|vision_eos|>{% elif 'text' in content %}{{ content['text'] }}{% endif %}{% endfor %}<|im_end|>
6
+ {% endif %}{% endfor %}{% if add_generation_prompt %}<|im_start|>assistant
7
+ {% endif %}
config.json ADDED
@@ -0,0 +1,565 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen2_5OmniForConditionalGeneration"
4
+ ],
5
+ "enable_audio_output": true,
6
+ "enable_talker": true,
7
+ "model_type": "qwen2_5_omni",
8
+ "talker_config": {
9
+ "_attn_implementation_autoset": true,
10
+ "architectures": [
11
+ "Qwen2OmniTalkerForConditionalGeneration"
12
+ ],
13
+ "attention_dropout": 0.0,
14
+ "audio_end_token_id": 151648,
15
+ "audio_start_token_id": 151647,
16
+ "audio_token_index": 151646,
17
+ "embedding_size": 2048,
18
+ "head_dim": 64,
19
+ "hidden_act": "silu",
20
+ "hidden_size": 896,
21
+ "image_token_index": 151655,
22
+ "init_std": 0.02,
23
+ "initializer_range": 0.02,
24
+ "intermediate_size": 4864,
25
+ "max_position_embeddings": 32768,
26
+ "max_window_layers": 28,
27
+ "model_type": "qwen2_5_omni_talker",
28
+ "num_attention_heads": 14,
29
+ "num_hidden_layers": 24,
30
+ "num_key_value_heads": 2,
31
+ "position_id_per_seconds": 25,
32
+ "rms_norm_eps": 1e-06,
33
+ "rope_scaling": {
34
+ "mrope_section": [
35
+ 16,
36
+ 16,
37
+ 0
38
+ ],
39
+ "rope_type": "default",
40
+ "type": "default"
41
+ },
42
+ "rope_theta": 1000000.0,
43
+ "seconds_per_chunk": 2,
44
+ "sliding_window": 32768,
45
+ "spatial_merge_size": 2,
46
+ "torch_dtype": "bfloat16",
47
+ "tts_codec_end_token_id": 8294,
48
+ "tts_codec_mask_token_id": 8296,
49
+ "tts_codec_pad_token_id": 8292,
50
+ "tts_codec_start_token_id": 8293,
51
+ "tts_text_end_token_id": 151861,
52
+ "tts_text_pad_token_id": 151859,
53
+ "tts_text_start_token_id": 151860,
54
+ "use_cache": true,
55
+ "use_sliding_window": false,
56
+ "video_token_index": 151656,
57
+ "vision_end_token_id": 151653,
58
+ "vision_start_token_id": 151652,
59
+ "vocab_size": 8448
60
+ },
61
+ "thinker_config": {
62
+ "_attn_implementation_autoset": true,
63
+ "architectures": [
64
+ "Qwen2OmniNaViTThinkerForConditionalGeneration"
65
+ ],
66
+ "audio_config": {
67
+ "_attn_implementation_autoset": true,
68
+ "activation_dropout": 0.0,
69
+ "activation_function": "gelu",
70
+ "add_cross_attention": false,
71
+ "architectures": null,
72
+ "attention_dropout": 0.0,
73
+ "bad_words_ids": null,
74
+ "begin_suppress_tokens": null,
75
+ "bos_token_id": null,
76
+ "chunk_size_feed_forward": 0,
77
+ "cross_attention_hidden_size": null,
78
+ "d_model": 1280,
79
+ "decoder_start_token_id": null,
80
+ "diversity_penalty": 0.0,
81
+ "do_sample": false,
82
+ "dropout": 0.0,
83
+ "early_stopping": false,
84
+ "encoder_attention_heads": 20,
85
+ "encoder_ffn_dim": 5120,
86
+ "encoder_layerdrop": 0.0,
87
+ "encoder_layers": 32,
88
+ "encoder_no_repeat_ngram_size": 0,
89
+ "eos_token_id": null,
90
+ "exponential_decay_length_penalty": null,
91
+ "finetuning_task": null,
92
+ "forced_bos_token_id": null,
93
+ "forced_eos_token_id": null,
94
+ "id2label": {
95
+ "0": "LABEL_0",
96
+ "1": "LABEL_1"
97
+ },
98
+ "init_std": 0.02,
99
+ "initializer_range": 0.02,
100
+ "is_decoder": false,
101
+ "is_encoder_decoder": false,
102
+ "label2id": {
103
+ "LABEL_0": 0,
104
+ "LABEL_1": 1
105
+ },
106
+ "length_penalty": 1.0,
107
+ "max_length": 20,
108
+ "max_source_positions": 1500,
109
+ "min_length": 0,
110
+ "model_type": "qwen2_5_omni_audio_encoder",
111
+ "n_window": 100,
112
+ "no_repeat_ngram_size": 0,
113
+ "num_beam_groups": 1,
114
+ "num_beams": 1,
115
+ "num_hidden_layers": 32,
116
+ "num_mel_bins": 128,
117
+ "num_return_sequences": 1,
118
+ "output_attentions": false,
119
+ "output_dim": 2048,
120
+ "output_hidden_states": false,
121
+ "output_scores": false,
122
+ "pad_token_id": null,
123
+ "prefix": null,
124
+ "problem_type": null,
125
+ "pruned_heads": {},
126
+ "remove_invalid_values": false,
127
+ "repetition_penalty": 1.0,
128
+ "return_dict": true,
129
+ "return_dict_in_generate": false,
130
+ "scale_embedding": false,
131
+ "sep_token_id": null,
132
+ "suppress_tokens": null,
133
+ "task_specific_params": null,
134
+ "temperature": 1.0,
135
+ "tf_legacy_loss": false,
136
+ "tie_encoder_decoder": false,
137
+ "tie_word_embeddings": true,
138
+ "tokenizer_class": null,
139
+ "top_k": 50,
140
+ "top_p": 1.0,
141
+ "torch_dtype": null,
142
+ "torchscript": false,
143
+ "typical_p": 1.0,
144
+ "use_bfloat16": false
145
+ },
146
+ "audio_end_token_id": 151648,
147
+ "audio_start_token_id": 151647,
148
+ "audio_token_index": 151646,
149
+ "bos_token_id": 151644,
150
+ "eos_token_id": 151645,
151
+ "ignore_index": -100,
152
+ "image_token_index": 151655,
153
+ "init_std": 0.02,
154
+ "initializer_range": 0.02,
155
+ "model_type": "qwen2_5_omni_thinker",
156
+ "pad_token_id": 151643,
157
+ "position_id_per_seconds": 25,
158
+ "seconds_per_chunk": 2,
159
+ "text_config": {
160
+ "_attn_implementation_autoset": false,
161
+ "add_cross_attention": false,
162
+ "architectures": null,
163
+ "attention_dropout": 0.0,
164
+ "bad_words_ids": null,
165
+ "begin_suppress_tokens": null,
166
+ "bos_token_id": null,
167
+ "chunk_size_feed_forward": 0,
168
+ "cross_attention_hidden_size": null,
169
+ "decoder_start_token_id": null,
170
+ "diversity_penalty": 0.0,
171
+ "do_sample": false,
172
+ "early_stopping": false,
173
+ "encoder_no_repeat_ngram_size": 0,
174
+ "eos_token_id": null,
175
+ "exponential_decay_length_penalty": null,
176
+ "finetuning_task": null,
177
+ "forced_bos_token_id": null,
178
+ "forced_eos_token_id": null,
179
+ "hidden_act": "silu",
180
+ "hidden_size": 2048,
181
+ "id2label": {
182
+ "0": "LABEL_0",
183
+ "1": "LABEL_1"
184
+ },
185
+ "init_std": 0.02,
186
+ "initializer_range": 0.02,
187
+ "intermediate_size": 11008,
188
+ "is_decoder": false,
189
+ "is_encoder_decoder": false,
190
+ "label2id": {
191
+ "LABEL_0": 0,
192
+ "LABEL_1": 1
193
+ },
194
+ "length_penalty": 1.0,
195
+ "max_length": 20,
196
+ "max_position_embeddings": 32768,
197
+ "max_window_layers": 70,
198
+ "min_length": 0,
199
+ "model_type": "qwen2_5_omni_text",
200
+ "no_repeat_ngram_size": 0,
201
+ "num_attention_heads": 16,
202
+ "num_beam_groups": 1,
203
+ "num_beams": 1,
204
+ "num_hidden_layers": 36,
205
+ "num_key_value_heads": 2,
206
+ "num_return_sequences": 1,
207
+ "output_attentions": false,
208
+ "output_hidden_states": false,
209
+ "output_scores": false,
210
+ "pad_token_id": null,
211
+ "prefix": null,
212
+ "problem_type": null,
213
+ "pruned_heads": {},
214
+ "remove_invalid_values": false,
215
+ "repetition_penalty": 1.0,
216
+ "return_dict": true,
217
+ "return_dict_in_generate": false,
218
+ "rms_norm_eps": 1e-06,
219
+ "rope_scaling": {
220
+ "mrope_section": [
221
+ 16,
222
+ 24,
223
+ 24
224
+ ],
225
+ "rope_type": "default",
226
+ "type": "default"
227
+ },
228
+ "rope_theta": 1000000.0,
229
+ "sep_token_id": null,
230
+ "sliding_window": 32768,
231
+ "suppress_tokens": null,
232
+ "task_specific_params": null,
233
+ "temperature": 1.0,
234
+ "tf_legacy_loss": false,
235
+ "tie_encoder_decoder": false,
236
+ "tie_word_embeddings": false,
237
+ "tokenizer_class": null,
238
+ "top_k": 50,
239
+ "top_p": 1.0,
240
+ "torch_dtype": null,
241
+ "torchscript": false,
242
+ "typical_p": 1.0,
243
+ "use_bfloat16": false,
244
+ "use_cache": true,
245
+ "use_sliding_window": false,
246
+ "vocab_size": 151936
247
+ },
248
+ "torch_dtype": "bfloat16",
249
+ "user_token_id": 872,
250
+ "video_token_index": 151656,
251
+ "vision_config": {
252
+ "_attn_implementation_autoset": true,
253
+ "add_cross_attention": false,
254
+ "architectures": null,
255
+ "bad_words_ids": null,
256
+ "begin_suppress_tokens": null,
257
+ "bos_token_id": null,
258
+ "chunk_size_feed_forward": 0,
259
+ "cross_attention_hidden_size": null,
260
+ "decoder_start_token_id": null,
261
+ "depth": 32,
262
+ "diversity_penalty": 0.0,
263
+ "do_sample": false,
264
+ "early_stopping": false,
265
+ "embed_dim": 1280,
266
+ "encoder_no_repeat_ngram_size": 0,
267
+ "eos_token_id": null,
268
+ "exponential_decay_length_penalty": null,
269
+ "finetuning_task": null,
270
+ "forced_bos_token_id": null,
271
+ "forced_eos_token_id": null,
272
+ "fullatt_block_indexes": [
273
+ 7,
274
+ 15,
275
+ 23,
276
+ 31
277
+ ],
278
+ "hidden_act": "silu",
279
+ "hidden_size": 1280,
280
+ "id2label": {
281
+ "0": "LABEL_0",
282
+ "1": "LABEL_1"
283
+ },
284
+ "in_channels": 3,
285
+ "in_chans": 3,
286
+ "init_std": 0.02,
287
+ "initializer_range": 0.02,
288
+ "intermediate_size": 3420,
289
+ "is_decoder": false,
290
+ "is_encoder_decoder": false,
291
+ "label2id": {
292
+ "LABEL_0": 0,
293
+ "LABEL_1": 1
294
+ },
295
+ "length_penalty": 1.0,
296
+ "max_length": 20,
297
+ "min_length": 0,
298
+ "model_type": "qwen2_5_omni_vision_encoder",
299
+ "no_repeat_ngram_size": 0,
300
+ "num_beam_groups": 1,
301
+ "num_beams": 1,
302
+ "num_heads": 16,
303
+ "num_return_sequences": 1,
304
+ "out_hidden_size": 2048,
305
+ "output_attentions": false,
306
+ "output_hidden_states": false,
307
+ "output_scores": false,
308
+ "pad_token_id": null,
309
+ "patch_size": 14,
310
+ "prefix": null,
311
+ "problem_type": null,
312
+ "pruned_heads": {},
313
+ "remove_invalid_values": false,
314
+ "repetition_penalty": 1.0,
315
+ "return_dict": true,
316
+ "return_dict_in_generate": false,
317
+ "sep_token_id": null,
318
+ "spatial_merge_size": 2,
319
+ "spatial_patch_size": 14,
320
+ "suppress_tokens": null,
321
+ "task_specific_params": null,
322
+ "temperature": 1.0,
323
+ "temporal_patch_size": 2,
324
+ "tf_legacy_loss": false,
325
+ "tie_encoder_decoder": false,
326
+ "tie_word_embeddings": true,
327
+ "tokenizer_class": null,
328
+ "tokens_per_second": 25,
329
+ "top_k": 50,
330
+ "top_p": 1.0,
331
+ "torch_dtype": null,
332
+ "torchscript": false,
333
+ "typical_p": 1.0,
334
+ "use_bfloat16": false,
335
+ "window_size": 112
336
+ },
337
+ "vision_end_token_id": 151653,
338
+ "vision_start_token_id": 151652,
339
+ "vision_token_id": 151654
340
+ },
341
+ "token2wav_config": {
342
+ "_attn_implementation_autoset": true,
343
+ "bigvgan_config": {
344
+ "_attn_implementation_autoset": true,
345
+ "add_cross_attention": false,
346
+ "architectures": null,
347
+ "bad_words_ids": null,
348
+ "begin_suppress_tokens": null,
349
+ "bos_token_id": null,
350
+ "chunk_size_feed_forward": 0,
351
+ "cross_attention_hidden_size": null,
352
+ "decoder_start_token_id": null,
353
+ "diversity_penalty": 0.0,
354
+ "do_sample": false,
355
+ "early_stopping": false,
356
+ "encoder_no_repeat_ngram_size": 0,
357
+ "eos_token_id": null,
358
+ "exponential_decay_length_penalty": null,
359
+ "finetuning_task": null,
360
+ "forced_bos_token_id": null,
361
+ "forced_eos_token_id": null,
362
+ "id2label": {
363
+ "0": "LABEL_0",
364
+ "1": "LABEL_1"
365
+ },
366
+ "is_decoder": false,
367
+ "is_encoder_decoder": false,
368
+ "label2id": {
369
+ "LABEL_0": 0,
370
+ "LABEL_1": 1
371
+ },
372
+ "length_penalty": 1.0,
373
+ "max_length": 20,
374
+ "mel_dim": 80,
375
+ "min_length": 0,
376
+ "model_type": "qwen2_5_omni_bigvgan",
377
+ "no_repeat_ngram_size": 0,
378
+ "num_beam_groups": 1,
379
+ "num_beams": 1,
380
+ "num_return_sequences": 1,
381
+ "output_attentions": false,
382
+ "output_hidden_states": false,
383
+ "output_scores": false,
384
+ "pad_token_id": null,
385
+ "prefix": null,
386
+ "problem_type": null,
387
+ "pruned_heads": {},
388
+ "remove_invalid_values": false,
389
+ "repetition_penalty": 1.0,
390
+ "resblock_dilation_sizes": [
391
+ [
392
+ 1,
393
+ 3,
394
+ 5
395
+ ],
396
+ [
397
+ 1,
398
+ 3,
399
+ 5
400
+ ],
401
+ [
402
+ 1,
403
+ 3,
404
+ 5
405
+ ]
406
+ ],
407
+ "resblock_kernel_sizes": [
408
+ 3,
409
+ 7,
410
+ 11
411
+ ],
412
+ "return_dict": true,
413
+ "return_dict_in_generate": false,
414
+ "sep_token_id": null,
415
+ "suppress_tokens": null,
416
+ "task_specific_params": null,
417
+ "temperature": 1.0,
418
+ "tf_legacy_loss": false,
419
+ "tie_encoder_decoder": false,
420
+ "tie_word_embeddings": true,
421
+ "tokenizer_class": null,
422
+ "top_k": 50,
423
+ "top_p": 1.0,
424
+ "torch_dtype": null,
425
+ "torchscript": false,
426
+ "typical_p": 1.0,
427
+ "upsample_initial_channel": 1536,
428
+ "upsample_kernel_sizes": [
429
+ 11,
430
+ 7,
431
+ 4,
432
+ 4,
433
+ 4,
434
+ 4
435
+ ],
436
+ "upsample_rates": [
437
+ 5,
438
+ 3,
439
+ 2,
440
+ 2,
441
+ 2,
442
+ 2
443
+ ],
444
+ "use_bfloat16": false,
445
+ "use_bias_at_final": false
446
+ },
447
+ "dit_config": {
448
+ "_attn_implementation_autoset": true,
449
+ "add_cross_attention": false,
450
+ "architectures": null,
451
+ "bad_words_ids": null,
452
+ "begin_suppress_tokens": null,
453
+ "block_size": 24,
454
+ "bos_token_id": null,
455
+ "chunk_size_feed_forward": 0,
456
+ "cross_attention_hidden_size": null,
457
+ "decoder_start_token_id": null,
458
+ "depth": 22,
459
+ "dim": 1024,
460
+ "diversity_penalty": 0.0,
461
+ "do_sample": false,
462
+ "dropout": 0.1,
463
+ "early_stopping": false,
464
+ "emb_dim": 512,
465
+ "enc_attention_channels": 64,
466
+ "enc_channels": [
467
+ 256,
468
+ 256,
469
+ 256,
470
+ 256,
471
+ 768
472
+ ],
473
+ "enc_dilations": [
474
+ 1,
475
+ 2,
476
+ 3,
477
+ 4,
478
+ 1
479
+ ],
480
+ "enc_dim": 128,
481
+ "enc_emb_dim": 192,
482
+ "enc_global_context": true,
483
+ "enc_kernel_sizes": [
484
+ 5,
485
+ 3,
486
+ 3,
487
+ 3,
488
+ 1
489
+ ],
490
+ "enc_lin_neurons": 192,
491
+ "enc_res2net_scale": 2,
492
+ "enc_se_channels": 64,
493
+ "encoder_no_repeat_ngram_size": 0,
494
+ "eos_token_id": null,
495
+ "exponential_decay_length_penalty": null,
496
+ "ff_mult": 2,
497
+ "finetuning_task": null,
498
+ "forced_bos_token_id": null,
499
+ "forced_eos_token_id": null,
500
+ "head_dim": 64,
501
+ "heads": 16,
502
+ "hidden_size": 1024,
503
+ "id2label": {
504
+ "0": "LABEL_0",
505
+ "1": "LABEL_1"
506
+ },
507
+ "is_decoder": false,
508
+ "is_encoder_decoder": false,
509
+ "label2id": {
510
+ "LABEL_0": 0,
511
+ "LABEL_1": 1
512
+ },
513
+ "length_penalty": 1.0,
514
+ "look_ahead_layers": [
515
+ 10
516
+ ],
517
+ "look_backward_layers": [
518
+ 0,
519
+ 20
520
+ ],
521
+ "max_length": 20,
522
+ "max_position_embeddings": 32768,
523
+ "mel_dim": 80,
524
+ "min_length": 0,
525
+ "model_type": "qwen2_5_omni_dit",
526
+ "no_repeat_ngram_size": 0,
527
+ "num_attention_heads": 16,
528
+ "num_beam_groups": 1,
529
+ "num_beams": 1,
530
+ "num_embeds": 8193,
531
+ "num_hidden_layers": 22,
532
+ "num_return_sequences": 1,
533
+ "output_attentions": false,
534
+ "output_hidden_states": false,
535
+ "output_scores": false,
536
+ "pad_token_id": null,
537
+ "prefix": null,
538
+ "problem_type": null,
539
+ "pruned_heads": {},
540
+ "remove_invalid_values": false,
541
+ "repeats": 2,
542
+ "repetition_penalty": 1.0,
543
+ "return_dict": true,
544
+ "return_dict_in_generate": false,
545
+ "rope_theta": 10000.0,
546
+ "sep_token_id": null,
547
+ "suppress_tokens": null,
548
+ "task_specific_params": null,
549
+ "temperature": 1.0,
550
+ "tf_legacy_loss": false,
551
+ "tie_encoder_decoder": false,
552
+ "tie_word_embeddings": true,
553
+ "tokenizer_class": null,
554
+ "top_k": 50,
555
+ "top_p": 1.0,
556
+ "torch_dtype": "float32",
557
+ "torchscript": false,
558
+ "typical_p": 1.0,
559
+ "use_bfloat16": false
560
+ },
561
+ "model_type": "qwen2_5_omni_token2wav"
562
+ },
563
+ "torch_dtype": "bfloat16",
564
+ "transformers_version": "4.52.0.dev0"
565
+ }
generation_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "transformers_version": "4.52.0.dev0"
4
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model-00001-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35246a3059621925b9b5a42cc7fa0660a5c241116ab332c2972b0b53f185b605
3
+ size 4994850880
model-00002-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d175dd76eb19af8e3c0e8dc11b00b0f30f5ebf09f9a10f6d1a06ce482e3bfc89
3
+ size 4999787448
model-00003-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f2138170a87ec604b53232491a96d6dcf19e0724aca37e69aace143e508b170
3
+ size 1978024880
model.safetensors.index.json ADDED
The diff for this file is too large to render. See raw diff
 
preprocessor_config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "chunk_length": 300,
3
+ "dither": 0.0,
4
+ "feature_extractor_type": "WhisperFeatureExtractor",
5
+ "feature_size": 128,
6
+ "hop_length": 160,
7
+ "image_mean": [
8
+ 0.48145466,
9
+ 0.4578275,
10
+ 0.40821073
11
+ ],
12
+ "image_processor_type": "Qwen2VLImageProcessor",
13
+ "image_std": [
14
+ 0.26862954,
15
+ 0.26130258,
16
+ 0.27577711
17
+ ],
18
+ "max_pixels": 12845056,
19
+ "merge_size": 2,
20
+ "min_pixels": 3136,
21
+ "n_fft": 400,
22
+ "n_samples": 4800000,
23
+ "nb_max_frames": 30000,
24
+ "padding_side": "right",
25
+ "padding_value": 0.0,
26
+ "patch_size": 14,
27
+ "processor_class": "Qwen2_5OmniProcessor",
28
+ "return_attention_mask": true,
29
+ "sampling_rate": 16000,
30
+ "temporal_patch_size": 2
31
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<|AUDIO|>",
6
+ "<|audio_bos|>",
7
+ "<|audio_eos|>",
8
+ "<|box_end|>",
9
+ "<|quad_start|>",
10
+ "<|quad_end|>",
11
+ "<|vision_bos|>",
12
+ "<|vision_eos|>",
13
+ "<|vision_pad|>",
14
+ "<|IMAGE|>",
15
+ "<|VIDEO|>"
16
+ ],
17
+ "audio_bos_token": "<|audio_bos|>",
18
+ "audio_eos_token": "<|audio_eos|>",
19
+ "audio_token": "<|AUDIO|>",
20
+ "eos_token": {
21
+ "content": "<|im_end|>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false
26
+ },
27
+ "image_token": "<|IMAGE|>",
28
+ "pad_token": {
29
+ "content": "<|endoftext|>",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false
34
+ },
35
+ "video_token": "<|VIDEO|>",
36
+ "vision_bos_token": "<|vision_bos|>",
37
+ "vision_eos_token": "<|vision_eos|>"
38
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8441917e39ae0244e06d704b95b3124795cec478e297f9afac39ba670d7e9d99
3
+ size 11421870
tokenizer_config.json ADDED
@@ -0,0 +1,222 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "151643": {
5
+ "content": "<|endoftext|>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "151644": {
13
+ "content": "<|im_start|>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "151645": {
21
+ "content": "<|im_end|>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "151646": {
29
+ "content": "<|AUDIO|>",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "151647": {
37
+ "content": "<|audio_bos|>",
38
+ "lstrip": false,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ },
44
+ "151648": {
45
+ "content": "<|audio_eos|>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false,
50
+ "special": true
51
+ },
52
+ "151649": {
53
+ "content": "<|box_end|>",
54
+ "lstrip": false,
55
+ "normalized": false,
56
+ "rstrip": false,
57
+ "single_word": false,
58
+ "special": true
59
+ },
60
+ "151650": {
61
+ "content": "<|quad_start|>",
62
+ "lstrip": false,
63
+ "normalized": false,
64
+ "rstrip": false,
65
+ "single_word": false,
66
+ "special": true
67
+ },
68
+ "151651": {
69
+ "content": "<|quad_end|>",
70
+ "lstrip": false,
71
+ "normalized": false,
72
+ "rstrip": false,
73
+ "single_word": false,
74
+ "special": true
75
+ },
76
+ "151652": {
77
+ "content": "<|vision_bos|>",
78
+ "lstrip": false,
79
+ "normalized": false,
80
+ "rstrip": false,
81
+ "single_word": false,
82
+ "special": true
83
+ },
84
+ "151653": {
85
+ "content": "<|vision_eos|>",
86
+ "lstrip": false,
87
+ "normalized": false,
88
+ "rstrip": false,
89
+ "single_word": false,
90
+ "special": true
91
+ },
92
+ "151654": {
93
+ "content": "<|vision_pad|>",
94
+ "lstrip": false,
95
+ "normalized": false,
96
+ "rstrip": false,
97
+ "single_word": false,
98
+ "special": true
99
+ },
100
+ "151655": {
101
+ "content": "<|IMAGE|>",
102
+ "lstrip": false,
103
+ "normalized": false,
104
+ "rstrip": false,
105
+ "single_word": false,
106
+ "special": true
107
+ },
108
+ "151656": {
109
+ "content": "<|VIDEO|>",
110
+ "lstrip": false,
111
+ "normalized": false,
112
+ "rstrip": false,
113
+ "single_word": false,
114
+ "special": true
115
+ },
116
+ "151657": {
117
+ "content": "<tool_call>",
118
+ "lstrip": false,
119
+ "normalized": false,
120
+ "rstrip": false,
121
+ "single_word": false,
122
+ "special": false
123
+ },
124
+ "151658": {
125
+ "content": "</tool_call>",
126
+ "lstrip": false,
127
+ "normalized": false,
128
+ "rstrip": false,
129
+ "single_word": false,
130
+ "special": false
131
+ },
132
+ "151659": {
133
+ "content": "<|fim_prefix|>",
134
+ "lstrip": false,
135
+ "normalized": false,
136
+ "rstrip": false,
137
+ "single_word": false,
138
+ "special": false
139
+ },
140
+ "151660": {
141
+ "content": "<|fim_middle|>",
142
+ "lstrip": false,
143
+ "normalized": false,
144
+ "rstrip": false,
145
+ "single_word": false,
146
+ "special": false
147
+ },
148
+ "151661": {
149
+ "content": "<|fim_suffix|>",
150
+ "lstrip": false,
151
+ "normalized": false,
152
+ "rstrip": false,
153
+ "single_word": false,
154
+ "special": false
155
+ },
156
+ "151662": {
157
+ "content": "<|fim_pad|>",
158
+ "lstrip": false,
159
+ "normalized": false,
160
+ "rstrip": false,
161
+ "single_word": false,
162
+ "special": false
163
+ },
164
+ "151663": {
165
+ "content": "<|repo_name|>",
166
+ "lstrip": false,
167
+ "normalized": false,
168
+ "rstrip": false,
169
+ "single_word": false,
170
+ "special": false
171
+ },
172
+ "151664": {
173
+ "content": "<|file_sep|>",
174
+ "lstrip": false,
175
+ "normalized": false,
176
+ "rstrip": false,
177
+ "single_word": false,
178
+ "special": false
179
+ }
180
+ },
181
+ "additional_special_tokens": [
182
+ "<|im_start|>",
183
+ "<|im_end|>",
184
+ "<|AUDIO|>",
185
+ "<|audio_bos|>",
186
+ "<|audio_eos|>",
187
+ "<|box_end|>",
188
+ "<|quad_start|>",
189
+ "<|quad_end|>",
190
+ "<|vision_bos|>",
191
+ "<|vision_eos|>",
192
+ "<|vision_pad|>",
193
+ "<|IMAGE|>",
194
+ "<|VIDEO|>"
195
+ ],
196
+ "audio_bos_token": "<|audio_bos|>",
197
+ "audio_eos_token": "<|audio_eos|>",
198
+ "audio_token": "<|AUDIO|>",
199
+ "bos_token": null,
200
+ "clean_up_tokenization_spaces": false,
201
+ "eos_token": "<|im_end|>",
202
+ "errors": "replace",
203
+ "extra_special_tokens": {
204
+ "audio_bos_token": "<|audio_bos|>",
205
+ "audio_eos_token": "<|audio_eos|>",
206
+ "audio_token": "<|AUDIO|>",
207
+ "image_token": "<|IMAGE|>",
208
+ "video_token": "<|VIDEO|>",
209
+ "vision_bos_token": "<|vision_bos|>",
210
+ "vision_eos_token": "<|vision_eos|>"
211
+ },
212
+ "image_token": "<|IMAGE|>",
213
+ "model_max_length": 32768,
214
+ "pad_token": "<|endoftext|>",
215
+ "processor_class": "Qwen2_5OmniProcessor",
216
+ "split_special_tokens": false,
217
+ "tokenizer_class": "Qwen2Tokenizer",
218
+ "unk_token": null,
219
+ "video_token": "<|VIDEO|>",
220
+ "vision_bos_token": "<|vision_bos|>",
221
+ "vision_eos_token": "<|vision_eos|>"
222
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff