初始化项目,由ModelHub XC社区提供模型
Model: yaolily/TimeChat-Captioner-GRPO-7B Source: Original Platform
This commit is contained in:
commit
c19439e8dc
22 files changed
+162468
No files matched your search
@@ -0,0 +1,36 @@
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.arrow filter=lfs diff=lfs merge=lfs -text
|
||||
*.bin filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
||||
*.ftz filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.h5 filter=lfs diff=lfs merge=lfs -text
|
||||
*.joblib filter=lfs diff=lfs merge=lfs -text
|
||||
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
||||
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
||||
*.model filter=lfs diff=lfs merge=lfs -text
|
||||
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
||||
*.npy filter=lfs diff=lfs merge=lfs -text
|
||||
*.npz filter=lfs diff=lfs merge=lfs -text
|
||||
*.onnx filter=lfs diff=lfs merge=lfs -text
|
||||
*.ot filter=lfs diff=lfs merge=lfs -text
|
||||
*.parquet filter=lfs diff=lfs merge=lfs -text
|
||||
*.pb filter=lfs diff=lfs merge=lfs -text
|
||||
*.pickle filter=lfs diff=lfs merge=lfs -text
|
||||
*.pkl filter=lfs diff=lfs merge=lfs -text
|
||||
*.pt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pth filter=lfs diff=lfs merge=lfs -text
|
||||
*.rar filter=lfs diff=lfs merge=lfs -text
|
||||
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
||||
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
||||
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
||||
*.tar filter=lfs diff=lfs merge=lfs -text
|
||||
*.tflite filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.wasm filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
||||
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
||||
@@ -0,0 +1,158 @@
|
||||
---
|
||||
base_model:
|
||||
- Qwen/Qwen2.5-Omni-7B
|
||||
library_name: transformers
|
||||
pipeline_tag: video-text-to-text
|
||||
---
|
||||
|
||||
# TimeChat-Captioner: Scripting Multi-Scene Videos with Time-Aware and Structural Audio-Visual Captions
|
||||
|
||||
<div align="left">
|
||||
|
||||
[](https://arxiv.org/pdf/2602.08711)
|
||||
[](https://huggingface.co/yaolily/TimeChat-Captioner-GRPO-7B)
|
||||
[](https://huggingface.co/datasets/yaolily/Timechat-OmniCaptioner-40K)
|
||||
[](https://huggingface.co/datasets/yaolily/OmniDenseCap-Benchmark)
|
||||
|
||||
</div>
|
||||
|
||||
---
|
||||
|
||||
## 🌟 Overview
|
||||
|
||||
**TimeChat-Captioner** is a multimodal model designed to generate detailed, time-aware, and structurally coherent captions for multi-scene videos. It effectively coordinates visual and audio information to provide comprehensive video descriptions.
|
||||
|
||||
- **🌐 Project Page:** [timechat-captioner.github.io](https://timechat-captioner.github.io/)
|
||||
- **🏠 Model:** [TimeChat-Captioner (7B)](https://huggingface.co/yaolily/TimeChat-Captioner-GRPO-7B)
|
||||
- **💻 Code:** [GitHub Repository](https://github.com/yaolinli/TimeChat-Captioner)
|
||||
- **📚 Train Dataset:** [TimeChatCap-42K](https://huggingface.co/datasets/yaolily/Timechat-OmniCaptioner-42K)
|
||||
- **🏆 Benchmark:** [OmniDCBench](https://huggingface.co/datasets/yaolily/OmniDenseCap-Benchmark)
|
||||
|
||||
<img width="1773" height="714" alt="image" src="https://github.com/user-attachments/assets/4234857e-5ba6-4b6e-bbb7-eabd0eac2244" />
|
||||
|
||||
|
||||
---
|
||||
|
||||
## 🚀 Quick Start
|
||||
|
||||
Below, we provide simple examples to show how to use TimeChat-Captioner-GRPO-7B with 🤗 Transformers.
|
||||
|
||||
### Installation
|
||||
|
||||
```bash
|
||||
conda create -n timechatcap python=3.12
|
||||
conda activate timechatcap
|
||||
pip install torch torchvision
|
||||
pip install transformers==4.57.1
|
||||
pip install accelerate
|
||||
pip install flash-attn --no-build-isolation
|
||||
# It's highly recommended to use `[decord]` feature for faster video loading.
|
||||
pip install qwen-omni-utils[decord] -U
|
||||
```
|
||||
|
||||
### Usage
|
||||
|
||||
> **Note:** To annotate high-quality timestamps and captions, limit video input to around 1 minute. Please segment longer videos into around 60-second clips before processing.
|
||||
|
||||
```python
|
||||
import torch
|
||||
from transformers import Qwen2_5OmniForConditionalGeneration, Qwen2_5OmniProcessor
|
||||
from qwen_omni_utils import process_mm_info
|
||||
|
||||
# 1. Configuration
|
||||
MODEL_ID = "yaolily/TimeChat-Captioner-GRPO-7B"
|
||||
VIDEO_PATH = "example_video.mp4" # <--- Replace with your video path
|
||||
|
||||
MAX_PIXELS = 297920
|
||||
VIDEO_MAX_PIXELS = 297920
|
||||
|
||||
|
||||
print(f"🚀 Processing video: {VIDEO_PATH}")
|
||||
|
||||
# 2. Load Model & Processor
|
||||
print("⏳ Loading model...")
|
||||
model = Qwen2_5OmniForConditionalGeneration.from_pretrained(
|
||||
MODEL_ID,
|
||||
torch_dtype=torch.bfloat16,
|
||||
device_map="cuda",
|
||||
attn_implementation="flash_attention_2"
|
||||
)
|
||||
processor = Qwen2_5OmniProcessor.from_pretrained(MODEL_ID)
|
||||
model.disable_talker()
|
||||
|
||||
# 3. Construct Conversation
|
||||
# The prompt encourages detailed, time-aware audio-visual description.
|
||||
conversation = [
|
||||
{
|
||||
"role": "user",
|
||||
"content": [
|
||||
{
|
||||
"type": "text",
|
||||
"text": "Thoroughly describe everything in the video, capturing every detail. Include as much information from the audio as possible, and ensure that the descriptions of both audio and video are well-coordinated."
|
||||
},
|
||||
{
|
||||
"type": "video",
|
||||
"video": VIDEO_PATH,
|
||||
"max_pixels": MAX_PIXELS,
|
||||
"max_frames": 160,
|
||||
"fps": 2.0,
|
||||
"video_max_pixels": VIDEO_MAX_PIXELS
|
||||
}
|
||||
],
|
||||
},
|
||||
]
|
||||
|
||||
# 4. Process Inputs
|
||||
print("⚙️ Processing inputs...")
|
||||
text = processor.apply_chat_template(conversation, add_generation_prompt=True, tokenize=False)
|
||||
|
||||
audios, images, videos = process_mm_info(conversation, use_audio_in_video=True)
|
||||
|
||||
inputs = processor(
|
||||
text=text,
|
||||
audio=audios,
|
||||
images=images,
|
||||
videos=videos,
|
||||
return_tensors="pt",
|
||||
padding=True,
|
||||
use_audio_in_video=True
|
||||
)
|
||||
inputs = inputs.to(model.device).to(model.dtype)
|
||||
|
||||
# 5. Generate Description
|
||||
print("✨ Generating description...")
|
||||
with torch.inference_mode():
|
||||
text_ids = model.generate(
|
||||
**inputs,
|
||||
use_audio_in_video=True,
|
||||
return_audio=False,
|
||||
thinker_max_new_tokens=9216,
|
||||
talker_max_tokens=9216
|
||||
)
|
||||
|
||||
response = processor.decode(text_ids[0][inputs.input_ids[0].size(0):], skip_special_tokens=True)
|
||||
|
||||
print("
|
||||
" + "="*50)
|
||||
print("🎬 VIDEO DESCRIPTION:")
|
||||
print("="*50)
|
||||
print(response)
|
||||
print("="*50)
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
|
||||
## 📖 Citation
|
||||
|
||||
```bibtex
|
||||
@misc{yao2026timechatcaptioner,
|
||||
title={TimeChat-Captioner: Scripting Multi-Scene Videos with Time-Aware and Structural Audio-Visual Captions},
|
||||
author={Linli Yao and Yuancheng Wei and Yaojie Zhang and Lei Li and Xinlong Chen and Feifan Song and Ziyue Wang and Kun Ouyang and Yuanxin Liu and Lingpeng Kong and Qi Liu and Pengfei Wan and Kun Gai and Yuanxing Zhang and Xu Sun},
|
||||
year={2026},
|
||||
eprint={2602.08711},
|
||||
archivePrefix={arXiv},
|
||||
primaryClass={cs.CV},
|
||||
url={https://arxiv.org/abs/2602.08711}
|
||||
}
|
||||
```
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"</tool_call>": 151658,
|
||||
"<tool_call>": 151657,
|
||||
"<|AUDIO|>": 151646,
|
||||
"<|IMAGE|>": 151655,
|
||||
"<|VIDEO|>": 151656,
|
||||
"<|audio_bos|>": 151647,
|
||||
"<|audio_eos|>": 151648,
|
||||
"<|box_end|>": 151649,
|
||||
"<|endoftext|>": 151643,
|
||||
"<|file_sep|>": 151664,
|
||||
"<|fim_middle|>": 151660,
|
||||
"<|fim_pad|>": 151662,
|
||||
"<|fim_prefix|>": 151659,
|
||||
"<|fim_suffix|>": 151661,
|
||||
"<|im_end|>": 151645,
|
||||
"<|im_start|>": 151644,
|
||||
"<|quad_end|>": 151651,
|
||||
"<|quad_start|>": 151650,
|
||||
"<|repo_name|>": 151663,
|
||||
"<|vision_bos|>": 151652,
|
||||
"<|vision_eos|>": 151653,
|
||||
"<|vision_pad|>": 151654
|
||||
}
|
||||
@@ -0,0 +1,521 @@
|
||||
{
|
||||
"output_dir": "/ytech_m2v8_hdd/workspace/kling_mm/yaolinli/omnivideocaption/checkpoint/grpo/grpo_v6/abla_study/0107_grpo_v6_epoch2_orgfmt_4rewards/checkpoint-1250/v4-20260110-180211",
|
||||
"overwrite_output_dir": false,
|
||||
"do_train": false,
|
||||
"do_eval": false,
|
||||
"do_predict": false,
|
||||
"eval_strategy": "no",
|
||||
"prediction_loss_only": false,
|
||||
"per_device_train_batch_size": 2,
|
||||
"per_device_eval_batch_size": 1,
|
||||
"per_gpu_train_batch_size": null,
|
||||
"per_gpu_eval_batch_size": null,
|
||||
"gradient_accumulation_steps": 1,
|
||||
"eval_accumulation_steps": null,
|
||||
"eval_delay": 0,
|
||||
"torch_empty_cache_steps": null,
|
||||
"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": 1.0,
|
||||
"max_steps": -1,
|
||||
"lr_scheduler_type": "cosine",
|
||||
"lr_scheduler_kwargs": null,
|
||||
"warmup_ratio": 0.05,
|
||||
"warmup_steps": 0,
|
||||
"log_level": "passive",
|
||||
"log_level_replica": "warning",
|
||||
"log_on_each_node": true,
|
||||
"logging_dir": "/home/gaohuan03/yaolinli/code/qwen25omni/OmniVideoCaption/Train/Checkpoint/grpo/0107_grpo_v6_epoch2_orgfmt_4rewards/checkpoint-1250",
|
||||
"logging_strategy": "steps",
|
||||
"logging_first_step": true,
|
||||
"logging_steps": 1,
|
||||
"logging_nan_inf_filter": true,
|
||||
"save_strategy": "steps",
|
||||
"save_steps": 10.0,
|
||||
"save_total_limit": 20,
|
||||
"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,
|
||||
"bf16": true,
|
||||
"fp16": false,
|
||||
"fp16_opt_level": "O1",
|
||||
"half_precision_backend": "auto",
|
||||
"bf16_full_eval": false,
|
||||
"fp16_full_eval": false,
|
||||
"tf32": null,
|
||||
"local_rank": 0,
|
||||
"ddp_backend": null,
|
||||
"tpu_num_cores": null,
|
||||
"tpu_metrics_debug": false,
|
||||
"debug": null,
|
||||
"dataloader_drop_last": false,
|
||||
"eval_steps": 100.0,
|
||||
"dataloader_num_workers": 4,
|
||||
"dataloader_prefetch_factor": null,
|
||||
"past_index": -1,
|
||||
"run_name": "/ytech_m2v8_hdd/workspace/kling_mm/yaolinli/omnivideocaption/checkpoint/grpo/grpo_v6/abla_study/0107_grpo_v6_epoch2_orgfmt_4rewards/checkpoint-1250/v4-20260110-180211",
|
||||
"disable_tqdm": null,
|
||||
"remove_unused_columns": false,
|
||||
"label_names": null,
|
||||
"load_best_model_at_end": false,
|
||||
"metric_for_best_model": "loss",
|
||||
"greater_is_better": false,
|
||||
"ignore_data_skip": false,
|
||||
"fsdp": null,
|
||||
"fsdp_min_num_params": 0,
|
||||
"fsdp_config": null,
|
||||
"fsdp_transformer_layer_cls_to_wrap": null,
|
||||
"accelerator_config": {
|
||||
"dispatch_batches": false
|
||||
},
|
||||
"parallelism_config": null,
|
||||
"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": "adamw_torch_fused",
|
||||
"optim_args": null,
|
||||
"adafactor": false,
|
||||
"group_by_length": false,
|
||||
"length_column_name": "length",
|
||||
"report_to": [
|
||||
"tensorboard"
|
||||
],
|
||||
"project": "huggingface",
|
||||
"trackio_space_id": "trackio",
|
||||
"ddp_find_unused_parameters": null,
|
||||
"ddp_bucket_cap_mb": null,
|
||||
"ddp_broadcast_buffers": null,
|
||||
"dataloader_pin_memory": true,
|
||||
"dataloader_persistent_workers": false,
|
||||
"skip_memory_metrics": true,
|
||||
"use_legacy_prediction_loop": false,
|
||||
"push_to_hub": false,
|
||||
"resume_from_checkpoint": null,
|
||||
"hub_model_id": null,
|
||||
"hub_strategy": "every_save",
|
||||
"hub_token": null,
|
||||
"hub_private_repo": null,
|
||||
"hub_always_push": false,
|
||||
"hub_revision": null,
|
||||
"gradient_checkpointing": true,
|
||||
"gradient_checkpointing_kwargs": null,
|
||||
"include_inputs_for_metrics": false,
|
||||
"include_for_metrics": [],
|
||||
"eval_do_concat_batches": true,
|
||||
"fp16_backend": "auto",
|
||||
"push_to_hub_model_id": null,
|
||||
"push_to_hub_organization": null,
|
||||
"push_to_hub_token": null,
|
||||
"mp_parameters": "",
|
||||
"auto_find_batch_size": false,
|
||||
"full_determinism": false,
|
||||
"torchdynamo": null,
|
||||
"ray_scope": "last",
|
||||
"ddp_timeout": 18000000,
|
||||
"torch_compile": false,
|
||||
"torch_compile_backend": null,
|
||||
"torch_compile_mode": null,
|
||||
"include_tokens_per_second": false,
|
||||
"include_num_input_tokens_seen": false,
|
||||
"neftune_noise_alpha": null,
|
||||
"optim_target_modules": null,
|
||||
"batch_eval_metrics": false,
|
||||
"eval_on_start": false,
|
||||
"use_liger_kernel": false,
|
||||
"liger_kernel_config": null,
|
||||
"eval_use_gather_object": false,
|
||||
"average_tokens_across_devices": true,
|
||||
"sortish_sampler": false,
|
||||
"predict_with_generate": false,
|
||||
"generation_max_length": null,
|
||||
"generation_num_beams": null,
|
||||
"generation_config": null,
|
||||
"tuner_backend": "peft",
|
||||
"vit_gradient_checkpointing": null,
|
||||
"router_aux_loss_coef": 0.0,
|
||||
"enable_dft_loss": false,
|
||||
"enable_channel_loss": false,
|
||||
"check_model": true,
|
||||
"acc_strategy": "token",
|
||||
"train_dataloader_shuffle": true,
|
||||
"max_epochs": null,
|
||||
"aligner_lr": null,
|
||||
"vit_lr": null,
|
||||
"use_logits_to_keep": null,
|
||||
"ds3_gather_for_generation": true,
|
||||
"resume_only_model": false,
|
||||
"optimizer": null,
|
||||
"loss_type": "grpo",
|
||||
"metric": null,
|
||||
"eval_use_evalscope": false,
|
||||
"eval_dataset": [],
|
||||
"eval_dataset_args": null,
|
||||
"eval_limit": null,
|
||||
"eval_generation_config": null,
|
||||
"extra_eval_args": null,
|
||||
"use_flash_ckpt": false,
|
||||
"use_ray": false,
|
||||
"ray_exp_name": null,
|
||||
"device_groups": null,
|
||||
"model": "/ytech_m2v8_hdd/workspace/kling_mm/yaolinli/omnivideocaption/checkpoint/sft/sft_v6_40k/v2-20251206-045753/checkpoint-1250",
|
||||
"model_type": "qwen2_5_omni",
|
||||
"model_revision": null,
|
||||
"task_type": "causal_lm",
|
||||
"torch_dtype": "bfloat16",
|
||||
"attn_impl": "flash_attn",
|
||||
"new_special_tokens": [],
|
||||
"num_labels": null,
|
||||
"problem_type": null,
|
||||
"rope_scaling": null,
|
||||
"device_map": null,
|
||||
"max_memory": {},
|
||||
"max_model_len": null,
|
||||
"local_repo_path": null,
|
||||
"init_strategy": null,
|
||||
"template": "qwen2_5_omni",
|
||||
"system": null,
|
||||
"max_length": 32768,
|
||||
"truncation_strategy": "left",
|
||||
"max_pixels": null,
|
||||
"agent_template": null,
|
||||
"norm_bbox": null,
|
||||
"use_chat_template": true,
|
||||
"padding_free": false,
|
||||
"padding_side": "right",
|
||||
"loss_scale": "last_round",
|
||||
"sequence_parallel_size": 1,
|
||||
"response_prefix": null,
|
||||
"template_backend": "swift",
|
||||
"dataset": [
|
||||
"/home/gaohuan03/yaolinli/code/qwen25omni/OmniVideoCaption/Data/TRAINSET/Ms_type/grpo_v5/grpo_v5_keypoints_checked.jsonl"
|
||||
],
|
||||
"val_dataset": [],
|
||||
"cached_dataset": [],
|
||||
"split_dataset_ratio": 0.0,
|
||||
"dataset_num_proc": 4,
|
||||
"load_from_cache_file": false,
|
||||
"dataset_shuffle": true,
|
||||
"val_dataset_shuffle": false,
|
||||
"streaming": false,
|
||||
"interleave_prob": null,
|
||||
"stopping_strategy": "first_exhausted",
|
||||
"shuffle_buffer_size": 1000,
|
||||
"download_mode": "reuse_dataset_if_exists",
|
||||
"columns": {},
|
||||
"strict": false,
|
||||
"model_name": null,
|
||||
"model_author": null,
|
||||
"custom_dataset_info": [],
|
||||
"quant_method": null,
|
||||
"quant_bits": null,
|
||||
"hqq_axis": null,
|
||||
"bnb_4bit_compute_dtype": "bfloat16",
|
||||
"bnb_4bit_quant_type": "nf4",
|
||||
"bnb_4bit_use_double_quant": true,
|
||||
"bnb_4bit_quant_storage": null,
|
||||
"max_new_tokens": 9216,
|
||||
"temperature": 1.0,
|
||||
"top_k": 50,
|
||||
"top_p": 0.99,
|
||||
"repetition_penalty": 1.0,
|
||||
"num_beams": 1,
|
||||
"stream": false,
|
||||
"stop_words": [],
|
||||
"logprobs": false,
|
||||
"top_logprobs": null,
|
||||
"ckpt_dir": "/ytech_m2v8_hdd/workspace/kling_mm/yaolinli/omnivideocaption/checkpoint/sft/sft_v6_40k/v2-20251206-045753/checkpoint-1250",
|
||||
"lora_modules": [],
|
||||
"train_type": "full",
|
||||
"adapters": [],
|
||||
"external_plugins": [
|
||||
"/home/gaohuan03/yaolinli/code/qwen25omni/ms_swift_v311/ms-swift/examples/train/grpo/plugin/plugin.py"
|
||||
],
|
||||
"model_kwargs": {},
|
||||
"load_args": false,
|
||||
"load_data_args": false,
|
||||
"packing": false,
|
||||
"packing_length": null,
|
||||
"packing_num_proc": 1,
|
||||
"lazy_tokenize": true,
|
||||
"custom_register_path": [],
|
||||
"use_hf": false,
|
||||
"ignore_args_error": false,
|
||||
"use_swift_lora": false,
|
||||
"freeze_parameters": [
|
||||
"thinker.audio_tower",
|
||||
"thinker.visual",
|
||||
"talker",
|
||||
"token2wav"
|
||||
],
|
||||
"freeze_parameters_regex": null,
|
||||
"freeze_parameters_ratio": 0.0,
|
||||
"trainable_parameters": [
|
||||
"thinker.audio_tower.proj",
|
||||
"thinker.visual.merger"
|
||||
],
|
||||
"trainable_parameters_regex": null,
|
||||
"freeze_llm": false,
|
||||
"freeze_vit": true,
|
||||
"freeze_aligner": false,
|
||||
"target_modules": [
|
||||
"all-linear"
|
||||
],
|
||||
"target_regex": null,
|
||||
"target_parameters": null,
|
||||
"modules_to_save": [],
|
||||
"lora_rank": 8,
|
||||
"lora_alpha": 32,
|
||||
"lora_dropout": 0.05,
|
||||
"lora_bias": "none",
|
||||
"lora_dtype": null,
|
||||
"lorap_lr_ratio": null,
|
||||
"use_rslora": false,
|
||||
"use_dora": false,
|
||||
"lora_ga_batch_size": 2,
|
||||
"lora_ga_iters": 2,
|
||||
"lora_ga_max_length": 1024,
|
||||
"lora_ga_direction": "ArB2r",
|
||||
"lora_ga_scale": "stable",
|
||||
"lora_ga_stable_gamma": 16,
|
||||
"init_weights": true,
|
||||
"fourier_n_frequency": 2000,
|
||||
"fourier_scaling": 300.0,
|
||||
"boft_block_size": 4,
|
||||
"boft_block_num": 0,
|
||||
"boft_n_butterfly_factor": 1,
|
||||
"boft_dropout": 0.0,
|
||||
"vera_rank": 256,
|
||||
"vera_projection_prng_key": 0,
|
||||
"vera_dropout": 0.0,
|
||||
"vera_d_initial": 0.1,
|
||||
"adapter_act": "gelu",
|
||||
"adapter_length": 128,
|
||||
"use_galore": false,
|
||||
"galore_target_modules": null,
|
||||
"galore_rank": 128,
|
||||
"galore_update_proj_gap": 50,
|
||||
"galore_scale": 1.0,
|
||||
"galore_proj_type": "std",
|
||||
"galore_optim_per_parameter": false,
|
||||
"galore_with_embedding": false,
|
||||
"galore_quantization": false,
|
||||
"galore_proj_quant": false,
|
||||
"galore_proj_bits": 4,
|
||||
"galore_proj_group_size": 256,
|
||||
"galore_cos_threshold": 0.4,
|
||||
"galore_gamma_proj": 2,
|
||||
"galore_queue_size": 5,
|
||||
"adalora_target_r": 8,
|
||||
"adalora_init_r": 12,
|
||||
"adalora_tinit": 0,
|
||||
"adalora_tfinal": 0,
|
||||
"adalora_deltaT": 1,
|
||||
"adalora_beta1": 0.85,
|
||||
"adalora_beta2": 0.85,
|
||||
"adalora_orth_reg_weight": 0.5,
|
||||
"llamapro_num_new_blocks": 4,
|
||||
"llamapro_num_groups": null,
|
||||
"lisa_activated_layers": 0,
|
||||
"lisa_step_interval": 20,
|
||||
"reft_layer_key": null,
|
||||
"reft_layers": null,
|
||||
"reft_rank": 4,
|
||||
"reft_intervention_type": "LoreftIntervention",
|
||||
"reft_args": null,
|
||||
"swanlab_token": null,
|
||||
"swanlab_project": null,
|
||||
"swanlab_workspace": null,
|
||||
"swanlab_exp_name": null,
|
||||
"swanlab_lark_webhook_url": null,
|
||||
"swanlab_lark_secret": null,
|
||||
"swanlab_mode": "cloud",
|
||||
"add_version": true,
|
||||
"create_checkpoint_symlink": false,
|
||||
"zero_hpz_partition_size": null,
|
||||
"deepspeed_autotp_size": null,
|
||||
"early_stop_interval": null,
|
||||
"sft_alpha": 0,
|
||||
"chord_sft_dataset": [],
|
||||
"chord_sft_per_device_train_batch_size": null,
|
||||
"chord_enable_phi_function": false,
|
||||
"chord_mu_warmup_steps": null,
|
||||
"chord_mu_decay_steps": null,
|
||||
"chord_mu_peak": null,
|
||||
"chord_mu_valley": null,
|
||||
"reward_model": null,
|
||||
"reward_adapters": [],
|
||||
"reward_model_type": null,
|
||||
"reward_model_revision": null,
|
||||
"num_ppo_epochs": 4,
|
||||
"whiten_rewards": false,
|
||||
"kl_coef": 0.05,
|
||||
"cliprange": 0.2,
|
||||
"vf_coef": 0.1,
|
||||
"cliprange_value": 0.2,
|
||||
"gamma": 1.0,
|
||||
"lam": 0.95,
|
||||
"num_mini_batches": 1,
|
||||
"local_rollout_forward_batch_size": 64,
|
||||
"num_sample_generations": 10,
|
||||
"response_length": 9216,
|
||||
"missing_eos_penalty": null,
|
||||
"vllm_gpu_memory_utilization": 0.9,
|
||||
"vllm_tensor_parallel_size": 1,
|
||||
"vllm_pipeline_parallel_size": 1,
|
||||
"vllm_enable_expert_parallel": false,
|
||||
"vllm_max_num_seqs": 256,
|
||||
"vllm_max_model_len": null,
|
||||
"vllm_disable_custom_all_reduce": true,
|
||||
"vllm_enforce_eager": false,
|
||||
"vllm_limit_mm_per_prompt": null,
|
||||
"vllm_max_lora_rank": 16,
|
||||
"vllm_enable_prefix_caching": true,
|
||||
"vllm_use_async_engine": false,
|
||||
"vllm_quantization": null,
|
||||
"vllm_reasoning_parser": null,
|
||||
"vllm_disable_cascade_attn": false,
|
||||
"vllm_mm_processor_cache_gb": null,
|
||||
"vllm_speculative_config": null,
|
||||
"vllm_engine_kwargs": {},
|
||||
"vllm_data_parallel_size": 1,
|
||||
"use_vllm": false,
|
||||
"vllm_mode": "colocate",
|
||||
"vllm_enable_lora": false,
|
||||
"vllm_server_base_url": null,
|
||||
"vllm_server_host": null,
|
||||
"vllm_server_port": [
|
||||
8000
|
||||
],
|
||||
"vllm_server_timeout": 240.0,
|
||||
"async_generate": false,
|
||||
"sleep_level": 0,
|
||||
"move_model_batches": null,
|
||||
"offload_optimizer": false,
|
||||
"offload_model": false,
|
||||
"wandb_log_unique_prompts": null,
|
||||
"epsilon": 0.2,
|
||||
"epsilon_high": null,
|
||||
"delta": null,
|
||||
"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": null,
|
||||
"repetition_n_grams": 3,
|
||||
"repetition_max_penalty": -1.0,
|
||||
"reward_model_plugin": null,
|
||||
"sync_ref_model": false,
|
||||
"ref_model_sync_steps": 512,
|
||||
"ref_model_mixup_alpha": 0.6,
|
||||
"multi_turn_scheduler": null,
|
||||
"max_turns": null,
|
||||
"completion_length_limit_scope": "per_round",
|
||||
"vllm_server_pass_dataset": false,
|
||||
"dynamic_sample": false,
|
||||
"max_resample_times": 3,
|
||||
"overlong_filter": false,
|
||||
"soft_max_length": null,
|
||||
"soft_cache_length": null,
|
||||
"scale_rewards": "group",
|
||||
"log_entropy": true,
|
||||
"top_entropy_quantile": 1.0,
|
||||
"importance_sampling_level": "token",
|
||||
"advantage_estimator": "grpo",
|
||||
"kl_in_reward": false,
|
||||
"generation_batch_size": null,
|
||||
"steps_per_generation": null,
|
||||
"rollout_importance_sampling_mode": null,
|
||||
"rollout_importance_sampling_threshold": 2.0,
|
||||
"num_generations": 8,
|
||||
"reward_funcs": [
|
||||
"external_timestamp_format_reward",
|
||||
"external_timestamp_length_reward",
|
||||
"external_dense_caption_f1_reward",
|
||||
"external_dense_caption_sodam_reward"
|
||||
],
|
||||
"reward_weights": [
|
||||
0.5,
|
||||
0.5,
|
||||
1.0,
|
||||
1.0
|
||||
],
|
||||
"log_completions": true,
|
||||
"num_iterations": 1,
|
||||
"teacher_model": null,
|
||||
"teacher_adapters": [],
|
||||
"teacher_model_type": null,
|
||||
"teacher_model_revision": null,
|
||||
"teacher_deepspeed": null,
|
||||
"rlhf_type": "grpo",
|
||||
"ref_model": "/ytech_m2v8_hdd/workspace/kling_mm/yaolinli/omnivideocaption/checkpoint/sft/sft_v6_40k/v2-20251206-045753/checkpoint-1250",
|
||||
"ref_adapters": [],
|
||||
"ref_model_type": "qwen2_5_omni",
|
||||
"ref_model_revision": null,
|
||||
"beta": 0.04,
|
||||
"label_smoothing": 0,
|
||||
"max_completion_length": 9216,
|
||||
"rpo_alpha": null,
|
||||
"ld_alpha": null,
|
||||
"discopop_tau": 0.05,
|
||||
"loss_weights": null,
|
||||
"cpo_alpha": 1.0,
|
||||
"simpo_gamma": 1,
|
||||
"desirable_weight": 1.0,
|
||||
"undesirable_weight": 1.0,
|
||||
"center_rewards_coefficient": null,
|
||||
"lmbda": 0.5,
|
||||
"seq_kd": false,
|
||||
"offload_teacher_model": false,
|
||||
"rank": 0,
|
||||
"global_world_size": 32,
|
||||
"local_world_size": 8,
|
||||
"model_suffix": "checkpoint-1250",
|
||||
"model_info": "ModelInfo(model_type='qwen2_5_omni', model_dir='/ytech_m2v8_hdd/workspace/kling_mm/yaolinli/omnivideocaption/checkpoint/sft/sft_v6_40k/v2-20251206-045753/checkpoint-1250', 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)",
|
||||
"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 0x7f8b020997e0>, model_arch=MultiModelKeys(arch_name='qwen2_5_omni', embedding=None, module_list=None, lm_head=None, q_proj=None, k_proj=None, v_proj=None, o_proj=None, attention=None, mlp=None, down_proj=None, qkv_proj=None, qk_proj=None, qa_proj=None, qb_proj=None, kv_proj=None, kva_proj=None, kvb_proj=None, language_model=['thinker.model', 'thinker.lm_head'], aligner=['thinker.audio_tower.proj', 'thinker.visual.merger'], vision_tower=['thinker.audio_tower', 'thinker.visual'], generator=['talker', 'token2wav']), architectures=['Qwen2_5OmniModel', 'Qwen2_5OmniForConditionalGeneration'], additional_saved_files=['spk_dict.pt'], torch_dtype=None, is_multimodal=True, is_reward=False, is_reranker=False, task_type=None, ignore_patterns=[], requires=['transformers>=4.50', 'soundfile', 'qwen_omni_utils', 'decord'], tags=['vision', 'video', 'audio'])",
|
||||
"model_dir": "/ytech_m2v8_hdd/workspace/kling_mm/yaolinli/omnivideocaption/checkpoint/sft/sft_v6_40k/v2-20251206-045753/checkpoint-1250",
|
||||
"_val_dataset_exists": [],
|
||||
"hub": "<class 'swift.hub.hub.MSHub'>",
|
||||
"evaluation_strategy": "steps",
|
||||
"training_args": "GRPOConfig(output_dir='/ytech_m2v8_hdd/workspace/kling_mm/yaolinli/omnivideocaption/checkpoint/grpo/grpo_v6/abla_study/0107_grpo_v6_epoch2_orgfmt_4rewards/checkpoint-1250/v4-20260110-180211', 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=2, 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=1.0, max_steps=-1, 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='/home/gaohuan03/yaolinli/code/qwen25omni/OmniVideoCaption/Train/Checkpoint/grpo/0107_grpo_v6_epoch2_orgfmt_4rewards/checkpoint-1250', logging_strategy=<IntervalStrategy.STEPS: 'steps'>, logging_first_step=True, logging_steps=1, logging_nan_inf_filter=True, save_strategy=<SaveStrategy.STEPS: 'steps'>, save_steps=10, save_total_limit=20, 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, 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=100.0, dataloader_num_workers=4, dataloader_prefetch_factor=10, past_index=-1, run_name='/ytech_m2v8_hdd/workspace/kling_mm/yaolinli/omnivideocaption/checkpoint/grpo/grpo_v6/abla_study/0107_grpo_v6_epoch2_orgfmt_4rewards/checkpoint-1250/v4-20260110-180211', disable_tqdm=False, remove_unused_columns=False, label_names=None, load_best_model_at_end=False, metric_for_best_model='loss', greater_is_better=False, 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), parallelism_config=None, 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_FUSED: 'adamw_torch_fused'>, optim_args=None, adafactor=False, group_by_length=False, length_column_name='length', report_to=['tensorboard'], project='huggingface', trackio_space_id='trackio', 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=None, optim_target_modules=None, batch_eval_metrics=False, eval_on_start=False, use_liger_kernel=False, 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=9216, ds3_gather_for_generation=True, shuffle_dataset=True, generation_batch_size=64, steps_per_generation=1, temperature=1.0, top_p=0.99, top_k=50, min_p=None, generation_kwargs=None, repetition_penalty=1.0, use_transformers_paged=False, cache_implLine truncated
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{% 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
|
||||
You are a helpful assistant.<|im_end|>
|
||||
{% endif %}<|im_start|>{{ message['role'] }}
|
||||
{% if message['content'] is string %}{{ message['content'] }}<|im_end|>
|
||||
{% 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|>
|
||||
{% endif %}{% endfor %}{% if add_generation_prompt %}<|im_start|>assistant
|
||||
{% endif %}
|
||||
+631
@@ -0,0 +1,631 @@
|
||||
{
|
||||
"architectures": [
|
||||
"Qwen2_5OmniForConditionalGeneration"
|
||||
],
|
||||
"dtype": "bfloat16",
|
||||
"enable_audio_output": false,
|
||||
"enable_talker": true,
|
||||
"eos_token_id": 151645,
|
||||
"hidden_size": 3584,
|
||||
"keys_to_ignore_at_inference": [
|
||||
"past_key_values",
|
||||
"hidden_states",
|
||||
"attention_mask",
|
||||
"hidden_states",
|
||||
"attention_mask"
|
||||
],
|
||||
"model_type": "qwen2_5_omni",
|
||||
"pad_token_id": 151643,
|
||||
"talker_config": {
|
||||
"_name_or_path": "Qwen2.5-Omni-7B/talker",
|
||||
"architectures": [
|
||||
"Qwen2OmniTalkerForConditionalGeneration"
|
||||
],
|
||||
"attention_dropout": 0.0,
|
||||
"audio_end_token_id": 151648,
|
||||
"audio_start_token_id": 151647,
|
||||
"audio_token_index": 151646,
|
||||
"dtype": "bfloat16",
|
||||
"embedding_size": 3584,
|
||||
"head_dim": 128,
|
||||
"hidden_act": "silu",
|
||||
"hidden_size": 896,
|
||||
"image_token_index": 151655,
|
||||
"init_std": 0.02,
|
||||
"initializer_range": 0.02,
|
||||
"intermediate_size": 18944,
|
||||
"layer_types": [
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention"
|
||||
],
|
||||
"max_position_embeddings": 32768,
|
||||
"max_window_layers": 28,
|
||||
"model_type": "qwen2_5_omni_talker",
|
||||
"num_attention_heads": 12,
|
||||
"num_hidden_layers": 24,
|
||||
"num_key_value_heads": 4,
|
||||
"position_id_per_seconds": 25,
|
||||
"rms_norm_eps": 1e-06,
|
||||
"rope_scaling": {
|
||||
"mrope_section": [
|
||||
16,
|
||||
24,
|
||||
24
|
||||
],
|
||||
"rope_type": "default",
|
||||
"type": "default"
|
||||
},
|
||||
"rope_theta": 1000000.0,
|
||||
"seconds_per_chunk": 2,
|
||||
"sliding_window": null,
|
||||
"spatial_merge_size": 2,
|
||||
"tts_codec_end_token_id": 8294,
|
||||
"tts_codec_mask_token_id": 8296,
|
||||
"tts_codec_pad_token_id": 8292,
|
||||
"tts_codec_start_token_id": 8293,
|
||||
"tts_text_end_token_id": 151861,
|
||||
"tts_text_pad_token_id": 151859,
|
||||
"tts_text_start_token_id": 151860,
|
||||
"use_cache": true,
|
||||
"use_sliding_window": false,
|
||||
"video_token_index": 151656,
|
||||
"vision_end_token_id": 151653,
|
||||
"vision_start_token_id": 151652,
|
||||
"vocab_size": 8448
|
||||
},
|
||||
"thinker_config": {
|
||||
"_name_or_path": "Qwen2.5-Omni-7B/thinker",
|
||||
"architectures": [
|
||||
"Qwen2OmniNaViTThinkerForConditionalGeneration"
|
||||
],
|
||||
"audio_config": {
|
||||
"_name_or_path": "",
|
||||
"activation_dropout": 0.0,
|
||||
"activation_function": "gelu",
|
||||
"add_cross_attention": false,
|
||||
"architectures": null,
|
||||
"attention_dropout": 0.0,
|
||||
"bad_words_ids": null,
|
||||
"begin_suppress_tokens": null,
|
||||
"bos_token_id": null,
|
||||
"chunk_size_feed_forward": 0,
|
||||
"cross_attention_hidden_size": null,
|
||||
"d_model": 1280,
|
||||
"decoder_start_token_id": null,
|
||||
"diversity_penalty": 0.0,
|
||||
"do_sample": false,
|
||||
"dropout": 0.0,
|
||||
"dtype": "bfloat16",
|
||||
"early_stopping": false,
|
||||
"encoder_attention_heads": 20,
|
||||
"encoder_ffn_dim": 5120,
|
||||
"encoder_layerdrop": 0.0,
|
||||
"encoder_layers": 32,
|
||||
"encoder_no_repeat_ngram_size": 0,
|
||||
"eos_token_id": null,
|
||||
"exponential_decay_length_penalty": null,
|
||||
"finetuning_task": null,
|
||||
"forced_bos_token_id": null,
|
||||
"forced_eos_token_id": null,
|
||||
"id2label": {
|
||||
"0": "LABEL_0",
|
||||
"1": "LABEL_1"
|
||||
},
|
||||
"init_std": 0.02,
|
||||
"initializer_range": 0.02,
|
||||
"is_decoder": false,
|
||||
"is_encoder_decoder": false,
|
||||
"label2id": {
|
||||
"LABEL_0": 0,
|
||||
"LABEL_1": 1
|
||||
},
|
||||
"length_penalty": 1.0,
|
||||
"max_length": 20,
|
||||
"max_source_positions": 1500,
|
||||
"min_length": 0,
|
||||
"model_type": "qwen2_5_omni_audio_encoder",
|
||||
"n_window": 100,
|
||||
"no_repeat_ngram_size": 0,
|
||||
"num_beam_groups": 1,
|
||||
"num_beams": 1,
|
||||
"num_hidden_layers": 32,
|
||||
"num_mel_bins": 128,
|
||||
"num_return_sequences": 1,
|
||||
"output_attentions": false,
|
||||
"output_dim": 3584,
|
||||
"output_hidden_states": false,
|
||||
"output_scores": false,
|
||||
"pad_token_id": 151643,
|
||||
"prefix": null,
|
||||
"problem_type": null,
|
||||
"pruned_heads": {},
|
||||
"remove_invalid_values": false,
|
||||
"repetition_penalty": 1.0,
|
||||
"return_dict": true,
|
||||
"return_dict_in_generate": false,
|
||||
"scale_embedding": false,
|
||||
"sep_token_id": null,
|
||||
"suppress_tokens": null,
|
||||
"task_specific_params": null,
|
||||
"temperature": 1.0,
|
||||
"tf_legacy_loss": false,
|
||||
"tie_encoder_decoder": false,
|
||||
"tie_word_embeddings": true,
|
||||
"tokenizer_class": null,
|
||||
"top_k": 50,
|
||||
"top_p": 1.0,
|
||||
"torchscript": false,
|
||||
"typical_p": 1.0,
|
||||
"use_bfloat16": false
|
||||
},
|
||||
"audio_end_token_id": 151648,
|
||||
"audio_start_token_id": 151647,
|
||||
"audio_token_index": 151646,
|
||||
"bos_token_id": 151644,
|
||||
"dtype": "bfloat16",
|
||||
"eos_token_id": 151645,
|
||||
"ignore_index": -100,
|
||||
"image_token_index": 151655,
|
||||
"init_std": 0.02,
|
||||
"initializer_range": 0.02,
|
||||
"model_type": "qwen2_5_omni_thinker",
|
||||
"pad_token_id": 151643,
|
||||
"position_id_per_seconds": 25,
|
||||
"seconds_per_chunk": 2,
|
||||
"text_config": {
|
||||
"_name_or_path": "",
|
||||
"add_cross_attention": false,
|
||||
"architectures": null,
|
||||
"attention_dropout": 0.0,
|
||||
"bad_words_ids": null,
|
||||
"begin_suppress_tokens": null,
|
||||
"bos_token_id": null,
|
||||
"chunk_size_feed_forward": 0,
|
||||
"cross_attention_hidden_size": null,
|
||||
"decoder_start_token_id": null,
|
||||
"diversity_penalty": 0.0,
|
||||
"do_sample": false,
|
||||
"dtype": "bfloat16",
|
||||
"early_stopping": false,
|
||||
"encoder_no_repeat_ngram_size": 0,
|
||||
"eos_token_id": null,
|
||||
"exponential_decay_length_penalty": null,
|
||||
"finetuning_task": null,
|
||||
"forced_bos_token_id": null,
|
||||
"forced_eos_token_id": null,
|
||||
"hidden_act": "silu",
|
||||
"hidden_size": 3584,
|
||||
"id2label": {
|
||||
"0": "LABEL_0",
|
||||
"1": "LABEL_1"
|
||||
},
|
||||
"init_std": 0.02,
|
||||
"initializer_range": 0.02,
|
||||
"intermediate_size": 18944,
|
||||
"is_decoder": false,
|
||||
"is_encoder_decoder": false,
|
||||
"label2id": {
|
||||
"LABEL_0": 0,
|
||||
"LABEL_1": 1
|
||||
},
|
||||
"layer_types": [
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention",
|
||||
"full_attention"
|
||||
],
|
||||
"length_penalty": 1.0,
|
||||
"max_length": 20,
|
||||
"max_position_embeddings": 32768,
|
||||
"max_window_layers": 28,
|
||||
"min_length": 0,
|
||||
"model_type": "qwen2_5_omni_text",
|
||||
"no_repeat_ngram_size": 0,
|
||||
"num_attention_heads": 28,
|
||||
"num_beam_groups": 1,
|
||||
"num_beams": 1,
|
||||
"num_hidden_layers": 28,
|
||||
"num_key_value_heads": 4,
|
||||
"num_return_sequences": 1,
|
||||
"output_attentions": false,
|
||||
"output_hidden_states": false,
|
||||
"output_scores": false,
|
||||
"pad_token_id": 151643,
|
||||
"prefix": null,
|
||||
"problem_type": null,
|
||||
"pruned_heads": {},
|
||||
"remove_invalid_values": false,
|
||||
"repetition_penalty": 1.0,
|
||||
"return_dict": true,
|
||||
"return_dict_in_generate": false,
|
||||
"rms_norm_eps": 1e-06,
|
||||
"rope_scaling": {
|
||||
"mrope_section": [
|
||||
16,
|
||||
24,
|
||||
24
|
||||
],
|
||||
"rope_type": "default",
|
||||
"type": "default"
|
||||
},
|
||||
"rope_theta": 1000000.0,
|
||||
"sep_token_id": null,
|
||||
"sliding_window": null,
|
||||
"suppress_tokens": null,
|
||||
"task_specific_params": null,
|
||||
"temperature": 1.0,
|
||||
"tf_legacy_loss": false,
|
||||
"tie_encoder_decoder": false,
|
||||
"tie_word_embeddings": false,
|
||||
"tokenizer_class": null,
|
||||
"top_k": 50,
|
||||
"top_p": 1.0,
|
||||
"torchscript": false,
|
||||
"typical_p": 1.0,
|
||||
"use_bfloat16": false,
|
||||
"use_cache": true,
|
||||
"use_sliding_window": false,
|
||||
"vocab_size": 152064
|
||||
},
|
||||
"user_token_id": 872,
|
||||
"video_token_index": 151656,
|
||||
"vision_config": {
|
||||
"_name_or_path": "",
|
||||
"add_cross_attention": false,
|
||||
"architectures": null,
|
||||
"bad_words_ids": null,
|
||||
"begin_suppress_tokens": null,
|
||||
"bos_token_id": null,
|
||||
"chunk_size_feed_forward": 0,
|
||||
"cross_attention_hidden_size": null,
|
||||
"decoder_start_token_id": null,
|
||||
"depth": 32,
|
||||
"diversity_penalty": 0.0,
|
||||
"do_sample": false,
|
||||
"dtype": "bfloat16",
|
||||
"early_stopping": false,
|
||||
"embed_dim": 1280,
|
||||
"encoder_no_repeat_ngram_size": 0,
|
||||
"eos_token_id": null,
|
||||
"exponential_decay_length_penalty": null,
|
||||
"finetuning_task": null,
|
||||
"forced_bos_token_id": null,
|
||||
"forced_eos_token_id": null,
|
||||
"fullatt_block_indexes": [
|
||||
7,
|
||||
15,
|
||||
23,
|
||||
31
|
||||
],
|
||||
"hidden_act": "silu",
|
||||
"hidden_size": 1280,
|
||||
"id2label": {
|
||||
"0": "LABEL_0",
|
||||
"1": "LABEL_1"
|
||||
},
|
||||
"in_channels": 3,
|
||||
"in_chans": 3,
|
||||
"init_std": 0.02,
|
||||
"initializer_range": 0.02,
|
||||
"intermediate_size": 3420,
|
||||
"is_decoder": false,
|
||||
"is_encoder_decoder": false,
|
||||
"label2id": {
|
||||
"LABEL_0": 0,
|
||||
"LABEL_1": 1
|
||||
},
|
||||
"length_penalty": 1.0,
|
||||
"max_length": 20,
|
||||
"min_length": 0,
|
||||
"model_type": "qwen2_5_omni_vision_encoder",
|
||||
"no_repeat_ngram_size": 0,
|
||||
"num_beam_groups": 1,
|
||||
"num_beams": 1,
|
||||
"num_heads": 16,
|
||||
"num_return_sequences": 1,
|
||||
"out_hidden_size": 3584,
|
||||
"output_attentions": false,
|
||||
"output_hidden_states": false,
|
||||
"output_scores": false,
|
||||
"pad_token_id": 151643,
|
||||
"patch_size": 14,
|
||||
"prefix": null,
|
||||
"problem_type": null,
|
||||
"pruned_heads": {},
|
||||
"remove_invalid_values": false,
|
||||
"repetition_penalty": 1.0,
|
||||
"return_dict": true,
|
||||
"return_dict_in_generate": false,
|
||||
"sep_token_id": null,
|
||||
"spatial_merge_size": 2,
|
||||
"spatial_patch_size": 14,
|
||||
"suppress_tokens": null,
|
||||
"task_specific_params": null,
|
||||
"temperature": 1.0,
|
||||
"temporal_patch_size": 2,
|
||||
"tf_legacy_loss": false,
|
||||
"tie_encoder_decoder": false,
|
||||
"tie_word_embeddings": true,
|
||||
"tokenizer_class": null,
|
||||
"tokens_per_second": 25,
|
||||
"top_k": 50,
|
||||
"top_p": 1.0,
|
||||
"torchscript": false,
|
||||
"typical_p": 1.0,
|
||||
"use_bfloat16": false,
|
||||
"window_size": 112
|
||||
},
|
||||
"vision_end_token_id": 151653,
|
||||
"vision_start_token_id": 151652,
|
||||
"vision_token_id": 151654
|
||||
},
|
||||
"token2wav_config": {
|
||||
"bigvgan_config": {
|
||||
"_name_or_path": "",
|
||||
"add_cross_attention": false,
|
||||
"architectures": null,
|
||||
"bad_words_ids": null,
|
||||
"begin_suppress_tokens": null,
|
||||
"bos_token_id": null,
|
||||
"chunk_size_feed_forward": 0,
|
||||
"cross_attention_hidden_size": null,
|
||||
"decoder_start_token_id": null,
|
||||
"diversity_penalty": 0.0,
|
||||
"do_sample": false,
|
||||
"dtype": null,
|
||||
"early_stopping": false,
|
||||
"encoder_no_repeat_ngram_size": 0,
|
||||
"eos_token_id": null,
|
||||
"exponential_decay_length_penalty": null,
|
||||
"finetuning_task": null,
|
||||
"forced_bos_token_id": null,
|
||||
"forced_eos_token_id": null,
|
||||
"id2label": {
|
||||
"0": "LABEL_0",
|
||||
"1": "LABEL_1"
|
||||
},
|
||||
"is_decoder": false,
|
||||
"is_encoder_decoder": false,
|
||||
"label2id": {
|
||||
"LABEL_0": 0,
|
||||
"LABEL_1": 1
|
||||
},
|
||||
"length_penalty": 1.0,
|
||||
"max_length": 20,
|
||||
"mel_dim": 80,
|
||||
"min_length": 0,
|
||||
"model_type": "qwen2_5_omni_bigvgan",
|
||||
"no_repeat_ngram_size": 0,
|
||||
"num_beam_groups": 1,
|
||||
"num_beams": 1,
|
||||
"num_return_sequences": 1,
|
||||
"output_attentions": false,
|
||||
"output_hidden_states": false,
|
||||
"output_scores": false,
|
||||
"pad_token_id": null,
|
||||
"prefix": null,
|
||||
"problem_type": null,
|
||||
"pruned_heads": {},
|
||||
"remove_invalid_values": false,
|
||||
"repetition_penalty": 1.0,
|
||||
"resblock_dilation_sizes": [
|
||||
[
|
||||
1,
|
||||
3,
|
||||
5
|
||||
],
|
||||
[
|
||||
1,
|
||||
3,
|
||||
5
|
||||
],
|
||||
[
|
||||
1,
|
||||
3,
|
||||
5
|
||||
]
|
||||
],
|
||||
"resblock_kernel_sizes": [
|
||||
3,
|
||||
7,
|
||||
11
|
||||
],
|
||||
"return_dict": true,
|
||||
"return_dict_in_generate": false,
|
||||
"sep_token_id": null,
|
||||
"suppress_tokens": null,
|
||||
"task_specific_params": null,
|
||||
"temperature": 1.0,
|
||||
"tf_legacy_loss": false,
|
||||
"tie_encoder_decoder": false,
|
||||
"tie_word_embeddings": true,
|
||||
"tokenizer_class": null,
|
||||
"top_k": 50,
|
||||
"top_p": 1.0,
|
||||
"torchscript": false,
|
||||
"typical_p": 1.0,
|
||||
"upsample_initial_channel": 1536,
|
||||
"upsample_kernel_sizes": [
|
||||
11,
|
||||
7,
|
||||
4,
|
||||
4,
|
||||
4,
|
||||
4
|
||||
],
|
||||
"upsample_rates": [
|
||||
5,
|
||||
3,
|
||||
2,
|
||||
2,
|
||||
2,
|
||||
2
|
||||
],
|
||||
"use_bfloat16": false,
|
||||
"use_bias_at_final": false
|
||||
},
|
||||
"dit_config": {
|
||||
"_name_or_path": "",
|
||||
"add_cross_attention": false,
|
||||
"architectures": null,
|
||||
"bad_words_ids": null,
|
||||
"begin_suppress_tokens": null,
|
||||
"block_size": 24,
|
||||
"bos_token_id": null,
|
||||
"chunk_size_feed_forward": 0,
|
||||
"cross_attention_hidden_size": null,
|
||||
"decoder_start_token_id": null,
|
||||
"depth": 22,
|
||||
"dim": 1024,
|
||||
"diversity_penalty": 0.0,
|
||||
"do_sample": false,
|
||||
"dropout": 0.1,
|
||||
"dtype": "float32",
|
||||
"early_stopping": false,
|
||||
"emb_dim": 512,
|
||||
"enc_attention_channels": 64,
|
||||
"enc_channels": [
|
||||
256,
|
||||
256,
|
||||
256,
|
||||
256,
|
||||
768
|
||||
],
|
||||
"enc_dilations": [
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
1
|
||||
],
|
||||
"enc_dim": 128,
|
||||
"enc_emb_dim": 192,
|
||||
"enc_global_context": true,
|
||||
"enc_kernel_sizes": [
|
||||
5,
|
||||
3,
|
||||
3,
|
||||
3,
|
||||
1
|
||||
],
|
||||
"enc_lin_neurons": 192,
|
||||
"enc_res2net_scale": 2,
|
||||
"enc_se_channels": 64,
|
||||
"encoder_no_repeat_ngram_size": 0,
|
||||
"eos_token_id": null,
|
||||
"exponential_decay_length_penalty": null,
|
||||
"ff_mult": 2,
|
||||
"finetuning_task": null,
|
||||
"forced_bos_token_id": null,
|
||||
"forced_eos_token_id": null,
|
||||
"head_dim": 64,
|
||||
"heads": 16,
|
||||
"hidden_size": 1024,
|
||||
"id2label": {
|
||||
"0": "LABEL_0",
|
||||
"1": "LABEL_1"
|
||||
},
|
||||
"is_decoder": false,
|
||||
"is_encoder_decoder": false,
|
||||
"label2id": {
|
||||
"LABEL_0": 0,
|
||||
"LABEL_1": 1
|
||||
},
|
||||
"length_penalty": 1.0,
|
||||
"look_ahead_layers": [
|
||||
10
|
||||
],
|
||||
"look_backward_layers": [
|
||||
0,
|
||||
20
|
||||
],
|
||||
"max_length": 20,
|
||||
"max_position_embeddings": 32768,
|
||||
"mel_dim": 80,
|
||||
"min_length": 0,
|
||||
"model_type": "qwen2_5_omni_dit",
|
||||
"no_repeat_ngram_size": 0,
|
||||
"num_attention_heads": 16,
|
||||
"num_beam_groups": 1,
|
||||
"num_beams": 1,
|
||||
"num_embeds": 8193,
|
||||
"num_hidden_layers": 22,
|
||||
"num_return_sequences": 1,
|
||||
"output_attentions": false,
|
||||
"output_hidden_states": false,
|
||||
"output_scores": false,
|
||||
"pad_token_id": null,
|
||||
"prefix": null,
|
||||
"problem_type": null,
|
||||
"pruned_heads": {},
|
||||
"remove_invalid_values": false,
|
||||
"repeats": 2,
|
||||
"repetition_penalty": 1.0,
|
||||
"return_dict": true,
|
||||
"return_dict_in_generate": false,
|
||||
"rope_theta": 10000.0,
|
||||
"sep_token_id": null,
|
||||
"suppress_tokens": null,
|
||||
"task_specific_params": null,
|
||||
"temperature": 1.0,
|
||||
"tf_legacy_loss": false,
|
||||
"tie_encoder_decoder": false,
|
||||
"tie_word_embeddings": true,
|
||||
"tokenizer_class": null,
|
||||
"top_k": 50,
|
||||
"top_p": 1.0,
|
||||
"torchscript": false,
|
||||
"typical_p": 1.0,
|
||||
"use_bfloat16": false
|
||||
},
|
||||
"dtype": "bfloat16",
|
||||
"model_type": "qwen2_5_omni_token2wav"
|
||||
},
|
||||
"transformers_version": "4.57.1"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"_from_model_config": true,
|
||||
"eos_token_id": [
|
||||
151645,
|
||||
151643
|
||||
],
|
||||
"transformers_version": "4.57.1"
|
||||
}
|
||||
+151388
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:47e09b588950032ae29d1d87c7d680638792254da0f80b37122e7facb9c65b58
|
||||
size 4985055536
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1f7798d7a5baecc19ef0f27f7ace114fa4b0b2c62cae1671defffe88ed07c73d
|
||||
size 4991496832
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8a70d22d9d4a03cf4334e726c15bccc9556cb1e9f013bc7da1dca732b6888432
|
||||
size 4991496936
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:141b23df808e110c337a97888c3221e170f28e511a4e2df13466c8d7f619736c
|
||||
size 2895740064
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"chunk_length": 300,
|
||||
"dither": 0.0,
|
||||
"feature_extractor_type": "WhisperFeatureExtractor",
|
||||
"feature_size": 128,
|
||||
"hop_length": 160,
|
||||
"image_mean": [
|
||||
0.48145466,
|
||||
0.4578275,
|
||||
0.40821073
|
||||
],
|
||||
"image_processor_type": "Qwen2VLImageProcessor",
|
||||
"image_std": [
|
||||
0.26862954,
|
||||
0.26130258,
|
||||
0.27577711
|
||||
],
|
||||
"max_pixels": 12845056,
|
||||
"merge_size": 2,
|
||||
"min_pixels": 3136,
|
||||
"n_fft": 400,
|
||||
"n_samples": 4800000,
|
||||
"nb_max_frames": 30000,
|
||||
"padding_side": "right",
|
||||
"padding_value": 0.0,
|
||||
"patch_size": 14,
|
||||
"processor_class": "Qwen2_5OmniProcessor",
|
||||
"return_attention_mask": true,
|
||||
"sampling_rate": 16000,
|
||||
"temporal_patch_size": 2
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"additional_special_tokens": [
|
||||
"<|im_start|>",
|
||||
"<|im_end|>",
|
||||
"<|AUDIO|>",
|
||||
"<|audio_bos|>",
|
||||
"<|audio_eos|>",
|
||||
"<|box_end|>",
|
||||
"<|quad_start|>",
|
||||
"<|quad_end|>",
|
||||
"<|vision_bos|>",
|
||||
"<|vision_eos|>",
|
||||
"<|vision_pad|>",
|
||||
"<|IMAGE|>",
|
||||
"<|VIDEO|>"
|
||||
],
|
||||
"audio_bos_token": "<|audio_bos|>",
|
||||
"audio_eos_token": "<|audio_eos|>",
|
||||
"audio_token": "<|AUDIO|>",
|
||||
"eos_token": {
|
||||
"content": "<|im_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
},
|
||||
"image_token": "<|IMAGE|>",
|
||||
"pad_token": {
|
||||
"content": "<|endoftext|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
},
|
||||
"video_token": "<|VIDEO|>",
|
||||
"vision_bos_token": "<|vision_bos|>",
|
||||
"vision_eos_token": "<|vision_eos|>"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6a05609b28f5d42b7b748f0f07592545c8f1f6885b9ae8fff64baf56e86b2a18
|
||||
size 259544
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8441917e39ae0244e06d704b95b3124795cec478e297f9afac39ba670d7e9d99
|
||||
size 11421870
|
||||
@@ -0,0 +1,222 @@
|
||||
{
|
||||
"add_prefix_space": false,
|
||||
"added_tokens_decoder": {
|
||||
"151643": {
|
||||
"content": "<|endoftext|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151644": {
|
||||
"content": "<|im_start|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151645": {
|
||||
"content": "<|im_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151646": {
|
||||
"content": "<|AUDIO|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151647": {
|
||||
"content": "<|audio_bos|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151648": {
|
||||
"content": "<|audio_eos|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151649": {
|
||||
"content": "<|box_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151650": {
|
||||
"content": "<|quad_start|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151651": {
|
||||
"content": "<|quad_end|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151652": {
|
||||
"content": "<|vision_bos|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151653": {
|
||||
"content": "<|vision_eos|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151654": {
|
||||
"content": "<|vision_pad|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151655": {
|
||||
"content": "<|IMAGE|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151656": {
|
||||
"content": "<|VIDEO|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": true
|
||||
},
|
||||
"151657": {
|
||||
"content": "<tool_call>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151658": {
|
||||
"content": "</tool_call>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151659": {
|
||||
"content": "<|fim_prefix|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151660": {
|
||||
"content": "<|fim_middle|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151661": {
|
||||
"content": "<|fim_suffix|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151662": {
|
||||
"content": "<|fim_pad|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151663": {
|
||||
"content": "<|repo_name|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
},
|
||||
"151664": {
|
||||
"content": "<|file_sep|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false,
|
||||
"special": false
|
||||
}
|
||||
},
|
||||
"additional_special_tokens": [
|
||||
"<|im_start|>",
|
||||
"<|im_end|>",
|
||||
"<|AUDIO|>",
|
||||
"<|audio_bos|>",
|
||||
"<|audio_eos|>",
|
||||
"<|box_end|>",
|
||||
"<|quad_start|>",
|
||||
"<|quad_end|>",
|
||||
"<|vision_bos|>",
|
||||
"<|vision_eos|>",
|
||||
"<|vision_pad|>",
|
||||
"<|IMAGE|>",
|
||||
"<|VIDEO|>"
|
||||
],
|
||||
"audio_bos_token": "<|audio_bos|>",
|
||||
"audio_eos_token": "<|audio_eos|>",
|
||||
"audio_token": "<|AUDIO|>",
|
||||
"bos_token": null,
|
||||
"clean_up_tokenization_spaces": false,
|
||||
"eos_token": "<|im_end|>",
|
||||
"errors": "replace",
|
||||
"extra_special_tokens": {
|
||||
"audio_bos_token": "<|audio_bos|>",
|
||||
"audio_eos_token": "<|audio_eos|>",
|
||||
"audio_token": "<|AUDIO|>",
|
||||
"image_token": "<|IMAGE|>",
|
||||
"video_token": "<|VIDEO|>",
|
||||
"vision_bos_token": "<|vision_bos|>",
|
||||
"vision_eos_token": "<|vision_eos|>"
|
||||
},
|
||||
"image_token": "<|IMAGE|>",
|
||||
"model_max_length": 32768,
|
||||
"pad_token": "<|endoftext|>",
|
||||
"processor_class": "Qwen2_5OmniProcessor",
|
||||
"split_special_tokens": false,
|
||||
"tokenizer_class": "Qwen2Tokenizer",
|
||||
"unk_token": null,
|
||||
"video_token": "<|VIDEO|>",
|
||||
"vision_bos_token": "<|vision_bos|>",
|
||||
"vision_eos_token": "<|vision_eos|>"
|
||||
}
|
||||
+7970
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:519b67b2a28b20e37f307a47f64302afbd94079b8f5c5c5f576a935da39e0257
|
||||
size 12241
|
||||
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"chunk_length": 300,
|
||||
"crop_size": null,
|
||||
"data_format": "channels_first",
|
||||
"default_to_square": true,
|
||||
"device": null,
|
||||
"dither": 0.0,
|
||||
"do_center_crop": null,
|
||||
"do_convert_rgb": true,
|
||||
"do_normalize": true,
|
||||
"do_pad": null,
|
||||
"do_rescale": true,
|
||||
"do_resize": true,
|
||||
"do_sample_frames": false,
|
||||
"feature_extractor_type": "WhisperFeatureExtractor",
|
||||
"feature_size": 128,
|
||||
"fps": null,
|
||||
"hop_length": 160,
|
||||
"image_mean": [
|
||||
0.48145466,
|
||||
0.4578275,
|
||||
0.40821073
|
||||
],
|
||||
"image_processor_type": "Qwen2VLImageProcessor",
|
||||
"image_std": [
|
||||
0.26862954,
|
||||
0.26130258,
|
||||
0.27577711
|
||||
],
|
||||
"input_data_format": null,
|
||||
"max_frames": 768,
|
||||
"max_pixels": 12845056,
|
||||
"merge_size": 2,
|
||||
"min_frames": 4,
|
||||
"min_pixels": 3136,
|
||||
"n_fft": 400,
|
||||
"n_samples": 4800000,
|
||||
"nb_max_frames": 30000,
|
||||
"num_frames": null,
|
||||
"pad_size": null,
|
||||
"padding_side": "right",
|
||||
"padding_value": 0.0,
|
||||
"patch_size": 14,
|
||||
"processor_class": "Qwen2_5OmniProcessor",
|
||||
"resample": 3,
|
||||
"rescale_factor": 0.00392156862745098,
|
||||
"return_attention_mask": true,
|
||||
"return_metadata": false,
|
||||
"sampling_rate": 16000,
|
||||
"size": {
|
||||
"longest_edge": 12845056,
|
||||
"shortest_edge": 3136
|
||||
},
|
||||
"size_divisor": null,
|
||||
"temporal_patch_size": 2,
|
||||
"video_metadata": null,
|
||||
"video_processor_type": "Qwen2VLVideoProcessor"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{"!":0,"\"":1,"#":2,"$":3,"%":4,"&":5,"'":6,"(":7,")":8,"*":9,"+":10,",":11,"-":12,".":13,"/":14,"0":15,"1":16,"2":17,"3":18,"4":19,"5":20,"6":21,"7":22,"8":23,"9":24,":":25,";":26,"<":27,"=":28,">":29,"?":30,"@":31,"A":32,"B":33,"C":34,"D":35,"E":36,"F":37,"G":38,"H":39,"I":40,"J":41,"K":42,"L":43,"M":44,"N":45,"O":46,"P":47,"Q":48,"R":49,"S":50,"T":51,"U":52,"V":53,"W":54,"X":55,"Y":56,"Z":57,"[":58,"\\":59,"]":60,"^":61,"_":62,"`":63,"a":64,"b":65,"c":66,"d":67,"e":68,"f":69,"g":70,"h":71,"i":72,"j":73,"k":74,"l":75,"m":76,"n":77,"o":78,"p":79,"q":80,"r":81,"s":82,"t":83,"u":84,"v":85,"w":86,"x":87,"y":88,"z":89,"{":90,"|":91,"}":92,"~":93,"¡":94,"¢":95,"£":96,"¤":97,"¥":98,"¦":99,"§":100,"¨":101,"©":102,"ª":103,"«":104,"¬":105,"®":106,"¯":107,"°":108,"±":109,"²":110,"³":111,"´":112,"µ":113,"¶":114,"·":115,"¸":116,"¹":117,"º":118,"»":119,"¼":120,"½":121,"¾":122,"¿":123,"À":124,"Á":125,"Â":126,"Ã":127,"Ä":128,"Å":129,"Æ":130,"Ç":131,"È":132,"É":133,"Ê":134,"Ë":135,"Ì":136,"Í":137,"Î":138,"Ï":139,"Ð":140,"Ñ":141,"Ò":142,"Ó":143,"Ô":144,"Õ":145,"Ö":146,"×":147,"Ø":148,"Ù":149,"Ú":150,"Û":151,"Ü":152,"Ý":153,"Þ":154,"ß":155,"à":156,"á":157,"â":158,"ã":159,"ä":160,"å":161,"æ":162,"ç":163,"è":164,"é":165,"ê":166,"ë":167,"ì":168,"í":169,"î":170,"ï":171,"ð":172,"ñ":173,"ò":174,"ó":175,"ô":176,"õ":177,"ö":178,"÷":179,"ø":180,"ù":181,"ú":182,"û":183,"ü":184,"ý":185,"þ":186,"ÿ":187,"Ā":188,"ā":189,"Ă":190,"ă":191,"Ą":192,"ą":193,"Ć":194,"ć":195,"Ĉ":196,"ĉ":197,"Ċ":198,"ċ":199,"Č":200,"č":201,"Ď":202,"ď":203,"Đ":204,"đ":205,"Ē":206,"ē":207,"Ĕ":208,"ĕ":209,"Ė":210,"ė":211,"Ę":212,"ę":213,"Ě":214,"ě":215,"Ĝ":216,"ĝ":217,"Ğ":218,"ğ":219,"Ġ":220,"ġ":221,"Ģ":222,"ģ":223,"Ĥ":224,"ĥ":225,"Ħ":226,"ħ":227,"Ĩ":228,"ĩ":229,"Ī":230,"ī":231,"Ĭ":232,"ĭ":233,"Į":234,"į":235,"İ":236,"ı":237,"IJ":238,"ij":239,"Ĵ":240,"ĵ":241,"Ķ":242,"ķ":243,"ĸ":244,"Ĺ":245,"ĺ":246,"Ļ":247,"ļ":248,"Ľ":249,"ľ":250,"Ŀ":251,"ŀ":252,"Ł":253,"ł":254,"Ń":255,"ĠĠ":256,"ĠĠĠĠ":257,"in":258,"Ġt":259,"ĠĠĠĠĠĠĠĠ":260,"er":261,"ĠĠĠ":262,"on":263,"Ġa":264,"re":265,"at":266,"st":267,"en":268,"or":269,"Ġth":270,"ĊĊ":271,"Ġc":272,"le":273,"Ġs":274,"it":275,"an":276,"ar":277,"al":278,"Ġthe":279,";Ċ":280,"Ġp":281,"Ġf":282,"ou":283,"Ġ=":284,"is":285,"ĠĠĠĠĠĠĠ":286,"ing":287,"es":288,"Ġw":289,"ion":290,"ed":291,"ic":292,"Ġb":293,"Ġd":294,"et":295,"Ġm":296,"Ġo":297,"ĉĉ":298,"ro":299,"as":300,"el":301,"ct":302,"nd":303,"Ġin":304,"Ġh":305,"ent":306,"id":307,"Ġn":308,"am":309,"ĠĠĠĠĠĠĠĠĠĠĠ":310,"Ġto":311,"Ġre":312,"--":313,"Ġ{":314,"Ġof":315,"om":316,");Ċ":317,"im":318,"čĊ":319,"Ġ(":320,"il":321,"//":322,"Ġand":323,"ur":324,"se":325,"Ġl":326,"ex":327,"ĠS":328,"ad":329,"Ġ\"":330,"ch":331,"ut":332,"if":333,"**":334,"Ġ}":335,"em":336,"ol":337,"ĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ":338,"th":339,")Ċ":340,"Ġ{Ċ":341,"Ġg":342,"ig":343,"iv":344,",Ċ":345,"ce":346,"od":347,"Ġv":348,"ate":349,"ĠT":350,"ag":351,"ay":352,"Ġ*":353,"ot":354,"us":355,"ĠC":356,"Ġst":357,"ĠI":358,"un":359,"ul":360,"ue":361,"ĠA":362,"ow":363,"Ġ'":364,"ew":365,"Ġ<":366,"ation":367,"()":368,"Ġfor":369,"ab":370,"ort":371,"um":372,"ame":373,"Ġis":374,"pe":375,"tr":376,"ck":377,"âĢ":378,"Ġy":379,"ist":380,"----":381,".ĊĊ":382,"he":383,"Ġe":384,"lo":385,"ĠM":386,"Ġbe":387,"ers":388,"Ġon":389,"Ġcon":390,"ap":391,"ub":392,"ĠP":393,"ĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ":394,"ass":395,"int":396,">Ċ":397,"ly":398,"urn":399,"Ġ$":400,";ĊĊ":401,"av":402,"port":403,"ir":404,"->":405,"nt":406,"ction":407,"end":408,"Ġde":409,"ith":410,"out":411,"turn":412,"our":413,"ĠĠĠĠĠ":414,"lic":415,"res":416,"pt":417,"==":418,"Ġthis":419,"Ġwh":420,"Ġif":421,"ĠD":422,"ver":423,"age":424,"ĠB":425,"ht":426,"ext":427,"=\"":428,"Ġthat":429,"****":430,"ĠR":431,"Ġit":432,"ess":433,"ĠF":434,"Ġr":435,"os":436,"and":437,"Ġas":438,"ect":439,"ke":440,"rom":441,"Ġ//":442,"con":443,"ĠL":444,"(\"":445,"qu":446,"lass":447,"Ġwith":448,"iz":449,"de":450,"ĠN":451,"Ġal":452,"op":453,"up":454,"get":455,"Ġ}Ċ":456,"ile":457,"Ġan":458,"ata":459,"ore":460,"ri":461,"Ġpro":462,";čĊ":463,"ĉĉĉĉ":464,"ter":465,"ain":466,"ĠW":467,"ĠE":468,"Ġcom":469,"Ġreturn":470,"art":471,"ĠH":472,"ack":473,"import":474,"ublic":475,"Ġor":476,"est":477,"ment":478,"ĠG":479,"able":480,"Ġ-":481,"ine":482,"ill":483,"ind":484,"ere":485,"::":486,"ity":487,"Ġ+":488,"Ġtr":489,"elf":490,"ight":491,"('":492,"orm":493,"ult":494,"str":495,"..":496,"\",":497,"Ġyou":498,"ype":499,"pl":500,"Ġnew":501,"Ġj":502,"ĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ":503,"Ġfrom":504,"Ġex":505,"ĠO":506,"ld":507,"Ġ[":508,"oc":509,":Ċ":510,"Ġse":511,"Ġle":512,"--------":513,".s":514,"{Ċ":515,"',":516,"ant":517,"Ġat":518,"ase":519,".c":520,"Ġch":521,"</":522,"ave":523,"ang":524,"Ġare":525,"Ġint":526,"âĢĻ":527,"_t":528,"Line truncated
|
||||
Reference in new issue
Block a user