{ "name": "qwen3-4b.signed", "model_file": "Qwen3-4B-Q8_0.gguf", "model_desc": "qwen3 4B Q8_0", "general.name": "Qwen3 4B Instruct", "general.file_type": "7", "n_params": 4022468096, "n_vocab": 151936, "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 XML tags:\\n\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n\\n\\nFor each function call, return a json object with function name and arguments within XML tags:\\n\\n{\\\"name\\\": , \\\"arguments\\\": }\\n<|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 index in range(ns.last_query_index, -1, -1) %}\n {%- set message = messages[index] %}\n {%- if ns.multi_step_tool and message.role == \"user\" and not('' in message.content and '' in message.content) %}\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.role == \"user\") or (message.role == \"system\" and not loop.first) %}\n {{- '<|im_start|>' + message.role + '\\n' + message.content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {%- set content = message.content %}\n {%- set reasoning_content = '' %}\n {%- if message.reasoning_content is defined and message.reasoning_content is not none %}\n {%- set reasoning_content = message.reasoning_content %}\n {%- else %}\n {%- if '' in message.content %}\n {%- set content = message.content.split('')[-1].lstrip('\\n') %}\n {%- set reasoning_content = message.content.split('')[0].rstrip('\\n').split('')[-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\\n' + reasoning_content.strip('\\n') + '\\n\\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 {{- '\\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' }}\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\\n' }}\n {{- message.content }}\n {{- '\\n' }}\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 {{- '\\n\\n\\n\\n' }}\n {%- endif %}\n{%- endif %}", "prompt_example": "<|im_start|>user\nLand or Water? The coordinate below is in decimal degrees (positive latitude is north, positive longitude is east). Answer with exactly one word: Land or Water.\nLatitude: 41, Longitude: -73<|im_end|>\n<|im_start|>assistant\n\n\n\n\n", "user_template": "Land or Water? The coordinate below is in decimal degrees (positive latitude is north, positive longitude is east). Answer with exactly one word: Land or Water.\nLatitude: {lat}, Longitude: {lon}", "format": "signed", "grid_step_deg": 10, "mode": "chat template", "completion_suffix": null, "answer_tokens": [ "Land", "Water" ], "first_prompt_tokens": [ "<|im_start|>", "user", "\n" ], "add_bos_token_meta": "false", "system_message": null, "enable_thinking": false, "template_file": "Qwen3-4B.chat_template.jinja", "template_sha256": "a55ee1b1660128b7098723e0abcd92caa0788061051c62d51cbe87d9cf1974d8", "embedded_template_renders_same_prompt": true, "max_prompt_tokens": 56, "min_prompt_tokens": 53, "method": "each point evaluated alone: empty KV cache, full prompt, one llama_decode, logits of the last prompt token, log-softmax over the whole vocabulary", "answer_token_ids": { "Land": 41957, "Water": 28253, "land": 1933, "water": 12987, " Land": 11426, " Water": 9959, "LAND": 39815 }, "points": 648, "lats": [ 85, -85, 10 ], "lons": [ -175, 175, 10 ], "tokens_evaluated": 35820, "seconds_load": 0.56, "seconds_run": 213.77, "threads": 12, "n_ctx": 256, "n_batch": 256, "n_ubatch": 256, "seconds_per_point": 0.3299, "loadavg_1min_during_run": { "min": 12.6, "mean": 18.44, "max": 24.28, "samples": 2 }, "repeat_check_points": 10, "repeat_check_max_abs_logp_diff": 0.0, "llama_cpp_python": "0.3.35", "system_info": "CPU : SSE3 = 1 | SSSE3 = 1 | AVX = 1 | AVX2 = 1 | F16C = 1 | FMA = 1 | BMI2 = 1 | AVX512 = 1 | AVX512_VBMI = 1 | AVX512_VNNI = 1 | AVX512_BF16 = 1 | LLAMAFILE = 1 | OPENMP = 1 | REPACK = 1 | ", "cpu": "AMD EPYC 9R14", "cpus": 32, "mem_total": "MemTotal: 64419868 kB", "os": "Linux-7.0.0-1013-aws-x86_64-with-glibc2.39", "python": "3.12.3", "started_utc": "2026-10-03T10:38:24Z" }