{"_id":"6a6f6cf134c714cf6381ccb4","id":"inclusionAI/Ling-3.0-flash","private":false,"pipeline_tag":"text-generation","tags":["safetensors","bailing_hybrid","text-generation","conversational","custom_code","license:mit","eval-results","region:us"],"downloads":9515,"likes":437,"modelId":"inclusionAI/Ling-3.0-flash","author":"inclusionAI","sha":"fcc60a52b34c69c6271d0ac8a8cb0815020b6a43","lastModified":"2026-10-12T11:46:10.000Z","gated":false,"disabled":false,"widgetData":[{"text":"Hi, what can you help me with?"},{"text":"What is 84 * 3 / 2?"},{"text":"Tell me an interesting fact about the universe!"},{"text":"Explain quantum computing in simple terms."}],"model-index":null,"config":{"architectures":["BailingMoeV3ForCausalLM"],"auto_map":{"AutoConfig":"configuration_bailing_moe_v3.BailingMoeV3Config","AutoModel":"modeling_bailing_moe_v3.BailingMoeV3Model","AutoModelForCausalLM":"modeling_bailing_moe_v3.BailingMoeV3ForCausalLM"},"num_experts":512,"num_experts_per_tok":8,"model_type":"bailing_hybrid","tokenizer_config":{"bos_token":"<|startoftext|>","cls_token":"[CLS]","eos_token":"<|role_end|>","pad_token":"<|endoftext|>"},"chat_template_jinja":"{#- Bailing V3 chat template -#}\n{#- Supports: thinking option, tool calling -#}\n\n{#- ==================== thinking option normalization ==================== -#}\n{%- if enable_thinking is defined %}\n    {%- if enable_thinking %}\n        {%- set thinking_option = 'on' %}\n    {%- else %}\n        {%- set thinking_option = 'off' %}\n    {%- endif %}\n{%- elif thinking_option is not defined %}\n    {%- set thinking_option = 'on' %}\n{%- endif %}\n\n{#- ==================== preserved thinking  ==================== -#}\n{% set preserved_thinking = true %}\n\n{#- ==================== system message ==================== -#}\n{{- '<role>SYSTEM</role>' }}\n{%- if tools %}\n    {%- if messages[0].role == 'system' %}\n        {{- messages[0].content + '\\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\\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<tool_call>{function-name}\\n<arg_key>{arg-key-1}</arg_key>\\n<arg_value>{arg-value-1}</arg_value>\\n<arg_key>{arg-key-2}</arg_key>\\n<arg_value>{arg-value-2}</arg_value>\\n...\\n</tool_call>\\n\" }}\n    {%- if messages[0].role == 'system' and messages[0].content is string and ('detailed thinking on' in messages[0].content or 'detailed thinking off' in messages[0].content) %}\n        {{- '<|role_end|>' }}\n    {%- else %}\n        {{- 'detailed thinking ' + thinking_option + '<|role_end|>' }}\n    {%- endif %}\n{%- else %}\n    {%- if messages[0].role == 'system' %}\n        {%- if 'detailed thinking on' in messages[0].content or 'detailed thinking off' in messages[0].content %}\n            {{- messages[0].content + '<|role_end|>' }}\n        {%- else %}\n            {{- messages[0].content + '\\n' }}\n            {{- 'detailed thinking ' + thinking_option + '<|role_end|>' }}\n        {%- endif %}\n    {% else %}\n        {{- 'detailed thinking ' + thinking_option + '<|role_end|>' }}\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\" %}\n        {{- '<role>HUMAN</role>' + message.content + '<|role_end|>' }}\n    {%- elif message.role == \"system\" and not loop.first %}\n        {{- '<role>SYSTEM</role>' + message.content + '<|role_end|>' }}\n    {%- elif message.role == \"assistant\" %}\n        {%- set reasoning_content = '' %}\n        {%- if message.reasoning_content is string and message.reasoning_content != '' %}\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 preserved_thinking or loop.index0 > ns.last_query_index %}\n            {%- if reasoning_content != '' %}\n                {{- '<role>ASSISTANT</role>' + '\\n<think>' + reasoning_content.strip('\\n') + '</think>' + content.lstrip('\\n') }}\n            {%- else %}\n                {{- '<role>ASSISTANT</role>\\n<think></think>' + content }}\n            {%- endif %}\n        {%- else %}\n            {{- '<role>ASSISTANT</role>\\n<think></think>' + 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                {%- set tc = tool_call %}\n                {%- if tool_call.function %}\n                    {%- set tc = tool_call.function %}\n                {%- endif %}\n                {{- '<tool_call>' + tc.name }}\n                {% set _args = tc.arguments %}\n                {%- for k, v in _args.items() %}\n                    {{- '<arg_key>' + k + '</arg_key>' }}\n                    {{- '\\n<arg_value>' }}\n                    {%- if v is string %}\n                        {{- v }}\n                    {%- else %}\n                        {{- v | tojson(ensure_ascii=False) }}\n                    {%- endif %}\n                    {{- '</arg_value>' }}\n                {%- endfor %}\n                {{- '\\n</tool_call>' }}\n            {%- endfor %}\n        {%- endif %}\n        {{- '<|role_end|>' }}\n    {%- elif message.role == \"tool\" %}\n        {%- if loop.first or (messages[loop.index0 - 1].role != \"tool\") %}\n            {{- '<role>OBSERVATION</role>' }}\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            {{- '<|role_end|>' }}\n        {%- endif %}\n    {%- endif %}\n{%- endfor %}\n\n{#- ==================== generation prompt ==================== -#}\n{%- if add_generation_prompt %}\n    {{- '<role>ASSISTANT</role>' }}\n    {%- if thinking_option == 'on' %}\n        {{- '\\n<think>' }}\n    {%- elif thinking_option == 'off' %}\n        {{- '\\n<think></think>' }}\n    {%- endif %}\n{%- endif %}"},"cardData":{"license":"mit","pipeline_tag":"text-generation"},"siblings":[{"rfilename":".eval_results/aime_2026.yaml"},{"rfilename":".eval_results/hle.yaml"},{"rfilename":".eval_results/hmmt_feb_2026.yaml"},{"rfilename":".eval_results/swe-bench_multilingual.yaml"},{"rfilename":".eval_results/swe-bench_pro.yaml"},{"rfilename":".gitattributes"},{"rfilename":"README.md"},{"rfilename":"chat_template.jinja"},{"rfilename":"config.json"},{"rfilename":"configuration_bailing_moe_v3.py"},{"rfilename":"model-00001-of-00024.safetensors"},{"rfilename":"model-00002-of-00024.safetensors"},{"rfilename":"model-00003-of-00024.safetensors"},{"rfilename":"model-00004-of-00024.safetensors"},{"rfilename":"model-00005-of-00024.safetensors"},{"rfilename":"model-00006-of-00024.safetensors"},{"rfilename":"model-00007-of-00024.safetensors"},{"rfilename":"model-00008-of-00024.safetensors"},{"rfilename":"model-00009-of-00024.safetensors"},{"rfilename":"model-00010-of-00024.safetensors"},{"rfilename":"model-00011-of-00024.safetensors"},{"rfilename":"model-00012-of-00024.safetensors"},{"rfilename":"model-00013-of-00024.safetensors"},{"rfilename":"model-00014-of-00024.safetensors"},{"rfilename":"model-00015-of-00024.safetensors"},{"rfilename":"model-00016-of-00024.safetensors"},{"rfilename":"model-00017-of-00024.safetensors"},{"rfilename":"model-00018-of-00024.safetensors"},{"rfilename":"model-00019-of-00024.safetensors"},{"rfilename":"model-00020-of-00024.safetensors"},{"rfilename":"model-00021-of-00024.safetensors"},{"rfilename":"model-00022-of-00024.safetensors"},{"rfilename":"model-00023-of-00024.safetensors"},{"rfilename":"model-00024-of-00024.safetensors"},{"rfilename":"model.safetensors.index.json"},{"rfilename":"modeling_bailing_moe_v3.py"},{"rfilename":"special_tokens_map.json"},{"rfilename":"tokenizer.json"},{"rfilename":"tokenizer_config.json"}],"spaces":["ginigen-ai/open-router-leaderboard","akhaliq/ling-3.0-flash","DeepImagix/self-trained2","patrickleenyc/fucc-boi-bench","abonaie222263/hf-openai-proxy","Crytonix/demo","bep40/ml-intern","keshav1212/eva-ml-service","bep40/Space-Mutiverse-Control","SilverElixir/Lumen","prithwi544/omnivra-backend","ratingtesting/keelwright","pedrorezende/multi-agent-sdlc","harshdhane/AI","frangelbarrera/ling-3-evaluation-explorer","developerjeremylive/hf-openai-proxy-etheroi","osolmaz/ling-dgx-spark","Easygames2point0/nox-all-in-one-ai-companion","bep40/Space-Control","yeeeeezus/inference","bep40/ml-intern2","quaedra/best-local-llm-for-your-gpu"],"createdAt":"2026-08-02T16:14:41.000Z","safetensors":{"parameters":{"F32":165472,"BF16":127486240128},"total":127486405600},"inference":"warm","usedStorage":254993303374}