Sayoyo commited on
Commit
69361be
·
verified ·
1 Parent(s): d8c2303

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
README.md CHANGED
@@ -1,3 +1,89 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ACE-Step Transcriber
2
+
3
+ ## Description
4
+
5
+ ACE-Step Transcriber is the annotation model used by **ACE-Step v1.5** for training data labeling. It is a powerful multilingual audio transcription model capable of transcribing both **speech** and **singing voice** with high accuracy.
6
+
7
+ ### Key Features
8
+
9
+ - 🌍 **50+ Languages Support** - Covers major world languages and regional dialects
10
+ - 🎤 **Speech Transcription** - Accurately transcribes spoken content
11
+ - 🎵 **Singing Voice Transcription** - Specialized in lyrics transcription with musical structure annotations
12
+ - 🏷️ **Structure Annotation** - Automatically identifies song sections (verse, chorus, bridge, etc.)
13
+
14
+ ## Usage
15
+
16
+ The usage is the same as [Qwen2.5 Omni-7B](https://huggingface.co/Qwen/Qwen2.5-Omni-7B).
17
+
18
+ ### Prompt Format
19
+
20
+ Use the following prompt to transcribe audio:
21
+
22
+ ```
23
+ *Task* Transcribe this audio in detail
24
+ <audio>
25
+ ```
26
+
27
+ ### Output Format
28
+
29
+ The model outputs structured content in the following format:
30
+
31
+ ```
32
+ # Languages
33
+ <language_code>
34
+
35
+ # Lyrics
36
+ [Section Tag - Optional Instrument]
37
+
38
+ <transcribed content>
39
+ ...
40
+ ```
41
+
42
+ ### Example Output
43
+
44
+ ```
45
+ # Languages
46
+ en
47
+
48
+ # Lyrics
49
+ [Intro - Acoustic Guitar]
50
+
51
+ [Verse 1]
52
+ Walking down the empty street tonight
53
+ Stars are shining oh so bright
54
+ ...
55
+
56
+ [Chorus]
57
+ This is where we belong
58
+ Singing our favorite song
59
+ ...
60
+ ```
61
+
62
+ ### Supported Section Tags
63
+
64
+ - `[Intro]`, `[Outro]`
65
+ - `[Verse 1]`, `[Verse 2]`, etc.
66
+ - `[Chorus]`, `[Pre-Chorus]`, `[Post-Chorus]`
67
+ - `[Bridge]`
68
+ - `[Guitar Interlude]`, `[Instrumental]`
69
+ - `[Spoken]`
70
+
71
+ ### Supported Languages (50+)
72
+
73
+ The model supports transcription in over 50 languages, including but not limited to:
74
+
75
+ | Region | Languages |
76
+ |--------|-----------|
77
+ | **East Asia** | Chinese (zh), Japanese (ja), Korean (ko) |
78
+ | **Southeast Asia** | Vietnamese (vi), Thai (th), Indonesian (id), Malay (ms), Filipino (tl) |
79
+ | **South Asia** | Hindi (hi), Bengali (bn), Tamil (ta), Urdu (ur) |
80
+ | **Europe** | English (en), German (de), French (fr), Spanish (es), Italian (it), Portuguese (pt), Russian (ru), Polish (pl), Dutch (nl), Greek (el), Turkish (tr) |
81
+ | **Middle East** | Arabic (ar), Hebrew (he), Persian (fa) |
82
+ | **Others** | And many more regional languages... |
83
+
84
+ ## Use Cases
85
+
86
+ - **Music Production** - Transcribe reference tracks for lyrics extraction
87
+ - **Dataset Creation** - Generate high-quality labeled data for music AI models
88
+ - **Accessibility** - Create subtitles and captions for audio content
89
+ - **Music Analysis** - Extract structural information from songs
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
+ }
args.json ADDED
@@ -0,0 +1,477 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "output_dir": "/root/data/repo/keylxiao/audio_caption_gemma_3n_ft/swift_full_output_0813/audio_lyric_transcriber_full_length_grpo",
3
+ "overwrite_output_dir": false,
4
+ "do_train": false,
5
+ "do_eval": false,
6
+ "do_predict": false,
7
+ "eval_strategy": "no",
8
+ "prediction_loss_only": false,
9
+ "per_device_train_batch_size": 1,
10
+ "per_device_eval_batch_size": 1,
11
+ "per_gpu_train_batch_size": null,
12
+ "per_gpu_eval_batch_size": null,
13
+ "gradient_accumulation_steps": 1,
14
+ "eval_accumulation_steps": null,
15
+ "eval_delay": 0,
16
+ "torch_empty_cache_steps": null,
17
+ "learning_rate": 1e-05,
18
+ "weight_decay": 0.1,
19
+ "adam_beta1": 0.9,
20
+ "adam_beta2": 0.95,
21
+ "adam_epsilon": 1e-08,
22
+ "max_grad_norm": 1.0,
23
+ "num_train_epochs": 3.0,
24
+ "max_steps": 2000,
25
+ "lr_scheduler_type": "cosine",
26
+ "lr_scheduler_kwargs": null,
27
+ "warmup_ratio": 0.05,
28
+ "warmup_steps": 0,
29
+ "log_level": "passive",
30
+ "log_level_replica": "warning",
31
+ "log_on_each_node": true,
32
+ "logging_dir": "/root/data/repo/keylxiao/audio_caption_gemma_3n_ft/swift_full_output_0813/audio_lyric_transcriber_full_length_grpo/runs",
33
+ "logging_strategy": "steps",
34
+ "logging_first_step": true,
35
+ "logging_steps": 5,
36
+ "logging_nan_inf_filter": true,
37
+ "save_strategy": "steps",
38
+ "save_steps": 500.0,
39
+ "save_total_limit": 5,
40
+ "save_safetensors": true,
41
+ "save_on_each_node": false,
42
+ "save_only_model": true,
43
+ "restore_callback_states_from_checkpoint": false,
44
+ "no_cuda": false,
45
+ "use_cpu": false,
46
+ "use_mps_device": false,
47
+ "seed": 42,
48
+ "data_seed": 42,
49
+ "jit_mode_eval": false,
50
+ "use_ipex": false,
51
+ "bf16": true,
52
+ "fp16": false,
53
+ "fp16_opt_level": "O1",
54
+ "half_precision_backend": "auto",
55
+ "bf16_full_eval": false,
56
+ "fp16_full_eval": false,
57
+ "tf32": null,
58
+ "local_rank": 0,
59
+ "ddp_backend": null,
60
+ "tpu_num_cores": null,
61
+ "tpu_metrics_debug": false,
62
+ "debug": null,
63
+ "dataloader_drop_last": false,
64
+ "eval_steps": 500.0,
65
+ "dataloader_num_workers": 8,
66
+ "dataloader_prefetch_factor": null,
67
+ "past_index": -1,
68
+ "run_name": "/root/data/repo/keylxiao/audio_caption_gemma_3n_ft/swift_full_output_0813/audio_lyric_transcriber_full_length_grpo",
69
+ "disable_tqdm": null,
70
+ "remove_unused_columns": false,
71
+ "label_names": null,
72
+ "load_best_model_at_end": false,
73
+ "metric_for_best_model": "reward",
74
+ "greater_is_better": true,
75
+ "ignore_data_skip": false,
76
+ "fsdp": "",
77
+ "fsdp_min_num_params": 0,
78
+ "fsdp_config": null,
79
+ "fsdp_transformer_layer_cls_to_wrap": null,
80
+ "accelerator_config": {
81
+ "dispatch_batches": false
82
+ },
83
+ "deepspeed": {
84
+ "fp16": {
85
+ "enabled": "auto",
86
+ "loss_scale": 0,
87
+ "loss_scale_window": 1000,
88
+ "initial_scale_power": 16,
89
+ "hysteresis": 2,
90
+ "min_loss_scale": 1
91
+ },
92
+ "bf16": {
93
+ "enabled": "auto"
94
+ },
95
+ "zero_optimization": {
96
+ "stage": 2,
97
+ "offload_optimizer": {
98
+ "device": "none",
99
+ "pin_memory": true
100
+ },
101
+ "allgather_partitions": true,
102
+ "allgather_bucket_size": 200000000.0,
103
+ "overlap_comm": false,
104
+ "reduce_scatter": true,
105
+ "reduce_bucket_size": 200000000.0,
106
+ "contiguous_gradients": true
107
+ },
108
+ "gradient_accumulation_steps": "auto",
109
+ "gradient_clipping": "auto",
110
+ "steps_per_print": 2000,
111
+ "train_batch_size": "auto",
112
+ "train_micro_batch_size_per_gpu": "auto",
113
+ "wall_clock_breakdown": false
114
+ },
115
+ "label_smoothing_factor": 0.0,
116
+ "optim": "adamw_torch",
117
+ "optim_args": null,
118
+ "adafactor": false,
119
+ "group_by_length": false,
120
+ "length_column_name": "length",
121
+ "report_to": [
122
+ "tensorboard"
123
+ ],
124
+ "ddp_find_unused_parameters": null,
125
+ "ddp_bucket_cap_mb": null,
126
+ "ddp_broadcast_buffers": null,
127
+ "dataloader_pin_memory": true,
128
+ "dataloader_persistent_workers": false,
129
+ "skip_memory_metrics": true,
130
+ "use_legacy_prediction_loop": false,
131
+ "push_to_hub": false,
132
+ "resume_from_checkpoint": null,
133
+ "hub_model_id": null,
134
+ "hub_strategy": "every_save",
135
+ "hub_token": null,
136
+ "hub_private_repo": null,
137
+ "hub_always_push": false,
138
+ "hub_revision": null,
139
+ "gradient_checkpointing": true,
140
+ "gradient_checkpointing_kwargs": null,
141
+ "include_inputs_for_metrics": false,
142
+ "include_for_metrics": [],
143
+ "eval_do_concat_batches": true,
144
+ "fp16_backend": "auto",
145
+ "push_to_hub_model_id": null,
146
+ "push_to_hub_organization": null,
147
+ "push_to_hub_token": null,
148
+ "mp_parameters": "",
149
+ "auto_find_batch_size": false,
150
+ "full_determinism": false,
151
+ "torchdynamo": null,
152
+ "ray_scope": "last",
153
+ "ddp_timeout": 18000000,
154
+ "torch_compile": false,
155
+ "torch_compile_backend": null,
156
+ "torch_compile_mode": null,
157
+ "include_tokens_per_second": false,
158
+ "include_num_input_tokens_seen": false,
159
+ "neftune_noise_alpha": 0.0,
160
+ "optim_target_modules": null,
161
+ "batch_eval_metrics": false,
162
+ "eval_on_start": false,
163
+ "use_liger_kernel": true,
164
+ "liger_kernel_config": null,
165
+ "eval_use_gather_object": false,
166
+ "average_tokens_across_devices": false,
167
+ "sortish_sampler": false,
168
+ "predict_with_generate": false,
169
+ "generation_max_length": null,
170
+ "generation_num_beams": null,
171
+ "generation_config": null,
172
+ "vit_gradient_checkpointing": null,
173
+ "check_model": true,
174
+ "acc_strategy": "token",
175
+ "train_dataloader_shuffle": true,
176
+ "max_epochs": null,
177
+ "aligner_lr": null,
178
+ "vit_lr": null,
179
+ "optimizer": null,
180
+ "use_logits_to_keep": null,
181
+ "channels": null,
182
+ "ds3_gather_for_generation": true,
183
+ "resume_only_model": false,
184
+ "metric_warmup_step": 0,
185
+ "fsdp_num": 1,
186
+ "acc_steps": 1,
187
+ "eval_use_evalscope": false,
188
+ "eval_dataset": [],
189
+ "eval_dataset_args": null,
190
+ "eval_limit": null,
191
+ "eval_generation_config": null,
192
+ "model": "/root/data/repo/keylxiao/audio_caption_gemma_3n_ft/swift_full_output_0813/audio_lyric_transcriber_full_length_dft/checkpoint-10000",
193
+ "model_type": "qwen2_5_omni",
194
+ "model_revision": null,
195
+ "task_type": "causal_lm",
196
+ "torch_dtype": "bfloat16",
197
+ "attn_impl": "flash_attn",
198
+ "new_special_tokens": [],
199
+ "num_labels": null,
200
+ "problem_type": null,
201
+ "rope_scaling": null,
202
+ "device_map": null,
203
+ "max_memory": {},
204
+ "local_repo_path": null,
205
+ "init_strategy": null,
206
+ "template": "qwen2_5_omni",
207
+ "system": null,
208
+ "max_length": 16384,
209
+ "truncation_strategy": "left",
210
+ "max_pixels": null,
211
+ "agent_template": null,
212
+ "norm_bbox": null,
213
+ "use_chat_template": true,
214
+ "padding_free": false,
215
+ "padding_side": "right",
216
+ "loss_scale": "last_round",
217
+ "sequence_parallel_size": 1,
218
+ "response_prefix": null,
219
+ "template_backend": "swift",
220
+ "dataset": [
221
+ "/root/data/repo/gongjunmin/acestep_v15_train/data/ace_step_v15/gemini_captions_qwen3_30b_moe/omini_audio_lyric_prompt_model_train_data_4M.parquet"
222
+ ],
223
+ "val_dataset": [],
224
+ "split_dataset_ratio": 0.0,
225
+ "dataset_num_proc": 1,
226
+ "load_from_cache_file": true,
227
+ "dataset_shuffle": true,
228
+ "val_dataset_shuffle": false,
229
+ "streaming": false,
230
+ "interleave_prob": null,
231
+ "stopping_strategy": "first_exhausted",
232
+ "shuffle_buffer_size": 1000,
233
+ "download_mode": "reuse_dataset_if_exists",
234
+ "columns": {},
235
+ "strict": false,
236
+ "model_name": null,
237
+ "model_author": null,
238
+ "custom_dataset_info": [],
239
+ "quant_method": null,
240
+ "quant_bits": null,
241
+ "hqq_axis": null,
242
+ "bnb_4bit_compute_dtype": "bfloat16",
243
+ "bnb_4bit_quant_type": "nf4",
244
+ "bnb_4bit_use_double_quant": true,
245
+ "bnb_4bit_quant_storage": null,
246
+ "max_new_tokens": 512,
247
+ "temperature": 1.0,
248
+ "top_k": 50,
249
+ "top_p": 0.99,
250
+ "repetition_penalty": 1.0,
251
+ "num_beams": 1,
252
+ "stream": false,
253
+ "stop_words": [],
254
+ "logprobs": false,
255
+ "top_logprobs": null,
256
+ "ckpt_dir": "/root/data/repo/keylxiao/audio_caption_gemma_3n_ft/swift_full_output_0813/audio_lyric_transcriber_full_length_dft/checkpoint-10000",
257
+ "lora_modules": [],
258
+ "tuner_backend": "peft",
259
+ "train_type": "lora",
260
+ "adapters": [],
261
+ "external_plugins": [
262
+ "/root/data/repo/keylxiao/audio_caption_gemma_3n_ft/ms-swift/examples/train/grpo/plugin/plugin.py"
263
+ ],
264
+ "model_kwargs": {},
265
+ "load_args": false,
266
+ "load_data_args": false,
267
+ "packing": false,
268
+ "custom_register_path": [],
269
+ "use_hf": false,
270
+ "ignore_args_error": true,
271
+ "use_swift_lora": false,
272
+ "freeze_parameters": [],
273
+ "freeze_parameters_regex": null,
274
+ "freeze_parameters_ratio": 0.0,
275
+ "trainable_parameters": [],
276
+ "trainable_parameters_regex": null,
277
+ "freeze_llm": false,
278
+ "freeze_vit": true,
279
+ "freeze_aligner": true,
280
+ "target_modules": [
281
+ "all-linear"
282
+ ],
283
+ "target_regex": null,
284
+ "modules_to_save": [],
285
+ "lora_rank": 32,
286
+ "lora_alpha": 128,
287
+ "lora_dropout": 0.05,
288
+ "lora_bias": "none",
289
+ "lora_dtype": null,
290
+ "lorap_lr_ratio": null,
291
+ "use_rslora": false,
292
+ "use_dora": false,
293
+ "lora_ga_batch_size": 2,
294
+ "lora_ga_iters": 2,
295
+ "lora_ga_max_length": 1024,
296
+ "lora_ga_direction": "ArB2r",
297
+ "lora_ga_scale": "stable",
298
+ "lora_ga_stable_gamma": 16,
299
+ "init_weights": true,
300
+ "fourier_n_frequency": 2000,
301
+ "fourier_scaling": 300.0,
302
+ "boft_block_size": 4,
303
+ "boft_block_num": 0,
304
+ "boft_n_butterfly_factor": 1,
305
+ "boft_dropout": 0.0,
306
+ "vera_rank": 256,
307
+ "vera_projection_prng_key": 0,
308
+ "vera_dropout": 0.0,
309
+ "vera_d_initial": 0.1,
310
+ "adapter_act": "gelu",
311
+ "adapter_length": 128,
312
+ "use_galore": false,
313
+ "galore_target_modules": null,
314
+ "galore_rank": 128,
315
+ "galore_update_proj_gap": 50,
316
+ "galore_scale": 1.0,
317
+ "galore_proj_type": "std",
318
+ "galore_optim_per_parameter": false,
319
+ "galore_with_embedding": false,
320
+ "galore_quantization": false,
321
+ "galore_proj_quant": false,
322
+ "galore_proj_bits": 4,
323
+ "galore_proj_group_size": 256,
324
+ "galore_cos_threshold": 0.4,
325
+ "galore_gamma_proj": 2,
326
+ "galore_queue_size": 5,
327
+ "adalora_target_r": 8,
328
+ "adalora_init_r": 12,
329
+ "adalora_tinit": 0,
330
+ "adalora_tfinal": 0,
331
+ "adalora_deltaT": 1,
332
+ "adalora_beta1": 0.85,
333
+ "adalora_beta2": 0.85,
334
+ "adalora_orth_reg_weight": 0.5,
335
+ "llamapro_num_new_blocks": 4,
336
+ "llamapro_num_groups": null,
337
+ "lisa_activated_layers": 0,
338
+ "lisa_step_interval": 20,
339
+ "reft_layer_key": null,
340
+ "reft_layers": null,
341
+ "reft_rank": 4,
342
+ "reft_intervention_type": "LoreftIntervention",
343
+ "reft_args": null,
344
+ "swanlab_token": null,
345
+ "swanlab_project": null,
346
+ "swanlab_workspace": null,
347
+ "swanlab_exp_name": null,
348
+ "swanlab_lark_webhook_url": null,
349
+ "swanlab_lark_secret": null,
350
+ "swanlab_mode": "cloud",
351
+ "add_version": false,
352
+ "create_checkpoint_symlink": false,
353
+ "lazy_tokenize": true,
354
+ "loss_type": "grpo",
355
+ "metric": null,
356
+ "zero_hpz_partition_size": null,
357
+ "sft_alpha": 0,
358
+ "reward_model": [
359
+ "/root/data/repo/keylxiao/audio_caption_gemma_3n_ft/swift_full_output_0813/audio_lyric_reward_full_length_rlhf/checkpoint-10000"
360
+ ],
361
+ "reward_adapters": [],
362
+ "reward_model_type": null,
363
+ "reward_model_revision": null,
364
+ "num_ppo_epochs": 4,
365
+ "whiten_rewards": false,
366
+ "kl_coef": 0.05,
367
+ "cliprange": 0.2,
368
+ "vf_coef": 0.1,
369
+ "cliprange_value": 0.2,
370
+ "gamma": 1.0,
371
+ "lam": 0.95,
372
+ "num_mini_batches": 1,
373
+ "local_rollout_forward_batch_size": 64,
374
+ "num_sample_generations": 10,
375
+ "response_length": 512,
376
+ "missing_eos_penalty": null,
377
+ "vllm_gpu_memory_utilization": 0.85,
378
+ "vllm_tensor_parallel_size": 1,
379
+ "vllm_pipeline_parallel_size": 1,
380
+ "vllm_max_num_seqs": 256,
381
+ "vllm_max_model_len": 16384,
382
+ "vllm_disable_custom_all_reduce": true,
383
+ "vllm_enforce_eager": false,
384
+ "vllm_limit_mm_per_prompt": {},
385
+ "vllm_max_lora_rank": 16,
386
+ "vllm_enable_prefix_caching": true,
387
+ "vllm_use_async_engine": false,
388
+ "vllm_quantization": null,
389
+ "vllm_data_parallel_size": 1,
390
+ "gpu_memory_utilization": null,
391
+ "tensor_parallel_size": null,
392
+ "max_model_len": null,
393
+ "limit_mm_per_prompt": null,
394
+ "data_parallel_size": null,
395
+ "use_async_engine": null,
396
+ "epsilon": 0.2,
397
+ "epsilon_high": null,
398
+ "delta": null,
399
+ "vllm_mode": "colocate",
400
+ "vllm_server_base_url": null,
401
+ "vllm_server_host": null,
402
+ "vllm_server_port": [
403
+ 8000
404
+ ],
405
+ "vllm_server_timeout": 240.0,
406
+ "cosine_min_len_value_wrong": -0.5,
407
+ "cosine_max_len_value_wrong": 0.0,
408
+ "cosine_min_len_value_correct": 1.0,
409
+ "cosine_max_len_value_correct": 0.5,
410
+ "cosine_max_len": null,
411
+ "repetition_n_grams": 3,
412
+ "repetition_max_penalty": -1.0,
413
+ "reward_model_plugin": [
414
+ "audio_lyric_rm"
415
+ ],
416
+ "sync_ref_model": false,
417
+ "ref_model_sync_steps": 512,
418
+ "ref_model_mixup_alpha": 0.6,
419
+ "async_generate": false,
420
+ "sleep_level": 1,
421
+ "move_model_batches": null,
422
+ "offload_optimizer": true,
423
+ "offload_model": true,
424
+ "gc_collect_after_offload": false,
425
+ "multi_turn_func": null,
426
+ "multi_turn_scheduler": null,
427
+ "max_turns": null,
428
+ "completion_length_limit_scope": "per_round",
429
+ "dynamic_sample": false,
430
+ "max_resample_times": 3,
431
+ "overlong_filter": false,
432
+ "soft_max_length": null,
433
+ "soft_cache_length": null,
434
+ "scale_rewards": true,
435
+ "log_entropy": false,
436
+ "top_entropy_quantile": 1.0,
437
+ "wandb_log_unique_prompts": null,
438
+ "generation_batch_size": null,
439
+ "steps_per_generation": null,
440
+ "num_generations": 8,
441
+ "reward_funcs": [],
442
+ "reward_weights": [
443
+ 1.0
444
+ ],
445
+ "log_completions": true,
446
+ "use_vllm": true,
447
+ "num_iterations": 1,
448
+ "teacher_model": null,
449
+ "teacher_adapters": [],
450
+ "teacher_model_type": null,
451
+ "teacher_model_revision": null,
452
+ "rlhf_type": "grpo",
453
+ "ref_model": null,
454
+ "ref_model_type": null,
455
+ "ref_model_revision": null,
456
+ "beta": 0.04,
457
+ "label_smoothing": 0,
458
+ "max_completion_length": 512,
459
+ "rpo_alpha": 1.0,
460
+ "cpo_alpha": 1.0,
461
+ "simpo_gamma": 1,
462
+ "desirable_weight": 1.0,
463
+ "undesirable_weight": 1.0,
464
+ "center_rewards_coefficient": null,
465
+ "lmbda": 0.5,
466
+ "seq_kd": false,
467
+ "rank": 0,
468
+ "global_world_size": 120,
469
+ "local_world_size": 8,
470
+ "model_suffix": "checkpoint-10000",
471
+ "model_info": "ModelInfo(model_type='qwen2_5_omni', model_dir='/root/data/repo/keylxiao/audio_caption_gemma_3n_ft/swift_full_output_0813/audio_lyric_transcriber_full_length_dft/checkpoint-10000', torch_dtype=torch.bfloat16, max_model_len=32768, quant_method=None, quant_bits=None, rope_scaling={'mrope_section': [16, 24, 24], 'rope_type': 'default', 'type': 'default'}, is_moe_model=False, config=None, task_type='causal_lm', num_labels=None)",
472
+ "model_meta": "ModelMeta(model_type='qwen2_5_omni', model_groups=[ModelGroup(models=[Model(ms_model_id='Qwen/Qwen2.5-Omni-3B', hf_model_id='Qwen/Qwen2.5-Omni-3B', model_path=None, ms_revision=None, hf_revision=None), Model(ms_model_id='Qwen/Qwen2.5-Omni-7B', hf_model_id='Qwen/Qwen2.5-Omni-7B', model_path=None, ms_revision=None, hf_revision=None)], ignore_patterns=None, requires=None, tags=[])], template='qwen2_5_omni', get_function=<function get_model_tokenizer_qwen2_5_omni at 0x7f5057aa6f80>, model_arch='qwen2_5_omni', architectures=['Qwen2_5OmniModel', 'Qwen2_5OmniForConditionalGeneration'], additional_saved_files=['spk_dict.pt'], torch_dtype=None, is_multimodal=True, is_reward=True, task_type=None, ignore_patterns=[], requires=['transformers>=4.50', 'soundfile', 'qwen_omni_utils', 'decord'], tags=['vision', 'video', 'audio'])",
473
+ "model_dir": "/root/data/repo/keylxiao/audio_caption_gemma_3n_ft/swift_full_output_0813/audio_lyric_transcriber_full_length_dft/checkpoint-10000",
474
+ "hub": "<class 'swift.hub.hub.MSHub'>",
475
+ "evaluation_strategy": "steps",
476
+ "training_args": "GRPOConfig(output_dir='/root/data/repo/keylxiao/audio_caption_gemma_3n_ft/swift_full_output_0813/audio_lyric_transcriber_full_length_grpo', overwrite_output_dir=False, do_train=False, do_eval=False, do_predict=False, eval_strategy=<IntervalStrategy.NO: 'no'>, prediction_loss_only=False, per_device_train_batch_size=1, per_device_eval_batch_size=1, per_gpu_train_batch_size=None, per_gpu_eval_batch_size=None, gradient_accumulation_steps=1, eval_accumulation_steps=None, eval_delay=0, torch_empty_cache_steps=None, learning_rate=1e-05, weight_decay=0.1, adam_beta1=0.9, adam_beta2=0.95, adam_epsilon=1e-08, max_grad_norm=1.0, num_train_epochs=3.0, max_steps=2000, lr_scheduler_type=<SchedulerType.COSINE: 'cosine'>, lr_scheduler_kwargs=None, warmup_ratio=0.05, warmup_steps=0, log_level='passive', log_level_replica='warning', log_on_each_node=True, logging_dir='/root/data/repo/keylxiao/audio_caption_gemma_3n_ft/swift_full_output_0813/audio_lyric_transcriber_full_length_grpo/runs', logging_strategy=<IntervalStrategy.STEPS: 'steps'>, logging_first_step=True, logging_steps=5, logging_nan_inf_filter=True, save_strategy=<SaveStrategy.STEPS: 'steps'>, save_steps=500, save_total_limit=5, save_safetensors=True, save_on_each_node=False, save_only_model=True, restore_callback_states_from_checkpoint=False, no_cuda=False, use_cpu=False, use_mps_device=False, seed=42, data_seed=42, jit_mode_eval=False, use_ipex=False, bf16=True, fp16=False, fp16_opt_level='O1', half_precision_backend='auto', bf16_full_eval=False, fp16_full_eval=False, tf32=None, local_rank=0, ddp_backend=None, tpu_num_cores=None, tpu_metrics_debug=False, debug=[], dataloader_drop_last=True, eval_steps=500.0, dataloader_num_workers=8, dataloader_prefetch_factor=10, past_index=-1, run_name='/root/data/repo/keylxiao/audio_caption_gemma_3n_ft/swift_full_output_0813/audio_lyric_transcriber_full_length_grpo', disable_tqdm=False, remove_unused_columns=False, label_names=None, load_best_model_at_end=False, metric_for_best_model='reward', greater_is_better=True, ignore_data_skip=False, fsdp=[], fsdp_min_num_params=0, fsdp_config={'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}, fsdp_transformer_layer_cls_to_wrap=None, accelerator_config=AcceleratorConfig(split_batches=False, dispatch_batches=False, even_batches=True, use_seedable_sampler=True, non_blocking=False, gradient_accumulation_kwargs=None, use_configured_state=False), deepspeed={'fp16': {'enabled': 'auto', 'loss_scale': 0, 'loss_scale_window': 1000, 'initial_scale_power': 16, 'hysteresis': 2, 'min_loss_scale': 1}, 'bf16': {'enabled': 'auto'}, 'zero_optimization': {'stage': 2, 'offload_optimizer': {'device': 'none', 'pin_memory': True}, 'allgather_partitions': True, 'allgather_bucket_size': 200000000.0, 'overlap_comm': False, 'reduce_scatter': True, 'reduce_bucket_size': 200000000.0, 'contiguous_gradients': True}, 'gradient_accumulation_steps': 'auto', 'gradient_clipping': 'auto', 'steps_per_print': 2000, 'train_batch_size': 'auto', 'train_micro_batch_size_per_gpu': 'auto', 'wall_clock_breakdown': False}, label_smoothing_factor=0.0, optim=<OptimizerNames.ADAMW_TORCH: 'adamw_torch'>, optim_args=None, adafactor=False, group_by_length=False, length_column_name='length', report_to=['tensorboard'], ddp_find_unused_parameters=None, ddp_bucket_cap_mb=None, ddp_broadcast_buffers=None, dataloader_pin_memory=True, dataloader_persistent_workers=False, skip_memory_metrics=True, use_legacy_prediction_loop=False, push_to_hub=False, resume_from_checkpoint=None, hub_model_id=None, hub_strategy=<HubStrategy.EVERY_SAVE: 'every_save'>, hub_token=None, hub_private_repo=None, hub_always_push=False, hub_revision=None, gradient_checkpointing=True, gradient_checkpointing_kwargs=None, include_inputs_for_metrics=False, include_for_metrics=[], eval_do_concat_batches=True, fp16_backend='auto', push_to_hub_model_id=None, push_to_hub_organization=None, push_to_hub_token=None, mp_parameters='', auto_find_batch_size=False, full_determinism=False, torchdynamo=None, ray_scope='last', ddp_timeout=18000000, torch_compile=False, torch_compile_backend=None, torch_compile_mode=None, include_tokens_per_second=None, include_num_input_tokens_seen=None, neftune_noise_alpha=0.0, optim_target_modules=None, batch_eval_metrics=False, eval_on_start=False, use_liger_kernel=True, liger_kernel_config=None, eval_use_gather_object=False, average_tokens_across_devices=None, model_init_kwargs=None, disable_dropout=False, max_prompt_length=512, num_generations=8, max_completion_length=512, ds3_gather_for_generation=True, shuffle_dataset=True, generation_batch_size=120, steps_per_generation=1, temperature=1.0, top_p=0.99, top_k=50, min_p=None, generation_kwargs=None, repetition_penalty=1.0, cache_implementation=None, use_vllm=True, vllm_server_base_url=None, vllm_mode='colocate', vllm_guided_decoding_regex=None, vllm_server_host=None, vllm_server_port=[8000], vllm_server_timeout=240.0, vllm_gpu_memory_utilization=0.85, vllm_tensor_parallel_size=1, beta=0.04, num_iterations=1, epsilon=0.2, delta=None, epsilon_high=None, reward_weights=[1.0], scale_rewards=True, loss_type='grpo', mask_truncated_completions=False, sync_ref_model=False, ref_model_mixup_alpha=0.6, ref_model_sync_steps=512, use_liger_loss=False, log_completions=True, num_completions_to_print=None, wandb_log_unique_prompts=None, vit_gradient_checkpointing=True, check_model=True, acc_strategy='token', train_dataloader_shuffle=True, max_epochs=None, aligner_lr=None, vit_lr=None, optimizer=None, use_logits_to_keep=None, channels=None, resume_only_model=False, metric_warmup_step=0, fsdp_num=1, acc_steps=1, eval_use_evalscope=False, eval_dataset=[], eval_dataset_args=None, eval_limit=None, eval_generation_config=None, sft_alpha=0, train_type='lora', local_repo_path=None, galore_config=None, vllm_pipeline_parallel_size=1, vllm_max_num_seqs=256, vllm_max_model_len=16384, vllm_disable_custom_all_reduce=True, vllm_enforce_eager=False, vllm_limit_mm_per_prompt={}, vllm_max_lora_rank=16, vllm_enable_prefix_caching=True, vllm_use_async_engine=False, vllm_quantization=None, vllm_data_parallel_size=1, gpu_memory_utilization=None, tensor_parallel_size=None, max_model_len=None, limit_mm_per_prompt=None, data_parallel_size=None, use_async_engine=None, cosine_min_len_value_wrong=-0.5, cosine_max_len_value_wrong=0.0, cosine_min_len_value_correct=1.0, cosine_max_len_value_correct=0.5, cosine_max_len=512, repetition_n_grams=3, repetition_max_penalty=-1.0, reward_model=['/root/data/repo/keylxiao/audio_caption_gemma_3n_ft/swift_full_output_0813/audio_lyric_reward_full_length_rlhf/checkpoint-10000'], reward_model_plugin=['audio_lyric_rm'], async_generate=False, sleep_level=1, move_model_batches=None, offload_optimizer=True, offload_model=True, gc_collect_after_offload=False, multi_turn_func=None, multi_turn_scheduler=None, max_turns=None, completion_length_limit_scope='per_round', dynamic_sample=False, max_resample_times=3, overlong_filter=False, soft_max_length=None, soft_cache_length=None, log_entropy=False, top_entropy_quantile=1.0, dataset_shuffle=True, stop_words=[])"
477
+ }
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,635 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen2_5OmniForConditionalGeneration"
4
+ ],
5
+ "enable_audio_output": true,
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
+ "hidden_states",
15
+ "attention_mask",
16
+ "hidden_states",
17
+ "attention_mask"
18
+ ],
19
+ "model_type": "qwen2_5_omni",
20
+ "pad_token_id": 151643,
21
+ "talker_config": {
22
+ "_name_or_path": "Qwen2.5-Omni-7B/talker",
23
+ "architectures": [
24
+ "Qwen2OmniTalkerForConditionalGeneration"
25
+ ],
26
+ "attention_dropout": 0.0,
27
+ "audio_end_token_id": 151648,
28
+ "audio_start_token_id": 151647,
29
+ "audio_token_index": 151646,
30
+ "embedding_size": 3584,
31
+ "head_dim": 128,
32
+ "hidden_act": "silu",
33
+ "hidden_size": 896,
34
+ "image_token_index": 151655,
35
+ "init_std": 0.02,
36
+ "initializer_range": 0.02,
37
+ "intermediate_size": 18944,
38
+ "layer_types": [
39
+ "full_attention",
40
+ "full_attention",
41
+ "full_attention",
42
+ "full_attention",
43
+ "full_attention",
44
+ "full_attention",
45
+ "full_attention",
46
+ "full_attention",
47
+ "full_attention",
48
+ "full_attention",
49
+ "full_attention",
50
+ "full_attention",
51
+ "full_attention",
52
+ "full_attention",
53
+ "full_attention",
54
+ "full_attention",
55
+ "full_attention",
56
+ "full_attention",
57
+ "full_attention",
58
+ "full_attention",
59
+ "full_attention",
60
+ "full_attention",
61
+ "full_attention",
62
+ "full_attention"
63
+ ],
64
+ "max_position_embeddings": 32768,
65
+ "max_window_layers": 28,
66
+ "model_type": "qwen2_5_omni_talker",
67
+ "num_attention_heads": 12,
68
+ "num_hidden_layers": 24,
69
+ "num_key_value_heads": 4,
70
+ "position_id_per_seconds": 25,
71
+ "rms_norm_eps": 1e-06,
72
+ "rope_scaling": {
73
+ "mrope_section": [
74
+ 16,
75
+ 24,
76
+ 24
77
+ ],
78
+ "rope_type": "default",
79
+ "type": "default"
80
+ },
81
+ "rope_theta": 1000000.0,
82
+ "seconds_per_chunk": 2,
83
+ "sliding_window": null,
84
+ "spatial_merge_size": 2,
85
+ "torch_dtype": "bfloat16",
86
+ "tts_codec_end_token_id": 8294,
87
+ "tts_codec_mask_token_id": 8296,
88
+ "tts_codec_pad_token_id": 8292,
89
+ "tts_codec_start_token_id": 8293,
90
+ "tts_text_end_token_id": 151861,
91
+ "tts_text_pad_token_id": 151859,
92
+ "tts_text_start_token_id": 151860,
93
+ "use_cache": false,
94
+ "use_sliding_window": false,
95
+ "video_token_index": 151656,
96
+ "vision_end_token_id": 151653,
97
+ "vision_start_token_id": 151652,
98
+ "vocab_size": 8448
99
+ },
100
+ "thinker_config": {
101
+ "_name_or_path": "Qwen2.5-Omni-7B/thinker",
102
+ "architectures": [
103
+ "Qwen2OmniNaViTThinkerForConditionalGeneration"
104
+ ],
105
+ "audio_config": {
106
+ "_name_or_path": "",
107
+ "activation_dropout": 0.0,
108
+ "activation_function": "gelu",
109
+ "add_cross_attention": false,
110
+ "architectures": null,
111
+ "attention_dropout": 0.0,
112
+ "bad_words_ids": null,
113
+ "begin_suppress_tokens": null,
114
+ "bos_token_id": null,
115
+ "chunk_size_feed_forward": 0,
116
+ "cross_attention_hidden_size": null,
117
+ "d_model": 1280,
118
+ "decoder_start_token_id": null,
119
+ "diversity_penalty": 0.0,
120
+ "do_sample": false,
121
+ "dropout": 0.0,
122
+ "early_stopping": false,
123
+ "encoder_attention_heads": 20,
124
+ "encoder_ffn_dim": 5120,
125
+ "encoder_layerdrop": 0.0,
126
+ "encoder_layers": 32,
127
+ "encoder_no_repeat_ngram_size": 0,
128
+ "eos_token_id": null,
129
+ "exponential_decay_length_penalty": null,
130
+ "finetuning_task": null,
131
+ "forced_bos_token_id": null,
132
+ "forced_eos_token_id": null,
133
+ "id2label": {
134
+ "0": "LABEL_0",
135
+ "1": "LABEL_1"
136
+ },
137
+ "init_std": 0.02,
138
+ "initializer_range": 0.02,
139
+ "is_decoder": false,
140
+ "is_encoder_decoder": false,
141
+ "label2id": {
142
+ "LABEL_0": 0,
143
+ "LABEL_1": 1
144
+ },
145
+ "length_penalty": 1.0,
146
+ "max_length": 20,
147
+ "max_source_positions": 1500,
148
+ "min_length": 0,
149
+ "model_type": "qwen2_5_omni_audio_encoder",
150
+ "n_window": 100,
151
+ "no_repeat_ngram_size": 0,
152
+ "num_beam_groups": 1,
153
+ "num_beams": 1,
154
+ "num_hidden_layers": 32,
155
+ "num_mel_bins": 128,
156
+ "num_return_sequences": 1,
157
+ "output_attentions": false,
158
+ "output_dim": 3584,
159
+ "output_hidden_states": false,
160
+ "output_scores": false,
161
+ "pad_token_id": null,
162
+ "prefix": null,
163
+ "problem_type": null,
164
+ "pruned_heads": {},
165
+ "remove_invalid_values": false,
166
+ "repetition_penalty": 1.0,
167
+ "return_dict": true,
168
+ "return_dict_in_generate": false,
169
+ "scale_embedding": false,
170
+ "sep_token_id": null,
171
+ "suppress_tokens": null,
172
+ "task_specific_params": null,
173
+ "temperature": 1.0,
174
+ "tf_legacy_loss": false,
175
+ "tie_encoder_decoder": false,
176
+ "tie_word_embeddings": true,
177
+ "tokenizer_class": null,
178
+ "top_k": 50,
179
+ "top_p": 1.0,
180
+ "torch_dtype": null,
181
+ "torchscript": false,
182
+ "typical_p": 1.0,
183
+ "use_bfloat16": false
184
+ },
185
+ "audio_end_token_id": 151648,
186
+ "audio_start_token_id": 151647,
187
+ "audio_token_index": 151646,
188
+ "bos_token_id": 151644,
189
+ "eos_token_id": 151645,
190
+ "ignore_index": -100,
191
+ "image_token_index": 151655,
192
+ "init_std": 0.02,
193
+ "initializer_range": 0.02,
194
+ "model_type": "qwen2_5_omni_thinker",
195
+ "pad_token_id": 151643,
196
+ "position_id_per_seconds": 25,
197
+ "seconds_per_chunk": 2,
198
+ "text_config": {
199
+ "_name_or_path": "",
200
+ "add_cross_attention": false,
201
+ "architectures": null,
202
+ "attention_dropout": 0.0,
203
+ "bad_words_ids": null,
204
+ "begin_suppress_tokens": null,
205
+ "bos_token_id": null,
206
+ "chunk_size_feed_forward": 0,
207
+ "cross_attention_hidden_size": null,
208
+ "decoder_start_token_id": null,
209
+ "diversity_penalty": 0.0,
210
+ "do_sample": false,
211
+ "early_stopping": false,
212
+ "encoder_no_repeat_ngram_size": 0,
213
+ "eos_token_id": null,
214
+ "exponential_decay_length_penalty": null,
215
+ "finetuning_task": null,
216
+ "forced_bos_token_id": null,
217
+ "forced_eos_token_id": null,
218
+ "hidden_act": "silu",
219
+ "hidden_size": 3584,
220
+ "id2label": {
221
+ "0": "LABEL_0",
222
+ "1": "LABEL_1"
223
+ },
224
+ "init_std": 0.02,
225
+ "initializer_range": 0.02,
226
+ "intermediate_size": 18944,
227
+ "is_decoder": false,
228
+ "is_encoder_decoder": false,
229
+ "label2id": {
230
+ "LABEL_0": 0,
231
+ "LABEL_1": 1
232
+ },
233
+ "layer_types": [
234
+ "full_attention",
235
+ "full_attention",
236
+ "full_attention",
237
+ "full_attention",
238
+ "full_attention",
239
+ "full_attention",
240
+ "full_attention",
241
+ "full_attention",
242
+ "full_attention",
243
+ "full_attention",
244
+ "full_attention",
245
+ "full_attention",
246
+ "full_attention",
247
+ "full_attention",
248
+ "full_attention",
249
+ "full_attention",
250
+ "full_attention",
251
+ "full_attention",
252
+ "full_attention",
253
+ "full_attention",
254
+ "full_attention",
255
+ "full_attention",
256
+ "full_attention",
257
+ "full_attention",
258
+ "full_attention",
259
+ "full_attention",
260
+ "full_attention",
261
+ "full_attention"
262
+ ],
263
+ "length_penalty": 1.0,
264
+ "max_length": 20,
265
+ "max_position_embeddings": 32768,
266
+ "max_window_layers": 28,
267
+ "min_length": 0,
268
+ "model_type": "qwen2_5_omni_text",
269
+ "no_repeat_ngram_size": 0,
270
+ "num_attention_heads": 28,
271
+ "num_beam_groups": 1,
272
+ "num_beams": 1,
273
+ "num_hidden_layers": 28,
274
+ "num_key_value_heads": 4,
275
+ "num_return_sequences": 1,
276
+ "output_attentions": false,
277
+ "output_hidden_states": false,
278
+ "output_scores": false,
279
+ "pad_token_id": null,
280
+ "prefix": null,
281
+ "problem_type": null,
282
+ "pruned_heads": {},
283
+ "remove_invalid_values": false,
284
+ "repetition_penalty": 1.0,
285
+ "return_dict": true,
286
+ "return_dict_in_generate": false,
287
+ "rms_norm_eps": 1e-06,
288
+ "rope_scaling": {
289
+ "mrope_section": [
290
+ 16,
291
+ 24,
292
+ 24
293
+ ],
294
+ "rope_type": "default",
295
+ "type": "default"
296
+ },
297
+ "rope_theta": 1000000.0,
298
+ "sep_token_id": null,
299
+ "sliding_window": null,
300
+ "suppress_tokens": null,
301
+ "task_specific_params": null,
302
+ "temperature": 1.0,
303
+ "tf_legacy_loss": false,
304
+ "tie_encoder_decoder": false,
305
+ "tie_word_embeddings": false,
306
+ "tokenizer_class": null,
307
+ "top_k": 50,
308
+ "top_p": 1.0,
309
+ "torch_dtype": null,
310
+ "torchscript": false,
311
+ "typical_p": 1.0,
312
+ "use_bfloat16": false,
313
+ "use_cache": true,
314
+ "use_sliding_window": false,
315
+ "vocab_size": 152064
316
+ },
317
+ "torch_dtype": "bfloat16",
318
+ "user_token_id": 872,
319
+ "video_token_index": 151656,
320
+ "vision_config": {
321
+ "_name_or_path": "",
322
+ "add_cross_attention": false,
323
+ "architectures": null,
324
+ "bad_words_ids": null,
325
+ "begin_suppress_tokens": null,
326
+ "bos_token_id": null,
327
+ "chunk_size_feed_forward": 0,
328
+ "cross_attention_hidden_size": null,
329
+ "decoder_start_token_id": null,
330
+ "depth": 32,
331
+ "diversity_penalty": 0.0,
332
+ "do_sample": false,
333
+ "early_stopping": false,
334
+ "embed_dim": 1280,
335
+ "encoder_no_repeat_ngram_size": 0,
336
+ "eos_token_id": null,
337
+ "exponential_decay_length_penalty": null,
338
+ "finetuning_task": null,
339
+ "forced_bos_token_id": null,
340
+ "forced_eos_token_id": null,
341
+ "fullatt_block_indexes": [
342
+ 7,
343
+ 15,
344
+ 23,
345
+ 31
346
+ ],
347
+ "hidden_act": "silu",
348
+ "hidden_size": 1280,
349
+ "id2label": {
350
+ "0": "LABEL_0",
351
+ "1": "LABEL_1"
352
+ },
353
+ "in_channels": 3,
354
+ "in_chans": 3,
355
+ "init_std": 0.02,
356
+ "initializer_range": 0.02,
357
+ "intermediate_size": 3420,
358
+ "is_decoder": false,
359
+ "is_encoder_decoder": false,
360
+ "label2id": {
361
+ "LABEL_0": 0,
362
+ "LABEL_1": 1
363
+ },
364
+ "length_penalty": 1.0,
365
+ "max_length": 20,
366
+ "min_length": 0,
367
+ "model_type": "qwen2_5_omni_vision_encoder",
368
+ "no_repeat_ngram_size": 0,
369
+ "num_beam_groups": 1,
370
+ "num_beams": 1,
371
+ "num_heads": 16,
372
+ "num_return_sequences": 1,
373
+ "out_hidden_size": 3584,
374
+ "output_attentions": false,
375
+ "output_hidden_states": false,
376
+ "output_scores": false,
377
+ "pad_token_id": null,
378
+ "patch_size": 14,
379
+ "prefix": null,
380
+ "problem_type": null,
381
+ "pruned_heads": {},
382
+ "remove_invalid_values": false,
383
+ "repetition_penalty": 1.0,
384
+ "return_dict": true,
385
+ "return_dict_in_generate": false,
386
+ "sep_token_id": null,
387
+ "spatial_merge_size": 2,
388
+ "spatial_patch_size": 14,
389
+ "suppress_tokens": null,
390
+ "task_specific_params": null,
391
+ "temperature": 1.0,
392
+ "temporal_patch_size": 2,
393
+ "tf_legacy_loss": false,
394
+ "tie_encoder_decoder": false,
395
+ "tie_word_embeddings": true,
396
+ "tokenizer_class": null,
397
+ "tokens_per_second": 25,
398
+ "top_k": 50,
399
+ "top_p": 1.0,
400
+ "torch_dtype": null,
401
+ "torchscript": false,
402
+ "typical_p": 1.0,
403
+ "use_bfloat16": false,
404
+ "window_size": 112
405
+ },
406
+ "vision_end_token_id": 151653,
407
+ "vision_start_token_id": 151652,
408
+ "vision_token_id": 151654
409
+ },
410
+ "token2wav_config": {
411
+ "bigvgan_config": {
412
+ "_name_or_path": "",
413
+ "add_cross_attention": false,
414
+ "architectures": null,
415
+ "bad_words_ids": null,
416
+ "begin_suppress_tokens": null,
417
+ "bos_token_id": null,
418
+ "chunk_size_feed_forward": 0,
419
+ "cross_attention_hidden_size": null,
420
+ "decoder_start_token_id": null,
421
+ "diversity_penalty": 0.0,
422
+ "do_sample": false,
423
+ "early_stopping": false,
424
+ "encoder_no_repeat_ngram_size": 0,
425
+ "eos_token_id": null,
426
+ "exponential_decay_length_penalty": null,
427
+ "finetuning_task": null,
428
+ "forced_bos_token_id": null,
429
+ "forced_eos_token_id": null,
430
+ "id2label": {
431
+ "0": "LABEL_0",
432
+ "1": "LABEL_1"
433
+ },
434
+ "is_decoder": false,
435
+ "is_encoder_decoder": false,
436
+ "label2id": {
437
+ "LABEL_0": 0,
438
+ "LABEL_1": 1
439
+ },
440
+ "length_penalty": 1.0,
441
+ "max_length": 20,
442
+ "mel_dim": 80,
443
+ "min_length": 0,
444
+ "model_type": "qwen2_5_omni_bigvgan",
445
+ "no_repeat_ngram_size": 0,
446
+ "num_beam_groups": 1,
447
+ "num_beams": 1,
448
+ "num_return_sequences": 1,
449
+ "output_attentions": false,
450
+ "output_hidden_states": false,
451
+ "output_scores": false,
452
+ "pad_token_id": null,
453
+ "prefix": null,
454
+ "problem_type": null,
455
+ "pruned_heads": {},
456
+ "remove_invalid_values": false,
457
+ "repetition_penalty": 1.0,
458
+ "resblock_dilation_sizes": [
459
+ [
460
+ 1,
461
+ 3,
462
+ 5
463
+ ],
464
+ [
465
+ 1,
466
+ 3,
467
+ 5
468
+ ],
469
+ [
470
+ 1,
471
+ 3,
472
+ 5
473
+ ]
474
+ ],
475
+ "resblock_kernel_sizes": [
476
+ 3,
477
+ 7,
478
+ 11
479
+ ],
480
+ "return_dict": true,
481
+ "return_dict_in_generate": false,
482
+ "sep_token_id": null,
483
+ "suppress_tokens": null,
484
+ "task_specific_params": null,
485
+ "temperature": 1.0,
486
+ "tf_legacy_loss": false,
487
+ "tie_encoder_decoder": false,
488
+ "tie_word_embeddings": true,
489
+ "tokenizer_class": null,
490
+ "top_k": 50,
491
+ "top_p": 1.0,
492
+ "torch_dtype": null,
493
+ "torchscript": false,
494
+ "typical_p": 1.0,
495
+ "upsample_initial_channel": 1536,
496
+ "upsample_kernel_sizes": [
497
+ 11,
498
+ 7,
499
+ 4,
500
+ 4,
501
+ 4,
502
+ 4
503
+ ],
504
+ "upsample_rates": [
505
+ 5,
506
+ 3,
507
+ 2,
508
+ 2,
509
+ 2,
510
+ 2
511
+ ],
512
+ "use_bfloat16": false,
513
+ "use_bias_at_final": false
514
+ },
515
+ "dit_config": {
516
+ "_name_or_path": "",
517
+ "add_cross_attention": false,
518
+ "architectures": null,
519
+ "bad_words_ids": null,
520
+ "begin_suppress_tokens": null,
521
+ "block_size": 24,
522
+ "bos_token_id": null,
523
+ "chunk_size_feed_forward": 0,
524
+ "cross_attention_hidden_size": null,
525
+ "decoder_start_token_id": null,
526
+ "depth": 22,
527
+ "dim": 1024,
528
+ "diversity_penalty": 0.0,
529
+ "do_sample": false,
530
+ "dropout": 0.1,
531
+ "early_stopping": false,
532
+ "emb_dim": 512,
533
+ "enc_attention_channels": 64,
534
+ "enc_channels": [
535
+ 256,
536
+ 256,
537
+ 256,
538
+ 256,
539
+ 768
540
+ ],
541
+ "enc_dilations": [
542
+ 1,
543
+ 2,
544
+ 3,
545
+ 4,
546
+ 1
547
+ ],
548
+ "enc_dim": 128,
549
+ "enc_emb_dim": 192,
550
+ "enc_global_context": true,
551
+ "enc_kernel_sizes": [
552
+ 5,
553
+ 3,
554
+ 3,
555
+ 3,
556
+ 1
557
+ ],
558
+ "enc_lin_neurons": 192,
559
+ "enc_res2net_scale": 2,
560
+ "enc_se_channels": 64,
561
+ "encoder_no_repeat_ngram_size": 0,
562
+ "eos_token_id": null,
563
+ "exponential_decay_length_penalty": null,
564
+ "ff_mult": 2,
565
+ "finetuning_task": null,
566
+ "forced_bos_token_id": null,
567
+ "forced_eos_token_id": null,
568
+ "head_dim": 64,
569
+ "heads": 16,
570
+ "hidden_size": 1024,
571
+ "id2label": {
572
+ "0": "LABEL_0",
573
+ "1": "LABEL_1"
574
+ },
575
+ "is_decoder": false,
576
+ "is_encoder_decoder": false,
577
+ "label2id": {
578
+ "LABEL_0": 0,
579
+ "LABEL_1": 1
580
+ },
581
+ "length_penalty": 1.0,
582
+ "look_ahead_layers": [
583
+ 10
584
+ ],
585
+ "look_backward_layers": [
586
+ 0,
587
+ 20
588
+ ],
589
+ "max_length": 20,
590
+ "max_position_embeddings": 32768,
591
+ "mel_dim": 80,
592
+ "min_length": 0,
593
+ "model_type": "qwen2_5_omni_dit",
594
+ "no_repeat_ngram_size": 0,
595
+ "num_attention_heads": 16,
596
+ "num_beam_groups": 1,
597
+ "num_beams": 1,
598
+ "num_embeds": 8193,
599
+ "num_hidden_layers": 22,
600
+ "num_return_sequences": 1,
601
+ "output_attentions": false,
602
+ "output_hidden_states": false,
603
+ "output_scores": false,
604
+ "pad_token_id": null,
605
+ "prefix": null,
606
+ "problem_type": null,
607
+ "pruned_heads": {},
608
+ "remove_invalid_values": false,
609
+ "repeats": 2,
610
+ "repetition_penalty": 1.0,
611
+ "return_dict": true,
612
+ "return_dict_in_generate": false,
613
+ "rope_theta": 10000.0,
614
+ "sep_token_id": null,
615
+ "suppress_tokens": null,
616
+ "task_specific_params": null,
617
+ "temperature": 1.0,
618
+ "tf_legacy_loss": false,
619
+ "tie_encoder_decoder": false,
620
+ "tie_word_embeddings": true,
621
+ "tokenizer_class": null,
622
+ "top_k": 50,
623
+ "top_p": 1.0,
624
+ "torch_dtype": "float32",
625
+ "torchscript": false,
626
+ "typical_p": 1.0,
627
+ "use_bfloat16": false
628
+ },
629
+ "model_type": "qwen2_5_omni_token2wav",
630
+ "pad_token_id": 151643,
631
+ "torch_dtype": "bfloat16"
632
+ },
633
+ "torch_dtype": "bfloat16",
634
+ "transformers_version": "4.53.3"
635
+ }
file_list.txt ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ model-00005-of-00005.safetensors
2
+ config.json
3
+ spk_dict.pt
4
+ video_preprocessor_config.json
5
+ model-00004-of-00005.safetensors
6
+ vocab.json
7
+ tokenizer_config.json
8
+ chat_template.jinja
9
+ model-00002-of-00005.safetensors
10
+ model.safetensors.index.json
11
+ model-00003-of-00005.safetensors
12
+ model-00001-of-00005.safetensors
13
+ special_tokens_map.json
14
+ added_tokens.json
15
+ tokenizer.json
16
+ generation_config.json
17
+ preprocessor_config.json
18
+ merges.txt
19
+ args.json
generation_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "eos_token_id": [
4
+ 151645,
5
+ 151643
6
+ ],
7
+ "transformers_version": "4.53.3"
8
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model-00001-of-00005.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:46411d523112e6537f0d22f3189af88f5149432f8353d5ac3458ced8fb49cbf8
3
+ size 4985055536
model-00002-of-00005.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6036065a023da4df62c3cb9e186a260a43b47440d3de127d5b93dc3b618bec93
3
+ size 4991496832
model-00003-of-00005.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:071da93822e38312d02622100832b984fc8623fe864be63fb43b5a43074eed10
3
+ size 4991496936
model-00004-of-00005.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c5490dce16c93de980c69c2b23204c931f1dc7fbe2114cf301edbf350557c44
3
+ size 4969489856
model-00005-of-00005.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,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
+ }
video_preprocessor_config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "chunk_length": 300,
3
+ "crop_size": null,
4
+ "data_format": "channels_first",
5
+ "default_to_square": true,
6
+ "device": null,
7
+ "dither": 0.0,
8
+ "do_center_crop": null,
9
+ "do_convert_rgb": true,
10
+ "do_normalize": true,
11
+ "do_pad": null,
12
+ "do_rescale": true,
13
+ "do_resize": true,
14
+ "do_sample_frames": false,
15
+ "feature_extractor_type": "WhisperFeatureExtractor",
16
+ "feature_size": 128,
17
+ "fps": null,
18
+ "hop_length": 160,
19
+ "image_mean": [
20
+ 0.48145466,
21
+ 0.4578275,
22
+ 0.40821073
23
+ ],
24
+ "image_processor_type": "Qwen2VLImageProcessor",
25
+ "image_std": [
26
+ 0.26862954,
27
+ 0.26130258,
28
+ 0.27577711
29
+ ],
30
+ "input_data_format": null,
31
+ "max_frames": 768,
32
+ "max_pixels": 12845056,
33
+ "merge_size": 2,
34
+ "min_frames": 4,
35
+ "min_pixels": 3136,
36
+ "n_fft": 400,
37
+ "n_samples": 4800000,
38
+ "nb_max_frames": 30000,
39
+ "num_frames": null,
40
+ "padding_side": "right",
41
+ "padding_value": 0.0,
42
+ "patch_size": 14,
43
+ "processor_class": "Qwen2_5OmniProcessor",
44
+ "resample": 3,
45
+ "rescale_factor": 0.00392156862745098,
46
+ "return_attention_mask": true,
47
+ "sampling_rate": 16000,
48
+ "size": {
49
+ "longest_edge": 12845056,
50
+ "shortest_edge": 3136
51
+ },
52
+ "size_divisor": null,
53
+ "temporal_patch_size": 2,
54
+ "video_metadata": null,
55
+ "video_processor_type": "Qwen2VLVideoProcessor"
56
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff