EurekaTian commited on
Commit
789f831
·
verified ·
1 Parent(s): bada6e1

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