divinetribe commited on
Commit
6fcddf7
·
verified ·
1 Parent(s): 61c875b

Add files using upload-large-folder tool

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 ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: microsoft/AesCode-32B
3
+ base_model_relation: finetune
4
+ library_name: mlx
5
+ pipeline_tag: image-text-to-text
6
+ tags:
7
+ - mlx
8
+ - multimodal
9
+ - vision
10
+ - code-generation
11
+ - html
12
+ - apple-silicon
13
+ language:
14
+ - en
15
+ license: apache-2.0
16
+ ---
17
+
18
+ # AesCode-32B MLX bf16
19
+
20
+ A faithful, full-precision (bfloat16) MLX conversion of
21
+ [microsoft/AesCode-32B](https://huggingface.co/microsoft/AesCode-32B) for Apple
22
+ Silicon, **with the vision tower kept intact**.
23
+
24
+ AesCode-32B is a `Qwen3VLForConditionalGeneration` finetune of
25
+ [Qwen/Qwen3-VL-32B-Instruct](https://huggingface.co/Qwen/Qwen3-VL-32B-Instruct)
26
+ that turns a prompt plus a reference image into information-rich visual artifacts
27
+ (slides, posters, dashboards, product pages) as HTML and CSS. It sees a screenshot
28
+ and writes the code for it.
29
+
30
+ This conversion changes nothing about the model's behavior. It is the same
31
+ 33.4B-parameter bf16 weights, re-sharded into MLX format so they load and run
32
+ natively on an M-series Mac with no PyTorch and no cloud.
33
+
34
+ ## What is in this build
35
+
36
+ | | |
37
+ |---|---|
38
+ | precision | bfloat16 (no quantization) |
39
+ | vision | all 351 `vision_tower.*` tensors kept, `vision_config` and processor configs intact |
40
+ | framework | runs with `mlx-vlm` on Apple Silicon |
41
+ | size | about 62 GB on disk |
42
+
43
+ ## Vision was tested before upload
44
+
45
+ A lot of MLX vision-language uploads are made with tools that only understand the
46
+ language half, so the vision tower gets silently dropped and the model fails on
47
+ the first image. This one was checked the hard way: a real screenshot of a live
48
+ ineedhemp.com product page was fed in and the model was asked for an SEO,
49
+ marketing and accessibility audit plus image alt-text.
50
+
51
+ It read the real page. From its audit:
52
+
53
+ > SEO: The page needs a clear title tag, probably "Divine Crossing v5 Rebuildable
54
+ > Concentrate Heater - Divine Tribe" plus meta description. The breadcrumb and H1
55
+ > are good, but adding schema markup for product, review, and offer would help
56
+ > rich results.
57
+ >
58
+ > Marketing/Conversion: Strong points are the bold yellow CTA, clear price range,
59
+ > star rating, and benefit-driven copy. The "just the cup, $8.42" section is
60
+ > useful but visually buried.
61
+ >
62
+ > Alt-text: Main product image: "Divine Crossing v5 rebuildable concentrate heater
63
+ > with ceramic cup and metal body." Thumbnail 2: "V5 logo and geometric design."
64
+
65
+ It named the product, the breadcrumb, the star rating, the price range, the yellow
66
+ add-to-cart button and a small pricing note buried far down the page, and wrote
67
+ usable alt-text for each product photo. The vision path works.
68
+
69
+ ## Use
70
+
71
+ ```bash
72
+ pip install mlx-vlm
73
+ python -m mlx_vlm.generate --model divinetribe/AesCode-32B-MLX-bf16 \
74
+ --image screenshot.png \
75
+ --prompt "Recreate this screenshot as a single HTML file with inline CSS." \
76
+ --max-tokens 1200
77
+ ```
78
+
79
+ Runs on an M-series Mac. No cloud inference, no API keys, no telemetry.
80
+
81
+ ## Benchmarks
82
+
83
+ The most authoritative evaluation that actually covers this model is the one in
84
+ AesCode's own paper, **"AesCode: Aesthetic Code Generation with Decoupled
85
+ Cross-Modal Rewards"** ([arXiv:2610.18860](https://arxiv.org/abs/2610.18860)).
86
+ There is no independent public leaderboard that lists AesCode specifically, so
87
+ these numbers come straight from the authors' benchmark of 300 infographic-style
88
+ samples, scored for rule-following correctness and visual quality. Scores quoted
89
+ from the [model card](https://huggingface.co/microsoft/AesCode-32B):
90
+
91
+ | Model (with reference image) | Overall | Visual |
92
+ |---|---|---|
93
+ | **AesCode-32B** | **85.89** | 77.44 |
94
+ | Claude Opus 4.8 (no reference) | 76.78 | |
95
+ | GPT-5.5 (no reference) | 76.31 | |
96
+ | Qwen3-VL-32B base (with reference) | 61.10 | |
97
+
98
+ AesCode-32B lifts visual quality over the same-scale Qwen3-VL baseline by 22.4
99
+ points and lands in the range of the closed frontier models. For broader
100
+ general-vision numbers on the backbone itself, see the official
101
+ [Qwen3-VL](https://huggingface.co/Qwen/Qwen3-VL-32B-Instruct) evaluations (that is
102
+ the base model's benchmark, not AesCode's).
103
+
104
+ ## Credits
105
+
106
+ This build stands entirely on other people's work. Credit where it is due:
107
+
108
+ - **The AesCode team at Microsoft**, who created the model and the benchmark:
109
+ Xin Gao, Yifan Yang, Xin Li, Pan Wang, Yan Li, Muzhao Tian, Mingxi Cheng, Bei
110
+ Liu, Kai Qiu, Qi Dai, Dong Chen, Yue Dong, Leandros Tassiulas, Rex Ying, Ji Li
111
+ and Chong Luo. Paper: [arXiv:2610.18860](https://arxiv.org/abs/2610.18860),
112
+ model: [microsoft/AesCode-32B](https://huggingface.co/microsoft/AesCode-32B).
113
+ - **The Qwen team at Alibaba**, for the
114
+ [Qwen3-VL-32B-Instruct](https://huggingface.co/Qwen/Qwen3-VL-32B-Instruct) base
115
+ that AesCode is built on.
116
+ - **The MLX team at Apple** and **Prince Canuma** and the
117
+ [mlx-vlm](https://github.com/Blaizzy/mlx-vlm) contributors, whose open-source
118
+ work makes it possible to run a model like this natively and privately on a Mac.
119
+
120
+ Thank you to all of them.
121
+
122
+ ## Note
123
+
124
+ This is a faithful conversion for Apple Silicon. It does not add knowledge and it
125
+ does not make output correct. You are responsible for what you build with it.
126
+
127
+ Converted and published by [divinetribe](https://huggingface.co/divinetribe) ·
128
+ [more models](https://nicedreamzwholesale.com/software/huggingface/)
added_tokens.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</think>": 151668,
3
+ "</tool_call>": 151658,
4
+ "</tool_response>": 151666,
5
+ "<think>": 151667,
6
+ "<tool_call>": 151657,
7
+ "<tool_response>": 151665,
8
+ "<|box_end|>": 151649,
9
+ "<|box_start|>": 151648,
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
+ "<|image_pad|>": 151655,
19
+ "<|object_ref_end|>": 151647,
20
+ "<|object_ref_start|>": 151646,
21
+ "<|quad_end|>": 151651,
22
+ "<|quad_start|>": 151650,
23
+ "<|repo_name|>": 151663,
24
+ "<|video_pad|>": 151656,
25
+ "<|vision_end|>": 151653,
26
+ "<|vision_pad|>": 151654,
27
+ "<|vision_start|>": 151652
28
+ }
chat_template.jinja ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0].role == 'system' %}
4
+ {%- if messages[0].content is string %}
5
+ {{- messages[0].content }}
6
+ {%- else %}
7
+ {%- for content in messages[0].content %}
8
+ {%- if 'text' in content %}
9
+ {{- content.text }}
10
+ {%- endif %}
11
+ {%- endfor %}
12
+ {%- endif %}
13
+ {{- '\n\n' }}
14
+ {%- endif %}
15
+ {{- "# 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>" }}
16
+ {%- for tool in tools %}
17
+ {{- "\n" }}
18
+ {{- tool | tojson }}
19
+ {%- endfor %}
20
+ {{- "\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" }}
21
+ {%- else %}
22
+ {%- if messages[0].role == 'system' %}
23
+ {{- '<|im_start|>system\n' }}
24
+ {%- if messages[0].content is string %}
25
+ {{- messages[0].content }}
26
+ {%- else %}
27
+ {%- for content in messages[0].content %}
28
+ {%- if 'text' in content %}
29
+ {{- content.text }}
30
+ {%- endif %}
31
+ {%- endfor %}
32
+ {%- endif %}
33
+ {{- '<|im_end|>\n' }}
34
+ {%- endif %}
35
+ {%- endif %}
36
+ {%- set image_count = namespace(value=0) %}
37
+ {%- set video_count = namespace(value=0) %}
38
+ {%- for message in messages %}
39
+ {%- if message.role == "user" %}
40
+ {{- '<|im_start|>' + message.role + '\n' }}
41
+ {%- if message.content is string %}
42
+ {{- message.content }}
43
+ {%- else %}
44
+ {%- for content in message.content %}
45
+ {%- if content.type == 'image' or 'image' in content or 'image_url' in content %}
46
+ {%- set image_count.value = image_count.value + 1 %}
47
+ {%- if add_vision_id %}Picture {{ image_count.value }}: {% endif -%}
48
+ <|vision_start|><|image_pad|><|vision_end|>
49
+ {%- elif content.type == 'video' or 'video' in content %}
50
+ {%- set video_count.value = video_count.value + 1 %}
51
+ {%- if add_vision_id %}Video {{ video_count.value }}: {% endif -%}
52
+ <|vision_start|><|video_pad|><|vision_end|>
53
+ {%- elif 'text' in content %}
54
+ {{- content.text }}
55
+ {%- endif %}
56
+ {%- endfor %}
57
+ {%- endif %}
58
+ {{- '<|im_end|>\n' }}
59
+ {%- elif message.role == "assistant" %}
60
+ {{- '<|im_start|>' + message.role + '\n' }}
61
+ {%- if message.content is string %}
62
+ {{- message.content }}
63
+ {%- else %}
64
+ {%- for content_item in message.content %}
65
+ {%- if 'text' in content_item %}
66
+ {{- content_item.text }}
67
+ {%- endif %}
68
+ {%- endfor %}
69
+ {%- endif %}
70
+ {%- if message.tool_calls %}
71
+ {%- for tool_call in message.tool_calls %}
72
+ {%- if (loop.first and message.content) or (not loop.first) %}
73
+ {{- '\n' }}
74
+ {%- endif %}
75
+ {%- if tool_call.function %}
76
+ {%- set tool_call = tool_call.function %}
77
+ {%- endif %}
78
+ {{- '<tool_call>\n{"name": "' }}
79
+ {{- tool_call.name }}
80
+ {{- '", "arguments": ' }}
81
+ {%- if tool_call.arguments is string %}
82
+ {{- tool_call.arguments }}
83
+ {%- else %}
84
+ {{- tool_call.arguments | tojson }}
85
+ {%- endif %}
86
+ {{- '}\n</tool_call>' }}
87
+ {%- endfor %}
88
+ {%- endif %}
89
+ {{- '<|im_end|>\n' }}
90
+ {%- elif message.role == "tool" %}
91
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
92
+ {{- '<|im_start|>user' }}
93
+ {%- endif %}
94
+ {{- '\n<tool_response>\n' }}
95
+ {%- if message.content is string %}
96
+ {{- message.content }}
97
+ {%- else %}
98
+ {%- for content in message.content %}
99
+ {%- if content.type == 'image' or 'image' in content or 'image_url' in content %}
100
+ {%- set image_count.value = image_count.value + 1 %}
101
+ {%- if add_vision_id %}Picture {{ image_count.value }}: {% endif -%}
102
+ <|vision_start|><|image_pad|><|vision_end|>
103
+ {%- elif content.type == 'video' or 'video' in content %}
104
+ {%- set video_count.value = video_count.value + 1 %}
105
+ {%- if add_vision_id %}Video {{ video_count.value }}: {% endif -%}
106
+ <|vision_start|><|video_pad|><|vision_end|>
107
+ {%- elif 'text' in content %}
108
+ {{- content.text }}
109
+ {%- endif %}
110
+ {%- endfor %}
111
+ {%- endif %}
112
+ {{- '\n</tool_response>' }}
113
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
114
+ {{- '<|im_end|>\n' }}
115
+ {%- endif %}
116
+ {%- endif %}
117
+ {%- endfor %}
118
+ {%- if add_generation_prompt %}
119
+ {{- '<|im_start|>assistant\n' }}
120
+ {%- endif %}
config.json ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen3VLForConditionalGeneration"
4
+ ],
5
+ "do_sample": true,
6
+ "dtype": "bfloat16",
7
+ "eos_token_id": [
8
+ 151645,
9
+ 151645,
10
+ 151643
11
+ ],
12
+ "generation_config": {
13
+ "do_sample": true,
14
+ "eos_token_id": [
15
+ 151645,
16
+ 151645,
17
+ 151643
18
+ ],
19
+ "pad_token_id": 151643,
20
+ "temperature": 0.7,
21
+ "top_k": 20,
22
+ "top_p": 0.8,
23
+ "transformers_version": "4.57.6"
24
+ },
25
+ "image_token_id": 151655,
26
+ "model_type": "qwen3_vl",
27
+ "pad_token_id": 151643,
28
+ "temperature": 0.7,
29
+ "text_config": {
30
+ "attention_bias": false,
31
+ "attention_dropout": 0.0,
32
+ "bos_token_id": 151643,
33
+ "dtype": "bfloat16",
34
+ "eos_token_id": 151645,
35
+ "head_dim": 128,
36
+ "hidden_act": "silu",
37
+ "hidden_size": 5120,
38
+ "initializer_range": 0.02,
39
+ "intermediate_size": 25600,
40
+ "max_position_embeddings": 262144,
41
+ "model_type": "qwen3_vl_text",
42
+ "num_attention_heads": 64,
43
+ "num_hidden_layers": 64,
44
+ "num_key_value_heads": 8,
45
+ "rms_norm_eps": 1e-06,
46
+ "rope_scaling": {
47
+ "mrope_interleaved": true,
48
+ "mrope_section": [
49
+ 24,
50
+ 20,
51
+ 20
52
+ ],
53
+ "rope_type": "default"
54
+ },
55
+ "rope_theta": 5000000,
56
+ "use_cache": true,
57
+ "vocab_size": 151936
58
+ },
59
+ "tie_word_embeddings": false,
60
+ "top_k": 20,
61
+ "top_p": 0.8,
62
+ "transformers_version": "4.57.6",
63
+ "use_cache": false,
64
+ "video_token_id": 151656,
65
+ "vision_config": {
66
+ "deepstack_visual_indexes": [
67
+ 8,
68
+ 16,
69
+ 24
70
+ ],
71
+ "depth": 27,
72
+ "dtype": "bfloat16",
73
+ "hidden_act": "gelu_pytorch_tanh",
74
+ "hidden_size": 1152,
75
+ "in_channels": 3,
76
+ "initializer_range": 0.02,
77
+ "intermediate_size": 4304,
78
+ "model_type": "qwen3_vl",
79
+ "num_heads": 16,
80
+ "num_position_embeddings": 2304,
81
+ "out_hidden_size": 5120,
82
+ "patch_size": 16,
83
+ "spatial_merge_size": 2,
84
+ "temporal_patch_size": 2
85
+ },
86
+ "vision_end_token_id": 151653,
87
+ "vision_start_token_id": 151652
88
+ }
generation_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_sample": true,
3
+ "eos_token_id": [
4
+ 151645,
5
+ 151645,
6
+ 151643
7
+ ],
8
+ "pad_token_id": 151643,
9
+ "temperature": 0.7,
10
+ "top_k": 20,
11
+ "top_p": 0.8,
12
+ "transformers_version": "4.57.6"
13
+ }
model-00001-of-00013.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3d2cc91a353f7bc80d75f26a846d936acfa4ad896ae6b7d786ec586dd0d8f02
3
+ size 5147704460
model-00002-of-00013.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b855a08eb988db058a080e04a902ccaf33c56c5b716edf033f9645926e59f273
3
+ size 5138134647
model-00003-of-00013.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6a2ebca11a4b882d942d6f0a88e84c59832e985d66a9fe46327ecf9ae936881
3
+ size 5326900395
model-00004-of-00013.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa142dbe97e650781a41eddb74e0cbdceaf7c23cec7fecc9f44441f6d1ad4300
3
+ size 5138134705
model-00005-of-00013.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d6b9edccc195ca3b39f3adc9939e5ac081df8e3c9aaa3483c7bbb052697e248
3
+ size 5138134709
model-00006-of-00013.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c61b8c13d0234053c8409ab556c3d7528287e11fa5225b4efd8d43c55dda6d03
3
+ size 5326900392
model-00007-of-00013.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d4110a466b383516d19cf3f15d8af764631cf3a0842dba621b7fe8273f2fa9f
3
+ size 5138134661
model-00008-of-00013.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:470a8e1b67df3785030ab4233ca9a43026a09616690911c7d386abfdeb6d6119
3
+ size 5138134701
model-00009-of-00013.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b42ccd3cf604f30c7bcd6a87c78334ce11fd80179b7abc1e96c784af7fcca3d
3
+ size 5326900400
model-00010-of-00013.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:640755c27efc7e65f56120b8d183d98aff29c6722051d62aadac0939710b4365
3
+ size 5138134683
model-00011-of-00013.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:803984f014b575dc16aeec85b86f99649fa16bf8fb540f68af2c8efceef99794
3
+ size 5138134707
model-00012-of-00013.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de2d277d7f00c2d5cbcbf6e9eba7178fd967c6ae5f621f4783f4310b2cc185f0
3
+ size 5326900390
model-00013-of-00013.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9905bda9d2cf142088b7988aee29333adbcda340b8820fd803af0ab90dce6321
3
+ size 4292663743
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,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": null,
3
+ "data_format": "channels_first",
4
+ "default_to_square": true,
5
+ "device": null,
6
+ "disable_grouping": null,
7
+ "do_center_crop": null,
8
+ "do_convert_rgb": true,
9
+ "do_normalize": true,
10
+ "do_pad": null,
11
+ "do_rescale": true,
12
+ "do_resize": true,
13
+ "image_mean": [
14
+ 0.5,
15
+ 0.5,
16
+ 0.5
17
+ ],
18
+ "image_processor_type": "Qwen2VLImageProcessorFast",
19
+ "image_std": [
20
+ 0.5,
21
+ 0.5,
22
+ 0.5
23
+ ],
24
+ "input_data_format": null,
25
+ "max_pixels": null,
26
+ "merge_size": 2,
27
+ "min_pixels": null,
28
+ "pad_size": null,
29
+ "patch_size": 16,
30
+ "processor_class": "Qwen3VLProcessor",
31
+ "resample": 3,
32
+ "rescale_factor": 0.00392156862745098,
33
+ "return_tensors": null,
34
+ "size": {
35
+ "longest_edge": 16777216,
36
+ "shortest_edge": 65536
37
+ },
38
+ "temporal_patch_size": 2
39
+ }
processor_config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "image_processor": {
3
+ "do_convert_rgb": true,
4
+ "do_normalize": true,
5
+ "do_rescale": true,
6
+ "image_mean": [
7
+ 0.5,
8
+ 0.5,
9
+ 0.5
10
+ ],
11
+ "image_processor_type": "Qwen3VLImageProcessor",
12
+ "image_std": [
13
+ 0.5,
14
+ 0.5,
15
+ 0.5
16
+ ],
17
+ "max_pixels": 16777216,
18
+ "merge_size": 2,
19
+ "min_pixels": 65536,
20
+ "patch_size": 16,
21
+ "rescale_factor": 0.00392156862745098,
22
+ "temporal_patch_size": 2
23
+ },
24
+ "processor_class": "Qwen3VLProcessor",
25
+ "video_processor": {
26
+ "do_convert_rgb": true,
27
+ "do_normalize": true,
28
+ "do_rescale": true,
29
+ "fps": 2,
30
+ "image_mean": [
31
+ 0.5,
32
+ 0.5,
33
+ 0.5
34
+ ],
35
+ "image_std": [
36
+ 0.5,
37
+ 0.5,
38
+ 0.5
39
+ ],
40
+ "max_frames": 768,
41
+ "max_pixels": 25165824,
42
+ "merge_size": 2,
43
+ "min_frames": 4,
44
+ "min_pixels": 4096,
45
+ "patch_size": 16,
46
+ "rescale_factor": 0.00392156862745098,
47
+ "temporal_patch_size": 2,
48
+ "video_processor_type": "Qwen3VLVideoProcessor"
49
+ }
50
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<|object_ref_start|>",
6
+ "<|object_ref_end|>",
7
+ "<|box_start|>",
8
+ "<|box_end|>",
9
+ "<|quad_start|>",
10
+ "<|quad_end|>",
11
+ "<|vision_start|>",
12
+ "<|vision_end|>",
13
+ "<|vision_pad|>",
14
+ "<|image_pad|>",
15
+ "<|video_pad|>"
16
+ ],
17
+ "eos_token": {
18
+ "content": "<|im_end|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": {
25
+ "content": "<|endoftext|>",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ }
31
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be75606093db2094d7cd20f3c2f385c212750648bd6ea4fb2bf507a6a4c55506
3
+ size 11422650
tokenizer_config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": null,
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "<|im_end|>",
7
+ "errors": "replace",
8
+ "extra_special_tokens": [
9
+ "<|im_start|>",
10
+ "<|im_end|>",
11
+ "<|object_ref_start|>",
12
+ "<|object_ref_end|>",
13
+ "<|box_start|>",
14
+ "<|box_end|>",
15
+ "<|quad_start|>",
16
+ "<|quad_end|>",
17
+ "<|vision_start|>",
18
+ "<|vision_end|>",
19
+ "<|vision_pad|>",
20
+ "<|image_pad|>",
21
+ "<|video_pad|>"
22
+ ],
23
+ "is_local": true,
24
+ "local_files_only": false,
25
+ "model_max_length": 262144,
26
+ "pad_token": "<|endoftext|>",
27
+ "padding_side": "right",
28
+ "processor_class": "Qwen3VLProcessor",
29
+ "split_special_tokens": false,
30
+ "tokenizer_class": "Qwen2Tokenizer",
31
+ "unk_token": null
32
+ }
video_preprocessor_config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": null,
3
+ "data_format": "channels_first",
4
+ "default_to_square": true,
5
+ "device": null,
6
+ "do_center_crop": null,
7
+ "do_convert_rgb": true,
8
+ "do_normalize": true,
9
+ "do_rescale": true,
10
+ "do_resize": true,
11
+ "do_sample_frames": true,
12
+ "fps": 2,
13
+ "image_mean": [
14
+ 0.5,
15
+ 0.5,
16
+ 0.5
17
+ ],
18
+ "image_std": [
19
+ 0.5,
20
+ 0.5,
21
+ 0.5
22
+ ],
23
+ "input_data_format": null,
24
+ "max_frames": 768,
25
+ "merge_size": 2,
26
+ "min_frames": 4,
27
+ "num_frames": null,
28
+ "pad_size": null,
29
+ "patch_size": 16,
30
+ "processor_class": "Qwen3VLProcessor",
31
+ "resample": 3,
32
+ "rescale_factor": 0.00392156862745098,
33
+ "return_metadata": false,
34
+ "size": {
35
+ "longest_edge": 25165824,
36
+ "shortest_edge": 4096
37
+ },
38
+ "temporal_patch_size": 2,
39
+ "video_metadata": null,
40
+ "video_processor_type": "Qwen3VLVideoProcessor"
41
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff