inclusionAI/Ring-2.6-1T · Hugging Face
Log In<br>Sign Up
","cls_token":"[CLS]","eos_token":"","pad_token":""},"chat_template_jinja":"{% set reasoning_effort = reasoning_effort | default('high', true) %}\n{%- if messages[0].role == 'system' and messages[0].content != '' or tools or (reasoning_effort is defined and reasoning_effort != '') %}\n {{- 'SYSTEM\\n' }}\n{%- endif %}\n{%- if reasoning_effort is defined and reasoning_effort != '' %}\n {{- 'Reasoning: ' + reasoning_effort + '\\n\\n'}}\n{%- endif %}\n{%- if messages[0].role == 'system' %}\n {%- if messages[0].content != '' %}\n {{- messages[0].content }}\n {{- '\\n\\n' if tools else '\\n\\n' }}\n {%- endif %}\n{%- endif %}\n{%- if tools %}\n {{- \"# Tools\\nYou may call one or more functions to assist with the user query.\\nYou are provided with function signatures within XML tags:\\n\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n\\nIf none of the functions can be used, point it out. If the given question lacks the parameters required by the function, also point it out.\\nIf you need to use a function, for each function call, output the function name and arguments within the following XML format:\\n{function-name}\\n{arg-key-1}\\n{arg-value-1}\\n{arg-key-2}\\n{arg-value-2}\\n...\\n\\n\\n\" }}\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('') and message.content.endswith('')) %}\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\" %}\n {{- 'HUMAN\\n' + message.content + '\\n\\n' }}\n {%- elif message.role == \"system\" and not loop.first %}\n {{- 'SYSTEM\\n' + message.content + '\\n\\n' }}\n {%- elif message.role == \"assistant\" %}\n {%- set reasoning_content = '' %}\n {%- if message.reasoning_content is string %}\n {%- if message.reasoning_content !='' %}\n {%- set reasoning_content = message.reasoning_content %}\n {%- endif %}\n {%- else %}\n {%- if '' in content %}\n {%- set reasoning_content = content.split('')[0].rstrip('\\n').split('')[-1].lstrip('\\n') %}\n {%- set content = content.split('')[-1].lstrip('\\n') %}\n {%- endif %}\n {%- endif %}\n {%- if loop.index0 > ns.last_query_index %}\n {%- if reasoning_content != '' %}\n {{- 'ASSISTANT\\n' + '\\n' + reasoning_content.strip('\\n') + '\\n\\n\\n' + content.lstrip('\\n') }}\n {%- else %}\n {{- 'ASSISTANT\\n' + content }}\n {%- endif %}\n {%- else %}\n {{- 'ASSISTANT\\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 tc = tool_call.function %}\n {%- endif %}\n {{- '' + tc.name }}\n {% set _args = tc.arguments %}\n {%- for k, v in _args.items() %}\n {{- '' + k + '' }}\n {{- '\\n' }}\n {%- if v is string %}\n {{- v }}\n {%- else %}\n {{- v | tojson(ensure_ascii=False) }}\n {%- endif %}\n {{- '' }}\n {%- endfor %}\n {{- '\\n' }}\n {%- endfor %}\n {%- endif %}\n {{- '\\n\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if loop.first or (messages[loop.index0 - 1].role != \"tool\") %}\n {{- 'OBSERVATION' }}\n {%- endif %}\n {{- '\\n\\n' }}\n {{- content }}\n {{- '\\n' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- '\\n\\n' }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- 'ASSISTANT' }}\n{%- endif %}\n"},"createdAt":"2026-05-14T08:10:02.000Z","discussionsDisabled":false,"discussionsSorting":"recently-created","downloads":323,"downloadsAllTime":323,"id":"inclusionAI/Ring-2.6-1T","isLikedByUser":false,"availableInferenceProviders":[],"showHuggingChatEntry":false,"inference":"","lastModified":"2026-05-15T13:16:22.000Z","likes":48,"pipeline_tag":"text-generation","library_name":"transformers","librariesOther":[],"trackDownloads":true,"model-index":null,"private":false,"repoType":"model","gated":false,"tags":["transformers","safetensors","bailing_hybrid","text-generation","conversational","custom_code","license:mit","compressed-tensors","region:us"],"tag_objs":[{"id":"text-generation","label":"Text...