Upload folder using huggingface_hub
Browse filesFiles changed (4)
1234512345678910111213141516171819720212292324252627282930313233343536163738394041424344454647484950515220535455565758596061626364656667686970717273747576777879808182838485868788892390912692939495{%- set enable_thinking = false %}{%- set boxed_instruction = 'You are a multiple-choice question answering model for general knowledge topics. Topics may include sciences, humanities, and geography. Each question contains labeled answer options. The number of options may vary from 2 to 20. Possible option labels are uppercase Latin letters: A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T.This is a single-best-answer exam task. Read the question and all provided options carefully. Choose exactly one option letter that appears in the prompt. Do not invent a new letter. First identify the option content that best answers the question, then map it back to its uppercase Latin option letter. Do not overthink.Use at most 3 concise English sentences before the final answer. Do not output the option text, multiple letters, or a bare letter. For example, “B” or “B.” is invalid. The answer must be written as a LaTeX \boxed{} expression.The absolute final line of your entire response must be exactly in this format, with no period or text after it: Final answer: \boxed{X} Replace X with the single uppercase option letter. Inside \boxed{}, output ONLY the letter: no spaces, no punctuation, no text.' %}
{%- if messages[0].role == 'system' %} {{- '<|im_start|>system\n' + messages[0].content + '\n\n' + boxed_instruction + '<|im_end|>\n' }}{%- set enable_thinking = true %}{%- set boxed_instruction = 'Drop all explanations. You must output EXACTLY one final line containing only the answer inside \\boxed{...}. For multiple-choice, box ONLY the uppercase letter, e.g., \\boxed{B}. Never append any text, period, or newline after the box. Strict format: \\boxed{YOUR_ANSWER}' %}{%- if tools %} {{- '<|im_start|>system\n' }} {%- if messages[0].role == 'system' %} {{- messages[0].content + '\n\n' + boxed_instruction + '\n\n' }} {%- else %} {{- boxed_instruction + '\n\n' }} {%- endif %} {{- "# 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>" }} {%- for tool in tools %} {{- "\n" }} {{- tool | tojson }} {%- endfor %} {{- "\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" }}{%- else %} {%- if messages[0].role == 'system' %} {{- '<|im_start|>system\n' + messages[0].content + '\n\n' + boxed_instruction + '<|im_end|>\n' }} {%- else %} {{- '<|im_start|>system\n' + boxed_instruction + '<|im_end|>\n' }} {{- '<|im_start|>system\n' + boxed_instruction + '<|im_end|>\n' }} {%- endif %}{%- endif %}
{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}{%- for message in messages[::-1] %} {%- set index = (messages|length - 1) - loop.index0 %} {%- 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>')) %} {%- set ns.multi_step_tool = false %} {%- set ns.last_query_index = index %} {%- endif %}{%- endfor %}{%- for message in messages %} {%- if message.content is string %} {%- set content = message.content %} {%- else %} {%- set content = '' %} {%- endif %}
{%- if (message.role == "user") or (message.role == "system" and not loop.first) %} {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }} {%- elif message.role == "assistant" %} {%- set reasoning_content = '' %} {%- if message.reasoning_content is string %} {%- set reasoning_content = message.reasoning_content %} {%- else %} {%- if '</think>' in content %} {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %} {%- set content = content.split('</think>')[-1].lstrip('\n') %} {%- endif %} {%- endif %} {%- if loop.index0 > ns.last_query_index %} {%- if loop.last or (not loop.last and reasoning_content) %} {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }} {%- else %} {{- '<|im_start|>' + message.role + '\n' + content.lstrip('\n') + '<|im_end|>\n' }} {{- '<|im_start|>' + message.role + '\n' + content }} {%- endif %} {%- else %} {{- '<|im_start|>' + message.role + '\n' + content }} {%- endif %} {%- if message.tool_calls %} {%- for tool_call in message.tool_calls %} {%- if (loop.first and content) or (not loop.first) %} {{- '\n' }} {%- endif %} {%- if tool_call.function %} {%- set tool_call = tool_call.function %} {%- endif %} {{- '<tool_call>\n{"name": "' }} {{- tool_call.name }} {{- '", "arguments": ' }} {%- if tool_call.arguments is string %} {{- tool_call.arguments }} {%- else %} {{- tool_call.arguments | tojson }} {%- endif %} {{- '}\n</tool_call>' }} {%- endfor %} {%- endif %} {{- '<|im_end|>\n' }} {%- elif message.role == "tool" %} {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %} {{- '<|im_start|>user' }} {%- endif %} {{- '\n<tool_response>\n' }} {{- content }} {{- '\n</tool_response>' }} {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %} {{- '<|im_end|>\n' }} {%- endif %} {%- endif %}{%- endfor %}
{%- if add_generation_prompt %} {{- '<|im_start|>assistant\n' }} {%- if not enable_thinking %} {%- if enable_thinking is defined and enable_thinking is false %} {{- '<think>\n\n</think>\n\n' }} {%- endif %}{%- endif %}1223version https://git-lfs.github.com/spec/v1oid sha256:b0aa096dd3684ec593682b8693511c22a88bc990b73f559d04be8c1f12d27341oid sha256:951d16b4867de55aeb799a6116d59aebbcf71ca03c93d3e4b93abb04eea994c9size 19814184321223version https://git-lfs.github.com/spec/v1oid sha256:2c51582dd9a237547f382a0c5b5548fae285630f1c5501ce0a5ed17fcad40610oid sha256:62462576cd1ea2c4990677eb3ea526347600bc47ab4c7e7a7b0cad7fd97b9478size 14597669764 unmodified lines567891011121314151617181920212289104 unmodified lines "clean_up_tokenization_spaces": false, "eos_token": "<|im_end|>", "errors": "replace", "extra_special_tokens": [ "<|im_start|>", "<|im_end|>", "<|object_ref_start|>", "<|object_ref_end|>", "<|box_start|>", "<|box_end|>", "<|quad_start|>", "<|quad_end|>", "<|vision_start|>", "<|vision_end|>", "<|vision_pad|>", "<|image_pad|>", "<|video_pad|>" ], "is_local": true, "local_files_only": false, "model_max_length": 131072,chat_template.jinja+77-11
model-00001-of-00002.safetensors+1-1
model-00002-of-00002.safetensors+1-1
tokenizer_config.json-15