Kiddyz commited on
Commit
0c6a2f7
·
verified ·
1 Parent(s): 1fbeb3c

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
config.json ADDED
@@ -0,0 +1,142 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen3_5ForConditionalGeneration"
4
+ ],
5
+ "dtype": "bfloat16",
6
+ "hidden_size": 5120,
7
+ "image_token_id": 248056,
8
+ "model_type": "qwen3_5",
9
+ "text_config": {
10
+ "attention_bias": false,
11
+ "attention_dropout": 0.0,
12
+ "attn_output_gate": true,
13
+ "bos_token_id": null,
14
+ "dtype": "bfloat16",
15
+ "eos_token_id": 248044,
16
+ "full_attention_interval": 4,
17
+ "head_dim": 256,
18
+ "hidden_act": "silu",
19
+ "hidden_size": 5120,
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 17408,
22
+ "layer_types": [
23
+ "linear_attention",
24
+ "linear_attention",
25
+ "linear_attention",
26
+ "full_attention",
27
+ "linear_attention",
28
+ "linear_attention",
29
+ "linear_attention",
30
+ "full_attention",
31
+ "linear_attention",
32
+ "linear_attention",
33
+ "linear_attention",
34
+ "full_attention",
35
+ "linear_attention",
36
+ "linear_attention",
37
+ "linear_attention",
38
+ "full_attention",
39
+ "linear_attention",
40
+ "linear_attention",
41
+ "linear_attention",
42
+ "full_attention",
43
+ "linear_attention",
44
+ "linear_attention",
45
+ "linear_attention",
46
+ "full_attention",
47
+ "linear_attention",
48
+ "linear_attention",
49
+ "linear_attention",
50
+ "full_attention",
51
+ "linear_attention",
52
+ "linear_attention",
53
+ "linear_attention",
54
+ "full_attention",
55
+ "linear_attention",
56
+ "linear_attention",
57
+ "linear_attention",
58
+ "full_attention",
59
+ "linear_attention",
60
+ "linear_attention",
61
+ "linear_attention",
62
+ "full_attention",
63
+ "linear_attention",
64
+ "linear_attention",
65
+ "linear_attention",
66
+ "full_attention",
67
+ "linear_attention",
68
+ "linear_attention",
69
+ "linear_attention",
70
+ "full_attention",
71
+ "linear_attention",
72
+ "linear_attention",
73
+ "linear_attention",
74
+ "full_attention",
75
+ "linear_attention",
76
+ "linear_attention",
77
+ "linear_attention",
78
+ "full_attention",
79
+ "linear_attention",
80
+ "linear_attention",
81
+ "linear_attention",
82
+ "full_attention",
83
+ "linear_attention",
84
+ "linear_attention",
85
+ "linear_attention",
86
+ "full_attention"
87
+ ],
88
+ "linear_conv_kernel_dim": 4,
89
+ "linear_key_head_dim": 128,
90
+ "linear_num_key_heads": 16,
91
+ "linear_num_value_heads": 48,
92
+ "linear_value_head_dim": 128,
93
+ "mamba_ssm_dtype": "float32",
94
+ "max_position_embeddings": 262144,
95
+ "mlp_only_layers": [],
96
+ "model_type": "qwen3_5_text",
97
+ "mtp_num_hidden_layers": 1,
98
+ "mtp_use_dedicated_embeddings": false,
99
+ "num_attention_heads": 24,
100
+ "num_hidden_layers": 64,
101
+ "num_key_value_heads": 4,
102
+ "pad_token_id": null,
103
+ "partial_rotary_factor": 0.25,
104
+ "rms_norm_eps": 1e-06,
105
+ "rope_parameters": {
106
+ "mrope_interleaved": true,
107
+ "mrope_section": [
108
+ 11,
109
+ 11,
110
+ 10
111
+ ],
112
+ "partial_rotary_factor": 0.25,
113
+ "rope_theta": 10000000,
114
+ "rope_type": "default"
115
+ },
116
+ "tie_word_embeddings": false,
117
+ "use_cache": true,
118
+ "vocab_size": 248320
119
+ },
120
+ "tie_word_embeddings": false,
121
+ "transformers_version": "5.12.1",
122
+ "video_token_id": 248057,
123
+ "vision_config": {
124
+ "deepstack_visual_indexes": [],
125
+ "depth": 27,
126
+ "dtype": "bfloat16",
127
+ "hidden_act": "gelu_pytorch_tanh",
128
+ "hidden_size": 1152,
129
+ "in_channels": 3,
130
+ "initializer_range": 0.02,
131
+ "intermediate_size": 4304,
132
+ "model_type": "qwen3_5_vision",
133
+ "num_heads": 16,
134
+ "num_position_embeddings": 2304,
135
+ "out_hidden_size": 5120,
136
+ "patch_size": 16,
137
+ "spatial_merge_size": 2,
138
+ "temporal_patch_size": 2
139
+ },
140
+ "vision_end_token_id": 248054,
141
+ "vision_start_token_id": 248053
142
+ }
generation_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 248044,
3
+ "do_sample": true,
4
+ "eos_token_id": [
5
+ 248046,
6
+ 248044
7
+ ],
8
+ "pad_token_id": 248044,
9
+ "temperature": 1.0,
10
+ "top_k": 50,
11
+ "top_p": 0.95
12
+ }
model-00001-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6360e5971d200cd5dc60a6d9d4960928f513d98481948bad4ef587f40644b766
3
+ size 4997391272
model-00002-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0860ec6d86d802928da99530888d90c99c1017177f94b813daad158cd72f2d7f
3
+ size 4965238248
model-00003-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d71e8d416ef8e63e0f3a1c469a8c3b93a946bd26f57b2aff2df35ddb3383aab7
3
+ size 4933779360
model-00004-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb59ef1dedd0af84056678efa930eba43f3d10d30f1115cec4707d0af8fb3f15
3
+ size 4965238360
model-00005-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15d10dd7c6548ead26e4700a5e6eb7da1bae27e4e671cb112117763270d59b1f
3
+ size 4911743112
model-00006-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9dcf2f503e3c4c7248287a4ba1a6c03b3b2672bac813e2ceb1e480a6f1d9fec1
3
+ size 4987274624
model-00007-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02c0770390e999c024c8aa694e830d502ba86633eb5a6e0ff9bec9654e5350a2
3
+ size 4911743120
model-00008-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e131fbb57ac42998c67fe1fb193ecf5431355b52a3f493a8e249e34573e9a1e1
3
+ size 4965238320
model-00009-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c37ac3a98d369a2252fdf84a2f61fdc0a510903ceaa8bdc1de2675909a39954
3
+ size 4933779424
model-00010-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc36a17231ce920409ba5c92be19f4012f3839a177402c4f0a3f6cc1b966b803
3
+ size 4965238336
model-00011-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f0e917065362cc27ab6b2ff763a6b462b109eae6ce286d54c1a2ffa4d0426709
3
+ size 3483535200
model-00012-of-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:89f84c863100eeea9dc052b27c6eb4b0181a4ff7f086933c27922590c640c0d5
3
+ size 2542807248
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,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "size": {
3
+ "longest_edge": 16777216,
4
+ "shortest_edge": 65536
5
+ },
6
+ "patch_size": 16,
7
+ "temporal_patch_size": 2,
8
+ "merge_size": 2,
9
+ "image_mean": [
10
+ 0.5,
11
+ 0.5,
12
+ 0.5
13
+ ],
14
+ "image_std": [
15
+ 0.5,
16
+ 0.5,
17
+ 0.5
18
+ ],
19
+ "processor_class": "Qwen3VLProcessor",
20
+ "image_processor_type": "Qwen2VLImageProcessorFast"
21
+ }
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
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06b9509352d2af50381ab2247e083b80d32d5c0aba91c272ca9ff729b6a0e523
3
+ size 19989325
tokenizer_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "chat_template": "{%- macro render_content(content) -%}\n {%- if content is string -%}\n {{- content -}}\n {%- elif content is iterable and content is not mapping -%}\n {%- for item in content -%}\n {%- if 'image' in item or 'image_url' in item or item.type == 'image' -%}\n {{- '<|vision_start|><|image_pad|><|vision_end|>' -}}\n {%- elif 'video' in item or 'video_url' in item or item.type == 'video' -%}\n {{- '<|vision_start|><|video_pad|><|vision_end|>' -}}\n {%- elif 'text' in item -%}\n {{- item.text -}}\n {%- else -%}\n {{- raise_exception('Unexpected item type in content.') -}}\n {%- endif -%}\n {%- endfor -%}\n {%- elif content is none or content is undefined -%}\n {{- '' -}}\n {%- else -%}\n {{- raise_exception('Unexpected content type.') -}}\n {%- endif -%}\n{%- endmacro -%}\n\n{%- macro render_tool_calls(tool_calls) -%}\n {%- for tool_call in tool_calls -%}\n {%- if tool_call.function is defined -%}\n {%- set tool_call = tool_call.function -%}\n {%- endif -%}\n {%- if not loop.first -%}\n {{- '\\n' -}}\n {%- endif -%}\n {{- '<tool_call>\\n<function=' + tool_call.name + '>\\n' -}}\n {%- if tool_call.arguments is defined -%}\n {%- for args_name, args_value in tool_call.arguments|items -%}\n {{- '<parameter=' + args_name + '>\\n' -}}\n {%- set args_value = args_value | tojson | safe if args_value is mapping or (args_value is sequence and args_value is not string) else args_value | string -%}\n {{- args_value -}}\n {{- '\\n</parameter>\\n' -}}\n {%- endfor -%}\n {%- endif -%}\n {{- '</function>\\n</tool_call>' -}}\n {%- endfor -%}\n{%- endmacro -%}\n\n{%- if enable_thinking is true -%}\n {%- set final_mode = 'Enable_Thinking' -%}\n{%- else -%}\n {%- set final_mode = 'Adaptive_Thinking' -%}\n{%- endif -%}\n{%- set mode_state = namespace(last_user_index=-1) -%}\n{%- for candidate in messages -%}\n {%- if candidate['role'] in ['user','system','developer','tool'] -%}\n {%- set mode_state.last_user_index = loop.index0 -%}\n {%- endif -%}\n{%- endfor -%}\n\nA chat between a user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions.\n{%- set merged = namespace(user='', asst='', last_user_role='', tools_rendered=false) -%}\n{%- for message in messages -%}\n {%- set raw_role = message['role'] -%}\n {%- set role = 'user' if raw_role in ['user','system','developer','tool'] else 'assistant' -%}\n {%- set content = render_content(message['content']) -%}\n {%- if raw_role == 'tool' -%}\n {%- set content = '<tool_response>\\n' + (content|trim) + '\\n</tool_response>' -%}\n {%- elif raw_role == 'assistant' -%}\n {%- set reasoning = message.get('reasoning') -%}\n {%- if reasoning is none -%}\n {%- set reasoning = message.get('reasoning_content') -%}\n {%- endif -%}\n {%- if reasoning is not none -%}\n {%- set content = '<think>' + reasoning + '</think>' + content -%}\n {%- elif content[:7] != '<think>' -%}\n {%- if '</think>' in content -%}\n {%- set content = '<think>' + content -%}\n {%- else -%}\n {%- set content = '<think>\\n\\n</think>\\n\\n' + content -%}\n {%- endif -%}\n {%- endif -%}\n {%- if message.get('tool_calls') and message['tool_calls'] is iterable and message['tool_calls'] is not mapping -%}\n {%- set tool_calls_content = render_tool_calls(message['tool_calls']) -%}\n {%- set content = content|trim -%}\n {%- set content = content + ('\\n\\n' if content else '') + tool_calls_content -%}\n {%- endif -%}\n {%- endif -%}\n\n {%- if role == 'user' -%}\n {%- if raw_role == 'tool' and merged.last_user_role == 'tool' -%}\n {%- set merged.user = merged.user + '\\n' + content -%}\n {%- else -%}\n {%- set merged.user = merged.user + ('\\n\\n' if merged.user else '') + content -%}\n {%- endif -%}\n {%- set merged.last_user_role = raw_role -%}\n {%- else -%}\n {%- set merged.asst = merged.asst + ('\\n\\n' if merged.asst else '') + content -%}\n {%- endif -%}\n\n {%- set next_role = role -%}\n {%- if not loop.last -%}\n {%- set next_raw = messages[loop.index0+1]['role'] -%}\n {%- set next_role = 'user' if next_raw in ['user','system','developer','tool'] else 'assistant' -%}\n {%- endif -%}\n\n {%- if loop.last or next_role != role -%}\n {%- if role == 'user' -%}\n {%- set is_last_user = loop.index0 == mode_state.last_user_index -%}\n {%- set mode = final_mode if is_last_user else 'Adaptive_Thinking' -%}\n {{- '\\n<|User|>\\n' -}}\n {%- if tools and tools is iterable and tools is not mapping and not merged.tools_rendered -%}\n {{- \"# Tools\\n\\nYou have access to the following functions:\\n\\n<tools>\" -}}\n {%- for tool in tools -%}\n {{- \"\\n\" -}}\n {{- tool | tojson -}}\n {%- endfor -%}\n {{- \"\\n</tools>\" -}}\n {{- '\\n\\nIf you choose to call a function ONLY reply in the following format with NO suffix:\\n\\n<tool_call>\\n<function=example_function_name>\\n<parameter=example_parameter_1>\\nvalue_1\\n</parameter>\\n<parameter=example_parameter_2>\\nThis is the value for the second parameter\\nthat can span\\nmultiple lines\\n</parameter>\\n</function>\\n</tool_call>\\n\\n<IMPORTANT>\\nReminder:\\n- Function calls MUST follow the specified format: an inner <function=...></function> block must be nested within <tool_call></tool_call> XML tags\\n- Required parameters MUST be specified\\n- You may provide optional reasoning for your function call in natural language BEFORE the function call, but NOT after\\n- If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls\\n</IMPORTANT>\\n\\n' -}}\n {%- set merged.tools_rendered = true -%}\n {%- endif -%}\n {{- merged.user + '\\n/' + mode + '\\n<|Assistant|>\\n' -}}\n {%- if loop.last -%}\n {{- '<think>' -}}\n {%- endif -%}\n {%- set merged.user = '' -%}\n {%- set merged.last_user_role = '' -%}\n {%- else -%}\n {{- merged.asst + '<|endoftext|>' -}}\n {%- set merged.asst = '' -%}\n {%- endif -%}\n {%- endif -%}\n{%- endfor -%}\n",
9
+ "clean_up_tokenization_spaces": false,
10
+ "eos_token": "<|endoftext|>",
11
+ "errors": "replace",
12
+ "image_token": "<|image_pad|>",
13
+ "is_local": true,
14
+ "local_files_only": false,
15
+ "model_max_length": 262144,
16
+ "model_specific_special_tokens": {
17
+ "audio_bos_token": "<|audio_start|>",
18
+ "audio_eos_token": "<|audio_end|>",
19
+ "audio_token": "<|audio_pad|>",
20
+ "image_token": "<|image_pad|>",
21
+ "video_token": "<|video_pad|>",
22
+ "vision_bos_token": "<|vision_start|>",
23
+ "vision_eos_token": "<|vision_end|>"
24
+ },
25
+ "pad_token": "<|endoftext|>",
26
+ "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+",
27
+ "processor_class": "Qwen3VLProcessor",
28
+ "split_special_tokens": false,
29
+ "tokenizer_class": "Qwen2Tokenizer",
30
+ "unk_token": null,
31
+ "video_token": "<|video_pad|>",
32
+ "vision_bos_token": "<|vision_start|>",
33
+ "vision_eos_token": "<|vision_end|>"
34
+ }