Jun-Yang commited on
Commit
a8547cd
·
verified ·
1 Parent(s): 5f0e321

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -59,3 +59,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
  dataset4/tokenizer.json filter=lfs diff=lfs merge=lfs -text
 
 
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
  dataset4/tokenizer.json filter=lfs diff=lfs merge=lfs -text
62
+ dataset9/tokenizer.json filter=lfs diff=lfs merge=lfs -text
dataset9/.gitattributes ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz 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
dataset9/.ms_upload_cache ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version": 3, "repo_id": "SIGSjjy/benchmarkdata", "files": {"dataset9/tokenizer.json|1789976656.9442096|19989343": {"hash": "87a7830d63fcf43bf241c3c5242e96e62dd3fdc29224ca26fed8ea333db72de4", "size": 19989343, "status": "c"}, "dataset9/model.safetensors|1789977119.7610369|18819720264": {"hash": "8727e447b3d42e589672c1b27443a6e8399c92ccfc90ebde3f9cb7e8496d9b9f", "size": 18819720264, "status": "c"}, "dataset9/.gitattributes|1789976654.7901769|1570": {"hash": "34448b82c17d60fec9b65b1f093c115ddbaadc04beb1b0140b6bfed2e012a930", "size": 1570, "status": "c"}, "dataset9/config.json|1789976655.4109192|2900": {"hash": "995196f6106dfbb228e3f198b3eaf14985ef437de88ca5fa5f8910eaf83b2353", "size": 2900, "status": "c"}, "dataset9/generation_config.json|1789976655.3742962|204": {"hash": "5f02aa641d88dd1b466df7b5ef82e5829629d28931a9e6a6750ddfd2b796b812", "size": 204, "status": "c"}, "dataset9/README.md|1789976658.1813314|6178": {"hash": "e510652ae7d79ccd5f2dc0d83c6849033d1f506bc029cbb88a10152daad05988", "size": 6178, "status": "c"}, "dataset9/chat_template.jinja|1789976655.3687828|5415": {"hash": "d9604b52b4e1f4b9ec68e065238c757a3d7efdebe1c3692d13a97df6f84c54db", "size": 5415, "status": "c"}, "dataset9/processor_config.json|1789976662.8358223|1191": {"hash": "d89ef49ce9cd37fbf510158e13c1ef063d9286411c1ec9049932dbe0487143b1", "size": 1191, "status": "c"}, "dataset9/tokenizer_config.json|1789976656.123347|1139": {"hash": "e98f1901ac6f0adff67b1d540bfa0c36ac1a0cf59eb72ed78146ef89aafa1182", "size": 1139, "status": "c"}}}
dataset9/README.md ADDED
@@ -0,0 +1,124 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model:
4
+ - Qwen/Qwen3.5-9B
5
+ language:
6
+ - en
7
+ - zh
8
+ library_name: transformers
9
+ pipeline_tag: image-text-to-text
10
+ datasets:
11
+ - yuanqianhao/Vision-OPD-6K
12
+ tags:
13
+ - multimodal
14
+ - vision-language
15
+ - fine-grained-visual-understanding
16
+ - on-policy-distillation
17
+ - self-distillation
18
+ ---
19
+
20
+ # Vision-OPD-9B
21
+
22
+ <p align="center">
23
+ 📄 <a href="https://arxiv.org/abs/2605.18740">Paper</a> &nbsp;|&nbsp;
24
+ 💻 <a href="https://github.com/VisionOPD/Vision-OPD">Code</a> &nbsp;|&nbsp;
25
+ 🤗 <a href="https://huggingface.co/datasets/yuanqianhao/Vision-OPD-6K">Training Data</a> &nbsp;|&nbsp;
26
+ 📦 <a href="https://hf.co/collections/yuanqianhao/vision-opd">Collection</a>
27
+ </p>
28
+
29
+ ## Model Summary
30
+
31
+ **Vision-OPD-9B** is a multimodal LLM built on [`Qwen/Qwen3.5-9B`](https://huggingface.co/Qwen/Qwen3.5-9B) and trained with
32
+ **Vision-OPD (Vision On-Policy Distillation)**, the regional-to-global self-distillation framework introduced in
33
+ [Vision-OPD: Learning to See Fine Details for Multimodal LLMs via On-Policy Self-Distillation](https://arxiv.org/abs/2605.18740).
34
+
35
+ MLLMs often answer fine-grained questions correctly when given an evidence-centered **crop**, yet fail on the corresponding
36
+ **full image** — a persistent *regional-to-global perception gap*. Vision-OPD closes this gap by letting the model act as its
37
+ own teacher: a **crop-conditioned teacher** and a **full-image-conditioned student** are instantiated from the same MLLM, the
38
+ student generates on-policy rollouts, and training minimizes the token-level divergence between the two distributions along
39
+ these rollouts. The benefit of visual zooming is thereby internalized into a **single forward pass** — no external teacher,
40
+ no ground-truth labels, no reward verifiers, and no inference-time tool use.
41
+
42
+ With only **6.2K synthetic samples**, Vision-OPD-9B outperforms much larger open-source models (e.g., Qwen3.5-397B, Kimi-K2.6),
43
+ closed-source models (e.g., GPT-5.4, Gemini-3.1-Pro), and "Thinking-with-Images" agentic methods on fine-grained visual
44
+ understanding benchmarks, while preserving general multimodal abilities on holdout tasks.
45
+
46
+ ## Key Features
47
+
48
+ - 🔍 **Sees fine details in one forward pass** — no cropping tools, zoom-in calls, or multi-step agentic inference at test time.
49
+ - 🪞 **Self-distillation, label-free** — the model's own crop-conditioned perception supervises its full-image policy; no external teacher, ground-truth labels, or reward verifiers.
50
+ - 🎯 **On-policy + dense supervision** — token-level divergence (JSD, β = 0.5) on the student's own rollouts avoids the exposure bias of SFT and the sparse rewards of RLVR.
51
+ - 📉 **Data-efficient** — trained on only 6.2K automatically synthesized samples ([Vision-OPD-6K](https://huggingface.co/datasets/yuanqianhao/Vision-OPD-6K)), one epoch.
52
+ - 🧠 **No forgetting** — general multimodal capability is preserved on holdout tasks (MMVP, CV-Bench, MMStar, POPE).
53
+
54
+ ## How It Works
55
+
56
+ 1. **Data synthesis** — evidence regions are proposed on unlabeled images via object identification and segmentation; a question answerable from the crop alone is generated, and the region's bounding box is overlaid on the full image for grounding. This yields triplets *(full image, crop, question)*.
57
+ 2. **Two policies, one model** — the teacher conditions on the privileged crop, the student on the full image.
58
+ 3. **On-policy distillation** — the student samples a rollout (up to 1024 tokens); at every position both policies are evaluated on the same student prefix, and the per-token JSD between them is minimized (top-K = 100 logits distillation). Gradients flow only through the student.
59
+ 4. **EMA teacher regularization** — the teacher is updated as an exponential moving average of the student (α = 0.05), which prevents teacher–student co-adaptation and training collapse.
60
+
61
+ ## Quickstart
62
+
63
+ Weights load with standard `transformers` (≥ 5.5):
64
+
65
+ ```python
66
+ from transformers import AutoModelForImageTextToText, AutoProcessor
67
+
68
+ model_id = "yuanqianhao/Vision-OPD-9B"
69
+ model = AutoModelForImageTextToText.from_pretrained(model_id, dtype="bfloat16", device_map="auto")
70
+ processor = AutoProcessor.from_pretrained(model_id)
71
+
72
+ messages = [{
73
+ "role": "user",
74
+ "content": [
75
+ {"type": "image", "url": "https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-VL/assets/demo.jpeg"},
76
+ {"type": "text", "text": "What is the color of the label on the bottle in the background?"},
77
+ ],
78
+ }]
79
+ inputs = processor.apply_chat_template(
80
+ messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt"
81
+ ).to(model.device)
82
+ outputs = model.generate(**inputs, max_new_tokens=512)
83
+ print(processor.decode(outputs[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))
84
+ ```
85
+
86
+ Or serve with vLLM (OpenAI-compatible API), as used in our evaluation:
87
+
88
+ ```bash
89
+ vllm serve yuanqianhao/Vision-OPD-9B --port 8000
90
+ ```
91
+
92
+ To reproduce the reported numbers, use the released evaluation harness:
93
+
94
+ ```bash
95
+ git clone https://github.com/VisionOPD/Vision-OPD && cd Vision-OPD
96
+ bash eval/run_eval.sh # see README for API base / judge / benchmark env vars
97
+ ```
98
+
99
+ ## Training Details
100
+
101
+ | | |
102
+ |---|---|
103
+ | Base model | [`Qwen/Qwen3.5-9B`](https://huggingface.co/Qwen/Qwen3.5-9B) (non-thinking mode) |
104
+ | Data | [Vision-OPD-6K](https://huggingface.co/datasets/yuanqianhao/Vision-OPD-6K) — 6.2K synthesized (full image, crop, question) triplets |
105
+ | Objective | Token-level JSD (β = 0.5) on on-policy student rollouts, top-K = 100 logits distillation |
106
+ | Teacher | Same model conditioned on the privileged crop, EMA-regularized (α = 0.05) |
107
+ | Rollout length | 1024 tokens, 1 epoch |
108
+
109
+ Training code: [github.com/VisionOPD/Vision-OPD](https://github.com/VisionOPD/Vision-OPD).
110
+
111
+ ## Citation
112
+
113
+ ```bibtex
114
+ @article{yuan2026vision,
115
+ title={Vision-OPD: Learning to See Fine Details for Multimodal LLMs via On-Policy Self-Distillation},
116
+ author={Yuan, Qianhao and Lou, Jie and Yu, Xing and Lin, Hongyu and Sun, Le and Han, Xianpei and Lu, Yaojie},
117
+ journal={arXiv preprint arXiv:2605.18740},
118
+ year={2026}
119
+ }
120
+ ```
121
+
122
+ ## License
123
+
124
+ Released under Apache-2.0, following the base model [`Qwen/Qwen3.5-9B`](https://huggingface.co/Qwen/Qwen3.5-9B).
dataset9/chat_template.jinja ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- set _enable_thinking = enable_thinking if enable_thinking is defined else none %}
2
+ {%- if tools %}
3
+ {{- '<|im_start|>system\n' }}
4
+ {%- if messages[0].role == 'system' %}
5
+ {%- if messages[0].content is string %}
6
+ {{- messages[0].content }}
7
+ {%- else %}
8
+ {%- for content in messages[0].content %}
9
+ {%- if 'text' in content %}
10
+ {{- content.text }}
11
+ {%- endif %}
12
+ {%- endfor %}
13
+ {%- endif %}
14
+ {{- '\n\n' }}
15
+ {%- endif %}
16
+ {{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
17
+ {%- for tool in tools %}
18
+ {{- "\n" }}
19
+ {{- tool | tojson }}
20
+ {%- endfor %}
21
+ {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
22
+ {%- else %}
23
+ {%- if messages[0].role == 'system' %}
24
+ {{- '<|im_start|>system\n' }}
25
+ {%- if messages[0].content is string %}
26
+ {{- messages[0].content }}
27
+ {%- else %}
28
+ {%- for content in messages[0].content %}
29
+ {%- if 'text' in content %}
30
+ {{- content.text }}
31
+ {%- endif %}
32
+ {%- endfor %}
33
+ {%- endif %}
34
+ {{- '<|im_end|>\n' }}
35
+ {%- endif %}
36
+ {%- endif %}
37
+ {%- set image_count = namespace(value=0) %}
38
+ {%- set video_count = namespace(value=0) %}
39
+ {%- for message in messages %}
40
+ {%- if message.role == "user" %}
41
+ {{- '<|im_start|>' + message.role + '\n' }}
42
+ {%- if message.content is string %}
43
+ {{- message.content }}
44
+ {%- else %}
45
+ {%- for content in message.content %}
46
+ {%- if content.type == 'image' or 'image' in content or 'image_url' in content %}
47
+ {%- set image_count.value = image_count.value + 1 %}
48
+ {%- if add_vision_id %}Picture {{ image_count.value }}: {% endif -%}
49
+ <|vision_start|><|image_pad|><|vision_end|>
50
+ {%- elif content.type == 'video' or 'video' in content %}
51
+ {%- set video_count.value = video_count.value + 1 %}
52
+ {%- if add_vision_id %}Video {{ video_count.value }}: {% endif -%}
53
+ <|vision_start|><|video_pad|><|vision_end|>
54
+ {%- elif 'text' in content %}
55
+ {{- content.text }}
56
+ {%- endif %}
57
+ {%- endfor %}
58
+ {%- endif %}
59
+ {{- '<|im_end|>\n' }}
60
+ {%- elif message.role == "assistant" %}
61
+ {{- '<|im_start|>' + message.role + '\n' }}
62
+ {%- if message.content is string %}
63
+ {{- message.content }}
64
+ {%- else %}
65
+ {%- for content_item in message.content %}
66
+ {%- if 'text' in content_item %}
67
+ {{- content_item.text }}
68
+ {%- endif %}
69
+ {%- endfor %}
70
+ {%- endif %}
71
+ {%- if message.tool_calls %}
72
+ {%- for tool_call in message.tool_calls %}
73
+ {%- if (loop.first and message.content) or (not loop.first) %}
74
+ {{- '\n' }}
75
+ {%- endif %}
76
+ {%- if tool_call.function %}
77
+ {%- set tool_call = tool_call.function %}
78
+ {%- endif %}
79
+ {{- '<tool_call>\n{"name": "' }}
80
+ {{- tool_call.name }}
81
+ {{- '", "arguments": ' }}
82
+ {%- if tool_call.arguments is string %}
83
+ {{- tool_call.arguments }}
84
+ {%- else %}
85
+ {{- tool_call.arguments | tojson }}
86
+ {%- endif %}
87
+ {{- '}\n</tool_call>' }}
88
+ {%- endfor %}
89
+ {%- endif %}
90
+ {{- '<|im_end|>\n' }}
91
+ {%- elif message.role == "tool" %}
92
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
93
+ {{- '<|im_start|>user' }}
94
+ {%- endif %}
95
+ {{- '\n<tool_response>\n' }}
96
+ {%- if message.content is string %}
97
+ {{- message.content }}
98
+ {%- else %}
99
+ {%- for content in message.content %}
100
+ {%- if content.type == 'image' or 'image' in content or 'image_url' in content %}
101
+ {%- set image_count.value = image_count.value + 1 %}
102
+ {%- if add_vision_id %}Picture {{ image_count.value }}: {% endif -%}
103
+ <|vision_start|><|image_pad|><|vision_end|>
104
+ {%- elif content.type == 'video' or 'video' in content %}
105
+ {%- set video_count.value = video_count.value + 1 %}
106
+ {%- if add_vision_id %}Video {{ video_count.value }}: {% endif -%}
107
+ <|vision_start|><|video_pad|><|vision_end|>
108
+ {%- elif 'text' in content %}
109
+ {{- content.text }}
110
+ {%- endif %}
111
+ {%- endfor %}
112
+ {%- endif %}
113
+ {{- '\n</tool_response>' }}
114
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
115
+ {{- '<|im_end|>\n' }}
116
+ {%- endif %}
117
+ {%- endif %}
118
+ {%- endfor %}
119
+ {%- if add_generation_prompt %}
120
+ {{- '<|im_start|>assistant\n' }}
121
+ {{- '<think>\n\n</think>\n\n' }}
122
+ {%- endif %}
dataset9/config.json ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen3_5ForConditionalGeneration"
4
+ ],
5
+ "bos_token_id": null,
6
+ "dtype": "bfloat16",
7
+ "eos_token_id": 248046,
8
+ "image_token_id": 248056,
9
+ "model_type": "qwen3_5",
10
+ "pad_token_id": 248044,
11
+ "text_config": {
12
+ "attention_bias": false,
13
+ "attention_dropout": 0.0,
14
+ "attn_output_gate": true,
15
+ "bos_token_id": null,
16
+ "dtype": "bfloat16",
17
+ "eos_token_id": 248044,
18
+ "full_attention_interval": 4,
19
+ "head_dim": 256,
20
+ "hidden_act": "silu",
21
+ "hidden_size": 4096,
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 12288,
24
+ "layer_types": [
25
+ "linear_attention",
26
+ "linear_attention",
27
+ "linear_attention",
28
+ "full_attention",
29
+ "linear_attention",
30
+ "linear_attention",
31
+ "linear_attention",
32
+ "full_attention",
33
+ "linear_attention",
34
+ "linear_attention",
35
+ "linear_attention",
36
+ "full_attention",
37
+ "linear_attention",
38
+ "linear_attention",
39
+ "linear_attention",
40
+ "full_attention",
41
+ "linear_attention",
42
+ "linear_attention",
43
+ "linear_attention",
44
+ "full_attention",
45
+ "linear_attention",
46
+ "linear_attention",
47
+ "linear_attention",
48
+ "full_attention",
49
+ "linear_attention",
50
+ "linear_attention",
51
+ "linear_attention",
52
+ "full_attention",
53
+ "linear_attention",
54
+ "linear_attention",
55
+ "linear_attention",
56
+ "full_attention"
57
+ ],
58
+ "linear_conv_kernel_dim": 4,
59
+ "linear_key_head_dim": 128,
60
+ "linear_num_key_heads": 16,
61
+ "linear_num_value_heads": 32,
62
+ "linear_value_head_dim": 128,
63
+ "mamba_ssm_dtype": "float32",
64
+ "max_position_embeddings": 262144,
65
+ "mlp_only_layers": [],
66
+ "model_type": "qwen3_5_text",
67
+ "mtp_num_hidden_layers": 1,
68
+ "mtp_use_dedicated_embeddings": false,
69
+ "num_attention_heads": 16,
70
+ "num_hidden_layers": 32,
71
+ "num_key_value_heads": 4,
72
+ "pad_token_id": null,
73
+ "partial_rotary_factor": 0.25,
74
+ "rms_norm_eps": 1e-06,
75
+ "rope_parameters": {
76
+ "mrope_interleaved": true,
77
+ "mrope_section": [
78
+ 11,
79
+ 11,
80
+ 10
81
+ ],
82
+ "partial_rotary_factor": 0.25,
83
+ "rope_theta": 10000000,
84
+ "rope_type": "default"
85
+ },
86
+ "tie_word_embeddings": false,
87
+ "use_cache": true,
88
+ "vocab_size": 248320
89
+ },
90
+ "tie_word_embeddings": false,
91
+ "transformers_version": "5.5.0",
92
+ "video_token_id": 248057,
93
+ "vision_config": {
94
+ "deepstack_visual_indexes": [],
95
+ "depth": 27,
96
+ "dtype": "bfloat16",
97
+ "hidden_act": "gelu_pytorch_tanh",
98
+ "hidden_size": 1152,
99
+ "in_channels": 3,
100
+ "initializer_range": 0.02,
101
+ "intermediate_size": 4304,
102
+ "model_type": "qwen3_5",
103
+ "num_heads": 16,
104
+ "num_position_embeddings": 2304,
105
+ "out_hidden_size": 4096,
106
+ "patch_size": 16,
107
+ "spatial_merge_size": 2,
108
+ "temporal_patch_size": 2
109
+ },
110
+ "vision_end_token_id": 248054,
111
+ "vision_start_token_id": 248053
112
+ }
dataset9/generation_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "eos_token_id": 248046,
4
+ "output_attentions": false,
5
+ "output_hidden_states": false,
6
+ "pad_token_id": 248044,
7
+ "transformers_version": "5.5.0",
8
+ "use_cache": true
9
+ }
dataset9/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8727e447b3d42e589672c1b27443a6e8399c92ccfc90ebde3f9cb7e8496d9b9f
3
+ size 18819720264
dataset9/processor_config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "image_processor": {
3
+ "do_convert_rgb": true,
4
+ "do_normalize": true,
5
+ "do_rescale": true,
6
+ "do_resize": true,
7
+ "image_mean": [
8
+ 0.5,
9
+ 0.5,
10
+ 0.5
11
+ ],
12
+ "image_processor_type": "Qwen2VLImageProcessor",
13
+ "image_std": [
14
+ 0.5,
15
+ 0.5,
16
+ 0.5
17
+ ],
18
+ "merge_size": 2,
19
+ "patch_size": 16,
20
+ "resample": 3,
21
+ "rescale_factor": 0.00392156862745098,
22
+ "size": {
23
+ "longest_edge": 16777216,
24
+ "shortest_edge": 65536
25
+ },
26
+ "temporal_patch_size": 2
27
+ },
28
+ "processor_class": "Qwen3VLProcessor",
29
+ "video_processor": {
30
+ "do_convert_rgb": true,
31
+ "do_normalize": true,
32
+ "do_rescale": true,
33
+ "do_resize": true,
34
+ "do_sample_frames": true,
35
+ "fps": 2,
36
+ "image_mean": [
37
+ 0.5,
38
+ 0.5,
39
+ 0.5
40
+ ],
41
+ "image_std": [
42
+ 0.5,
43
+ 0.5,
44
+ 0.5
45
+ ],
46
+ "max_frames": 768,
47
+ "merge_size": 2,
48
+ "min_frames": 4,
49
+ "patch_size": 16,
50
+ "resample": 3,
51
+ "rescale_factor": 0.00392156862745098,
52
+ "return_metadata": false,
53
+ "size": {
54
+ "longest_edge": 25165824,
55
+ "shortest_edge": 4096
56
+ },
57
+ "temporal_patch_size": 2,
58
+ "video_processor_type": "Qwen3VLVideoProcessor"
59
+ }
60
+ }
dataset9/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:87a7830d63fcf43bf241c3c5242e96e62dd3fdc29224ca26fed8ea333db72de4
3
+ size 19989343
dataset9/tokenizer_config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "audio_bos_token": "<|audio_start|>",
4
+ "audio_eos_token": "<|audio_end|>",
5
+ "audio_token": "<|audio_pad|>",
6
+ "backend": "tokenizers",
7
+ "bos_token": null,
8
+ "clean_up_tokenization_spaces": false,
9
+ "eos_token": "<|im_end|>",
10
+ "errors": "replace",
11
+ "image_token": "<|image_pad|>",
12
+ "is_local": true,
13
+ "model_max_length": 262144,
14
+ "model_specific_special_tokens": {
15
+ "audio_bos_token": "<|audio_start|>",
16
+ "audio_eos_token": "<|audio_end|>",
17
+ "audio_token": "<|audio_pad|>",
18
+ "image_token": "<|image_pad|>",
19
+ "video_token": "<|video_pad|>",
20
+ "vision_bos_token": "<|vision_start|>",
21
+ "vision_eos_token": "<|vision_end|>"
22
+ },
23
+ "pad_token": "<|endoftext|>",
24
+ "pretokenize_regex": "(?i:'s|'t|'re|'ve|'m|'ll|'d)|[^\\r\\n\\p{L}\\p{N}]?[\\p{L}\\p{M}]+|\\p{N}| ?[^\\s\\p{L}\\p{M}\\p{N}]+[\\r\\n]*|\\s*[\\r\\n]+|\\s+(?!\\S)|\\s+",
25
+ "processor_class": "Qwen3VLProcessor",
26
+ "split_special_tokens": false,
27
+ "tokenizer_class": "TokenizersBackend",
28
+ "unk_token": null,
29
+ "video_token": "<|video_pad|>",
30
+ "vision_bos_token": "<|vision_start|>",
31
+ "vision_eos_token": "<|vision_end|>"
32
+ }