OpenGVLab/InternVL3_5-30B-A3B-Instruct
117.2k
1{2 "add_bos_token": false,3 "add_eos_token": false,4 "add_prefix_space": false,5 "added_tokens_decoder": {6 "151643": {7 "content": "<|endoftext|>",8 "lstrip": false,9 "normalized": false,10 "rstrip": false,11 "single_word": false,12 "special": true13 },14 "151644": {15 "content": "<|im_start|>",16 "lstrip": false,17 "normalized": false,18 "rstrip": false,19 "single_word": false,20 "special": true21 },22 "151645": {23 "content": "<|im_end|>",24 "lstrip": false,25 "normalized": false,26 "rstrip": false,27 "single_word": false,28 "special": true29 },30 "151646": {31 "content": "<|object_ref_start|>",32 "lstrip": false,33 "normalized": false,34 "rstrip": false,35 "single_word": false,36 "special": true37 },38 "151647": {39 "content": "<|object_ref_end|>",40 "lstrip": false,41 "normalized": false,42 "rstrip": false,43 "single_word": false,44 "special": true45 },46 "151648": {47 "content": "<|box_start|>",48 "lstrip": false,49 "normalized": false,50 "rstrip": false,51 "single_word": false,52 "special": true53 },54 "151649": {55 "content": "<|box_end|>",56 "lstrip": false,57 "normalized": false,58 "rstrip": false,59 "single_word": false,60 "special": true61 },62 "151650": {63 "content": "<|quad_start|>",64 "lstrip": false,65 "normalized": false,66 "rstrip": false,67 "single_word": false,68 "special": true69 },70 "151651": {71 "content": "<|quad_end|>",72 "lstrip": false,73 "normalized": false,74 "rstrip": false,75 "single_word": false,76 "special": true77 },78 "151652": {79 "content": "<|vision_start|>",80 "lstrip": false,81 "normalized": false,82 "rstrip": false,83 "single_word": false,84 "special": true85 },86 "151653": {87 "content": "<|vision_end|>",88 "lstrip": false,89 "normalized": false,90 "rstrip": false,91 "single_word": false,92 "special": true93 },94 "151654": {95 "content": "<|vision_pad|>",96 "lstrip": false,97 "normalized": false,98 "rstrip": false,99 "single_word": false,100 "special": true101 },102 "151655": {103 "content": "<|image_pad|>",104 "lstrip": false,105 "normalized": false,106 "rstrip": false,107 "single_word": false,108 "special": true109 },110 "151656": {111 "content": "<|video_pad|>",112 "lstrip": false,113 "normalized": false,114 "rstrip": false,115 "single_word": false,116 "special": true117 },118 "151657": {119 "content": "<tool_call>",120 "lstrip": false,121 "normalized": false,122 "rstrip": false,123 "single_word": false,124 "special": false125 },126 "151658": {127 "content": "</tool_call>",128 "lstrip": false,129 "normalized": false,130 "rstrip": false,131 "single_word": false,132 "special": false133 },134 "151659": {135 "content": "<|fim_prefix|>",136 "lstrip": false,137 "normalized": false,138 "rstrip": false,139 "single_word": false,140 "special": false141 },142 "151660": {143 "content": "<|fim_middle|>",144 "lstrip": false,145 "normalized": false,146 "rstrip": false,147 "single_word": false,148 "special": false149 },150 "151661": {151 "content": "<|fim_suffix|>",152 "lstrip": false,153 "normalized": false,154 "rstrip": false,155 "single_word": false,156 "special": false157 },158 "151662": {159 "content": "<|fim_pad|>",160 "lstrip": false,161 "normalized": false,162 "rstrip": false,163 "single_word": false,164 "special": false165 },166 "151663": {167 "content": "<|repo_name|>",168 "lstrip": false,169 "normalized": false,170 "rstrip": false,171 "single_word": false,172 "special": false173 },174 "151664": {175 "content": "<|file_sep|>",176 "lstrip": false,177 "normalized": false,178 "rstrip": false,179 "single_word": false,180 "special": false181 },182 "151665": {183 "content": "<tool_response>",184 "lstrip": false,185 "normalized": false,186 "rstrip": false,187 "single_word": false,188 "special": false189 },190 "151666": {191 "content": "</tool_response>",192 "lstrip": false,193 "normalized": false,194 "rstrip": false,195 "single_word": false,196 "special": false197 },198 "151667": {199 "content": "<think>",200 "lstrip": false,201 "normalized": false,202 "rstrip": false,203 "single_word": false,204 "special": false205 },206 "151668": {207 "content": "</think>",208 "lstrip": false,209 "normalized": false,210 "rstrip": false,211 "single_word": false,212 "special": false213 },214 "151669": {215 "content": "<img>",216 "lstrip": false,217 "normalized": false,218 "rstrip": false,219 "single_word": false,220 "special": true221 },222 "151670": {223 "content": "</img>",224 "lstrip": false,225 "normalized": false,226 "rstrip": false,227 "single_word": false,228 "special": true229 },230 "151671": {231 "content": "<IMG_CONTEXT>",232 "lstrip": false,233 "normalized": false,234 "rstrip": false,235 "single_word": false,236 "special": true237 },238 "151672": {239 "content": "<quad>",240 "lstrip": false,241 "normalized": false,242 "rstrip": false,243 "single_word": false,244 "special": true245 },246 "151673": {247 "content": "</quad>",248 "lstrip": false,249 "normalized": false,250 "rstrip": false,251 "single_word": false,252 "special": true253 },254 "151674": {255 "content": "<ref>",256 "lstrip": false,257 "normalized": false,258 "rstrip": false,259 "single_word": false,260 "special": true261 },262 "151675": {263 "content": "</ref>",264 "lstrip": false,265 "normalized": false,266 "rstrip": false,267 "single_word": false,268 "special": true269 },270 "151676": {271 "content": "<box>",272 "lstrip": false,273 "normalized": false,274 "rstrip": false,275 "single_word": false,276 "special": true277 },278 "151677": {279 "content": "</box>",280 "lstrip": false,281 "normalized": false,282 "rstrip": false,283 "single_word": false,284 "special": true285 }286 },287 "additional_special_tokens": [288 "<|im_start|>",289 "<|im_end|>",290 "<|object_ref_start|>",291 "<|object_ref_end|>",292 "<|box_start|>",293 "<|box_end|>",294 "<|quad_start|>",295 "<|quad_end|>",296 "<|vision_start|>",297 "<|vision_end|>",298 "<|vision_pad|>",299 "<|image_pad|>",300 "<|video_pad|>",301 "<img>",302 "</img>",303 "<IMG_CONTEXT>",304 "<quad>",305 "</quad>",306 "<ref>",307 "</ref>",308 "<box>",309 "</box>"310 ],311 "bos_token": null,312 "chat_template": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0].role == 'system' %}\n {{- messages[0].content + '\\n\\n' }}\n {%- endif %}\n {{- \"# 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>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\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\" }}\n{%- else %}\n {%- if messages[0].role == 'system' %}\n {{- '<|im_start|>system\\n' + messages[0].content + '<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}\n{%- for message in messages[::-1] %}\n {%- set index = (messages|length - 1) - loop.index0 %}\n {%- if ns.multi_step_tool and message.role == \"user\" and message.content is string and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}\n {%- set ns.multi_step_tool = false %}\n {%- set ns.last_query_index = index %}\n {%- endif %}\n{%- endfor %}\n{%- for message in messages %}\n {%- if message.content is string %}\n {%- set content = message.content %}\n {%- else %}\n {%- set content = '' %}\n {%- endif %}\n {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) %}\n {{- '<|im_start|>' + message.role + '\\n' + content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {%- set reasoning_content = '' %}\n {%- if message.reasoning_content is string %}\n {%- set reasoning_content = message.reasoning_content %}\n {%- else %}\n {%- if '</think>' in content %}\n {%- set reasoning_content = content.split('</think>')[0].rstrip('\\n').split('<think>')[-1].lstrip('\\n') %}\n {%- set content = content.split('</think>')[-1].lstrip('\\n') %}\n {%- endif %}\n {%- endif %}\n {%- if loop.index0 > ns.last_query_index %}\n {%- if loop.last or (not loop.last and reasoning_content) %}\n {{- '<|im_start|>' + message.role + '\\n<think>\\n' + reasoning_content.strip('\\n') + '\\n</think>\\n\\n' + content.lstrip('\\n') }}\n {%- else %}\n {{- '<|im_start|>' + message.role + '\\n' + content }}\n {%- endif %}\n {%- else %}\n {{- '<|im_start|>' + message.role + '\\n' + content }}\n {%- endif %}\n {%- if message.tool_calls %}\n {%- for tool_call in message.tool_calls %}\n {%- if (loop.first and content) or (not loop.first) %}\n {{- '\\n' }}\n {%- endif %}\n {%- if tool_call.function %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {%- if tool_call.arguments is string %}\n {{- tool_call.arguments }}\n {%- else %}\n {{- tool_call.arguments | tojson }}\n {%- endif %}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if loop.first or (messages[loop.index0 - 1].role != \"tool\") %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {{- content }}\n {{- '\\n</tool_response>' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n {%- if enable_thinking is defined and enable_thinking is false %}\n {{- '<think>\\n\\n</think>\\n\\n' }}\n {%- endif %}\n{%- endif %}",313 "clean_up_tokenization_spaces": false,314 "eos_token": "<|im_end|>",315 "errors": "replace",316 "extra_special_tokens": {},317 "model_max_length": 32768,318 "pad_token": "<|endoftext|>",319 "split_special_tokens": false,320 "tokenizer_class": "Qwen2Tokenizer",321 "unk_token": null322}323 