Edge0/Edge0-8B-A1B-preview
zetlyn/models-hf model hf Edge0/Edge0-8B-A1B-preview known 2026-09-08
https://huggingface.co/Edge0/Edge0-8B-A1B-preview
Properties
| author | Edge0receipt
What the source handed over{
"_asked": "Edge0/Edge0-8B-A1B-preview",
"_id": "6aa0145385f8f3f04aef16db",
"author": "Edge0",
"cardData": {
"base_model": [
"inclusionAI/Ling-3.0-tiny-base"
],
"library_name": "mlx",
"license": "apache-2.0",
"pipeline_tag": "text-generation",
"tags": [
"moe",
"edge-inference",
"prerouter",
"lora",
"ssd-offload",
"multi-platform",
"ios",
"android",
"windows",
"macos"
]
},
"config": {
"architectures": [
"BailingMoeV3ForCausalLM"
],
"auto_map": {
"AutoConfig": "configuration_bailing_moe_v3.BailingMoeV3Config",
"AutoModel": "modeling_bailing_moe_v3.BailingMoeV3Model",
"AutoModelForCausalLM": "modeling_bailing_moe_v3.BailingMoeV3ForCausalLM"
},
"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 %}",
"num_experts": 128,
"num_experts_per_tok": 8,
"quantization_config": {
"bits": 4
},
"tokenizer_config": {
"bos_token": "<|startoftext|>",
"cls_token": "[CLS]",
"eos_token": "<|role_end|>",
"pad_token": "<|endoftext|>"
}
},
"createdAt": "2026-09-08T13:57:39.000Z",
"disabled": false,
"downloads": 6416,
"gated": false,
"id": "Edge0/Edge0-8B-A1B-preview",
"lastModified": "2026-10-01T09:42:34.000Z",
"library_name": "mlx",
"likes": 89,
"model-index": null,
"modelId": "Edge0/Edge0-8B-A1B-preview",
"pipeline_tag": "text-generation",
"private": false,
"safetensors": {
"parameters": {
"BF16": 5086624,
"F16": 30605312,
"U32": 7888306176
},
"total": 7923998112
},
"sha": "269b9a2c4a69d897c50e9f4e125328481d7c0fcf",
"siblings": [
{
"rfilename": ".gitattributes"
},
{
"rfilename": "20260908-223115.jpg"
},
{
"rfilename": "20260910-105854.mp4"
},
{
"rfilename": "README.md"
},
{
"rfilename": "chat_template.jinja"
},
{
"rfilename": "config.json"
},
{
"rfilename": "configuration_bailing_moe_v3.py"
},
{
"rfilename": "generation_config.json"
},
{
"rfilename": "lora_edge0_8b.safetensors"
},
{
"rfilename": "model.safetensors"
},
{
"rfilename": "modeling_bailing_moe_v3.py"
},
{
"rfilename": "prerouter_edge0_8b.safetensors"
},
{
"rfilename": "special_tokens_map.json"
},
{
"rfilename": "tokenizer.json"
},
{
"rfilename": "tokenizer_config.json"
}
],
"spaces": [
"tardellirs/model-pulse",
"rcode21212/edge0-35b-showcase"
],
"tags": [
"mlx",
"safetensors",
"moe",
"edge-inference",
"prerouter",
"lora",
"ssd-offload",
"multi-platform",
"ios",
"android",
"windows",
"macos",
"text-generation",
"conversational",
"custom_code",
"arxiv:2609.18063",
"base_model:inclusionAI/Ling-3.0-tiny-base",
"base_model:adapter:inclusionAI/Ling-3.0-tiny-base",
"license:apache-2.0",
"4-bit",
"region:us"
],
"usedStorage": 4601710259,
"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."
}
]
} | ||||||
|---|---|---|---|---|---|---|---|
| downloads | 6416receipt
What the source handed over{
"_asked": "Edge0/Edge0-8B-A1B-preview",
"_id": "6aa0145385f8f3f04aef16db",
"author": "Edge0",
"cardData": {
"base_model": [
"inclusionAI/Ling-3.0-tiny-base"
],
"library_name": "mlx",
"license": "apache-2.0",
"pipeline_tag": "text-generation",
"tags": [
"moe",
"edge-inference",
"prerouter",
"lora",
"ssd-offload",
"multi-platform",
"ios",
"android",
"windows",
"macos"
]
},
"config": {
"architectures": [
"BailingMoeV3ForCausalLM"
],
"auto_map": {
"AutoConfig": "configuration_bailing_moe_v3.BailingMoeV3Config",
"AutoModel": "modeling_bailing_moe_v3.BailingMoeV3Model",
"AutoModelForCausalLM": "modeling_bailing_moe_v3.BailingMoeV3ForCausalLM"
},
"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 %}",
"num_experts": 128,
"num_experts_per_tok": 8,
"quantization_config": {
"bits": 4
},
"tokenizer_config": {
"bos_token": "<|startoftext|>",
"cls_token": "[CLS]",
"eos_token": "<|role_end|>",
"pad_token": "<|endoftext|>"
}
},
"createdAt": "2026-09-08T13:57:39.000Z",
"disabled": false,
"downloads": 6416,
"gated": false,
"id": "Edge0/Edge0-8B-A1B-preview",
"lastModified": "2026-10-01T09:42:34.000Z",
"library_name": "mlx",
"likes": 89,
"model-index": null,
"modelId": "Edge0/Edge0-8B-A1B-preview",
"pipeline_tag": "text-generation",
"private": false,
"safetensors": {
"parameters": {
"BF16": 5086624,
"F16": 30605312,
"U32": 7888306176
},
"total": 7923998112
},
"sha": "269b9a2c4a69d897c50e9f4e125328481d7c0fcf",
"siblings": [
{
"rfilename": ".gitattributes"
},
{
"rfilename": "20260908-223115.jpg"
},
{
"rfilename": "20260910-105854.mp4"
},
{
"rfilename": "README.md"
},
{
"rfilename": "chat_template.jinja"
},
{
"rfilename": "config.json"
},
{
"rfilename": "configuration_bailing_moe_v3.py"
},
{
"rfilename": "generation_config.json"
},
{
"rfilename": "lora_edge0_8b.safetensors"
},
{
"rfilename": "model.safetensors"
},
{
"rfilename": "modeling_bailing_moe_v3.py"
},
{
"rfilename": "prerouter_edge0_8b.safetensors"
},
{
"rfilename": "special_tokens_map.json"
},
{
"rfilename": "tokenizer.json"
},
{
"rfilename": "tokenizer_config.json"
}
],
"spaces": [
"tardellirs/model-pulse",
"rcode21212/edge0-35b-showcase"
],
"tags": [
"mlx",
"safetensors",
"moe",
"edge-inference",
"prerouter",
"lora",
"ssd-offload",
"multi-platform",
"ios",
"android",
"windows",
"macos",
"text-generation",
"conversational",
"custom_code",
"arxiv:2609.18063",
"base_model:inclusionAI/Ling-3.0-tiny-base",
"base_model:adapter:inclusionAI/Ling-3.0-tiny-base",
"license:apache-2.0",
"4-bit",
"region:us"
],
"usedStorage": 4601710259,
"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."
}
]
} | ||||||
| gated | falsereceipt
What the source handed over{
"_asked": "Edge0/Edge0-8B-A1B-preview",
"_id": "6aa0145385f8f3f04aef16db",
"author": "Edge0",
"cardData": {
"base_model": [
"inclusionAI/Ling-3.0-tiny-base"
],
"library_name": "mlx",
"license": "apache-2.0",
"pipeline_tag": "text-generation",
"tags": [
"moe",
"edge-inference",
"prerouter",
"lora",
"ssd-offload",
"multi-platform",
"ios",
"android",
"windows",
"macos"
]
},
"config": {
"architectures": [
"BailingMoeV3ForCausalLM"
],
"auto_map": {
"AutoConfig": "configuration_bailing_moe_v3.BailingMoeV3Config",
"AutoModel": "modeling_bailing_moe_v3.BailingMoeV3Model",
"AutoModelForCausalLM": "modeling_bailing_moe_v3.BailingMoeV3ForCausalLM"
},
"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 %}",
"num_experts": 128,
"num_experts_per_tok": 8,
"quantization_config": {
"bits": 4
},
"tokenizer_config": {
"bos_token": "<|startoftext|>",
"cls_token": "[CLS]",
"eos_token": "<|role_end|>",
"pad_token": "<|endoftext|>"
}
},
"createdAt": "2026-09-08T13:57:39.000Z",
"disabled": false,
"downloads": 6416,
"gated": false,
"id": "Edge0/Edge0-8B-A1B-preview",
"lastModified": "2026-10-01T09:42:34.000Z",
"library_name": "mlx",
"likes": 89,
"model-index": null,
"modelId": "Edge0/Edge0-8B-A1B-preview",
"pipeline_tag": "text-generation",
"private": false,
"safetensors": {
"parameters": {
"BF16": 5086624,
"F16": 30605312,
"U32": 7888306176
},
"total": 7923998112
},
"sha": "269b9a2c4a69d897c50e9f4e125328481d7c0fcf",
"siblings": [
{
"rfilename": ".gitattributes"
},
{
"rfilename": "20260908-223115.jpg"
},
{
"rfilename": "20260910-105854.mp4"
},
{
"rfilename": "README.md"
},
{
"rfilename": "chat_template.jinja"
},
{
"rfilename": "config.json"
},
{
"rfilename": "configuration_bailing_moe_v3.py"
},
{
"rfilename": "generation_config.json"
},
{
"rfilename": "lora_edge0_8b.safetensors"
},
{
"rfilename": "model.safetensors"
},
{
"rfilename": "modeling_bailing_moe_v3.py"
},
{
"rfilename": "prerouter_edge0_8b.safetensors"
},
{
"rfilename": "special_tokens_map.json"
},
{
"rfilename": "tokenizer.json"
},
{
"rfilename": "tokenizer_config.json"
}
],
"spaces": [
"tardellirs/model-pulse",
"rcode21212/edge0-35b-showcase"
],
"tags": [
"mlx",
"safetensors",
"moe",
"edge-inference",
"prerouter",
"lora",
"ssd-offload",
"multi-platform",
"ios",
"android",
"windows",
"macos",
"text-generation",
"conversational",
"custom_code",
"arxiv:2609.18063",
"base_model:inclusionAI/Ling-3.0-tiny-base",
"base_model:adapter:inclusionAI/Ling-3.0-tiny-base",
"license:apache-2.0",
"4-bit",
"region:us"
],
"usedStorage": 4601710259,
"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."
}
]
} | ||||||
| licence | apache-2.0receipt
What the source handed over{
"_asked": "Edge0/Edge0-8B-A1B-preview",
"_id": "6aa0145385f8f3f04aef16db",
"author": "Edge0",
"cardData": {
"base_model": [
"inclusionAI/Ling-3.0-tiny-base"
],
"library_name": "mlx",
"license": "apache-2.0",
"pipeline_tag": "text-generation",
"tags": [
"moe",
"edge-inference",
"prerouter",
"lora",
"ssd-offload",
"multi-platform",
"ios",
"android",
"windows",
"macos"
]
},
"config": {
"architectures": [
"BailingMoeV3ForCausalLM"
],
"auto_map": {
"AutoConfig": "configuration_bailing_moe_v3.BailingMoeV3Config",
"AutoModel": "modeling_bailing_moe_v3.BailingMoeV3Model",
"AutoModelForCausalLM": "modeling_bailing_moe_v3.BailingMoeV3ForCausalLM"
},
"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 %}",
"num_experts": 128,
"num_experts_per_tok": 8,
"quantization_config": {
"bits": 4
},
"tokenizer_config": {
"bos_token": "<|startoftext|>",
"cls_token": "[CLS]",
"eos_token": "<|role_end|>",
"pad_token": "<|endoftext|>"
}
},
"createdAt": "2026-09-08T13:57:39.000Z",
"disabled": false,
"downloads": 6416,
"gated": false,
"id": "Edge0/Edge0-8B-A1B-preview",
"lastModified": "2026-10-01T09:42:34.000Z",
"library_name": "mlx",
"likes": 89,
"model-index": null,
"modelId": "Edge0/Edge0-8B-A1B-preview",
"pipeline_tag": "text-generation",
"private": false,
"safetensors": {
"parameters": {
"BF16": 5086624,
"F16": 30605312,
"U32": 7888306176
},
"total": 7923998112
},
"sha": "269b9a2c4a69d897c50e9f4e125328481d7c0fcf",
"siblings": [
{
"rfilename": ".gitattributes"
},
{
"rfilename": "20260908-223115.jpg"
},
{
"rfilename": "20260910-105854.mp4"
},
{
"rfilename": "README.md"
},
{
"rfilename": "chat_template.jinja"
},
{
"rfilename": "config.json"
},
{
"rfilename": "configuration_bailing_moe_v3.py"
},
{
"rfilename": "generation_config.json"
},
{
"rfilename": "lora_edge0_8b.safetensors"
},
{
"rfilename": "model.safetensors"
},
{
"rfilename": "modeling_bailing_moe_v3.py"
},
{
"rfilename": "prerouter_edge0_8b.safetensors"
},
{
"rfilename": "special_tokens_map.json"
},
{
"rfilename": "tokenizer.json"
},
{
"rfilename": "tokenizer_config.json"
}
],
"spaces": [
"tardellirs/model-pulse",
"rcode21212/edge0-35b-showcase"
],
"tags": [
"mlx",
"safetensors",
"moe",
"edge-inference",
"prerouter",
"lora",
"ssd-offload",
"multi-platform",
"ios",
"android",
"windows",
"macos",
"text-generation",
"conversational",
"custom_code",
"arxiv:2609.18063",
"base_model:inclusionAI/Ling-3.0-tiny-base",
"base_model:adapter:inclusionAI/Ling-3.0-tiny-base",
"license:apache-2.0",
"4-bit",
"region:us"
],
"usedStorage": 4601710259,
"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."
}
]
} | ||||||
| likes | 89receipt
What the source handed over{
"_asked": "Edge0/Edge0-8B-A1B-preview",
"_id": "6aa0145385f8f3f04aef16db",
"author": "Edge0",
"cardData": {
"base_model": [
"inclusionAI/Ling-3.0-tiny-base"
],
"library_name": "mlx",
"license": "apache-2.0",
"pipeline_tag": "text-generation",
"tags": [
"moe",
"edge-inference",
"prerouter",
"lora",
"ssd-offload",
"multi-platform",
"ios",
"android",
"windows",
"macos"
]
},
"config": {
"architectures": [
"BailingMoeV3ForCausalLM"
],
"auto_map": {
"AutoConfig": "configuration_bailing_moe_v3.BailingMoeV3Config",
"AutoModel": "modeling_bailing_moe_v3.BailingMoeV3Model",
"AutoModelForCausalLM": "modeling_bailing_moe_v3.BailingMoeV3ForCausalLM"
},
"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 %}",
"num_experts": 128,
"num_experts_per_tok": 8,
"quantization_config": {
"bits": 4
},
"tokenizer_config": {
"bos_token": "<|startoftext|>",
"cls_token": "[CLS]",
"eos_token": "<|role_end|>",
"pad_token": "<|endoftext|>"
}
},
"createdAt": "2026-09-08T13:57:39.000Z",
"disabled": false,
"downloads": 6416,
"gated": false,
"id": "Edge0/Edge0-8B-A1B-preview",
"lastModified": "2026-10-01T09:42:34.000Z",
"library_name": "mlx",
"likes": 89,
"model-index": null,
"modelId": "Edge0/Edge0-8B-A1B-preview",
"pipeline_tag": "text-generation",
"private": false,
"safetensors": {
"parameters": {
"BF16": 5086624,
"F16": 30605312,
"U32": 7888306176
},
"total": 7923998112
},
"sha": "269b9a2c4a69d897c50e9f4e125328481d7c0fcf",
"siblings": [
{
"rfilename": ".gitattributes"
},
{
"rfilename": "20260908-223115.jpg"
},
{
"rfilename": "20260910-105854.mp4"
},
{
"rfilename": "README.md"
},
{
"rfilename": "chat_template.jinja"
},
{
"rfilename": "config.json"
},
{
"rfilename": "configuration_bailing_moe_v3.py"
},
{
"rfilename": "generation_config.json"
},
{
"rfilename": "lora_edge0_8b.safetensors"
},
{
"rfilename": "model.safetensors"
},
{
"rfilename": "modeling_bailing_moe_v3.py"
},
{
"rfilename": "prerouter_edge0_8b.safetensors"
},
{
"rfilename": "special_tokens_map.json"
},
{
"rfilename": "tokenizer.json"
},
{
"rfilename": "tokenizer_config.json"
}
],
"spaces": [
"tardellirs/model-pulse",
"rcode21212/edge0-35b-showcase"
],
"tags": [
"mlx",
"safetensors",
"moe",
"edge-inference",
"prerouter",
"lora",
"ssd-offload",
"multi-platform",
"ios",
"android",
"windows",
"macos",
"text-generation",
"conversational",
"custom_code",
"arxiv:2609.18063",
"base_model:inclusionAI/Ling-3.0-tiny-base",
"base_model:adapter:inclusionAI/Ling-3.0-tiny-base",
"license:apache-2.0",
"4-bit",
"region:us"
],
"usedStorage": 4601710259,
"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."
}
]
} | ||||||
| task | text-generationreceipt
What the source handed over{
"_asked": "Edge0/Edge0-8B-A1B-preview",
"_id": "6aa0145385f8f3f04aef16db",
"author": "Edge0",
"cardData": {
"base_model": [
"inclusionAI/Ling-3.0-tiny-base"
],
"library_name": "mlx",
"license": "apache-2.0",
"pipeline_tag": "text-generation",
"tags": [
"moe",
"edge-inference",
"prerouter",
"lora",
"ssd-offload",
"multi-platform",
"ios",
"android",
"windows",
"macos"
]
},
"config": {
"architectures": [
"BailingMoeV3ForCausalLM"
],
"auto_map": {
"AutoConfig": "configuration_bailing_moe_v3.BailingMoeV3Config",
"AutoModel": "modeling_bailing_moe_v3.BailingMoeV3Model",
"AutoModelForCausalLM": "modeling_bailing_moe_v3.BailingMoeV3ForCausalLM"
},
"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 %}",
"num_experts": 128,
"num_experts_per_tok": 8,
"quantization_config": {
"bits": 4
},
"tokenizer_config": {
"bos_token": "<|startoftext|>",
"cls_token": "[CLS]",
"eos_token": "<|role_end|>",
"pad_token": "<|endoftext|>"
}
},
"createdAt": "2026-09-08T13:57:39.000Z",
"disabled": false,
"downloads": 6416,
"gated": false,
"id": "Edge0/Edge0-8B-A1B-preview",
"lastModified": "2026-10-01T09:42:34.000Z",
"library_name": "mlx",
"likes": 89,
"model-index": null,
"modelId": "Edge0/Edge0-8B-A1B-preview",
"pipeline_tag": "text-generation",
"private": false,
"safetensors": {
"parameters": {
"BF16": 5086624,
"F16": 30605312,
"U32": 7888306176
},
"total": 7923998112
},
"sha": "269b9a2c4a69d897c50e9f4e125328481d7c0fcf",
"siblings": [
{
"rfilename": ".gitattributes"
},
{
"rfilename": "20260908-223115.jpg"
},
{
"rfilename": "20260910-105854.mp4"
},
{
"rfilename": "README.md"
},
{
"rfilename": "chat_template.jinja"
},
{
"rfilename": "config.json"
},
{
"rfilename": "configuration_bailing_moe_v3.py"
},
{
"rfilename": "generation_config.json"
},
{
"rfilename": "lora_edge0_8b.safetensors"
},
{
"rfilename": "model.safetensors"
},
{
"rfilename": "modeling_bailing_moe_v3.py"
},
{
"rfilename": "prerouter_edge0_8b.safetensors"
},
{
"rfilename": "special_tokens_map.json"
},
{
"rfilename": "tokenizer.json"
},
{
"rfilename": "tokenizer_config.json"
}
],
"spaces": [
"tardellirs/model-pulse",
"rcode21212/edge0-35b-showcase"
],
"tags": [
"mlx",
"safetensors",
"moe",
"edge-inference",
"prerouter",
"lora",
"ssd-offload",
"multi-platform",
"ios",
"android",
"windows",
"macos",
"text-generation",
"conversational",
"custom_code",
"arxiv:2609.18063",
"base_model:inclusionAI/Ling-3.0-tiny-base",
"base_model:adapter:inclusionAI/Ling-3.0-tiny-base",
"license:apache-2.0",
"4-bit",
"region:us"
],
"usedStorage": 4601710259,
"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."
}
]
} |
Text
This source's terms allow its title, its values and a link here, not its text. It is at https://huggingface.co/Edge0/Edge0-8B-A1B-preview.