AVoCaDO-Captioner commited on
Commit
53fd331
·
verified ·
1 Parent(s): 08b0792

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