{"_id":"692737b42f606fd9b257d8f8","id":"PrimeIntellect/INTELLECT-3-FP8","private":false,"pipeline_tag":"text-generation","library_name":"transformers","tags":["transformers","safetensors","glm4_moe","text-generation","prime-rl","verifiers","prime-intellect","reinforcement-learning","reasoning","agentic","mixture-of-experts","conversational","en","base_model:zai-org/GLM-4.5-Air-Base","base_model:quantized:zai-org/GLM-4.5-Air-Base","license:mit","endpoints_compatible","compressed-tensors","region:us"],"downloads":239,"likes":21,"modelId":"PrimeIntellect/INTELLECT-3-FP8","author":"PrimeIntellect","sha":"b7a9f8541b943433776ab1455990324633710b73","lastModified":"2025-11-27T03:50:43.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":["Glm4MoeForCausalLM"],"model_type":"glm4_moe","num_experts_per_tok":8,"quantization_config":{"config_groups":{"group_0":{"targets":["Linear"],"weights":{"num_bits":8}}},"format":"float-quantized","quant_method":"compressed-tensors"},"tokenizer_config":{"eos_token":"<|im_end|>","pad_token":"<|endoftext|>"},"chat_template_jinja":"{% macro render_extra_keys(json_dict, handled_keys) %}\n    {%- if json_dict is mapping %}\n        {%- for json_key in json_dict if json_key not in handled_keys %}\n            {%- if json_dict[json_key] is mapping or (json_dict[json_key] is sequence and json_dict[json_key] is not string) %}\n                {{- '\\n<' ~ json_key ~ '>' ~ (json_dict[json_key] | tojson | safe) ~ '</' ~ json_key ~ '>' }}\n            {%- else %}\n                {{-'\\n<' ~ json_key ~ '>' ~ (json_dict[json_key] | string) ~ '</' ~ json_key ~ '>' }}\n            {%- endif %}\n        {%- endfor %}\n    {%- endif %}\n{% endmacro %}\n\n{%- if messages[0][\"role\"] == \"system\" %}\n    {%- set system_message = messages[0][\"content\"] %}\n    {%- set loop_messages = messages[1:] %}\n{%- else %}\n    {%- set loop_messages = messages %}\n{%- endif %}\n\n{%- if not tools is defined %}\n    {%- set tools = [] %}\n{%- endif %}\n\n{%- if system_message is defined %}\n    {{- \"<|im_start|>system\\n\" + system_message }}\n{%- else %}\n    {%- if tools is iterable and tools | length > 0 %}\n        {{- \"<|im_start|>system\\nYou are INTELLECT-3, a helpful assistant developed by Prime Intellect, that can interact with a computer to solve tasks.\" }}\n    {%- endif %}\n{%- endif %}\n{%- if tools is iterable and tools | length > 0 %}\n    {{- \"\\n\\n# Tools\\n\\nYou have access to the following functions:\\n\\n\" }}\n    {{- \"<tools>\" }}\n    {%- for tool in tools %}\n        {%- if tool.function is defined %}\n            {%- set tool = tool.function %}\n        {%- endif %}\n        {{- \"\\n<function>\\n<name>\" ~ tool.name ~ \"</name>\" }}\n        {%- if tool.description is defined %}\n            {{- '\\n<description>' ~ (tool.description | trim) ~ '</description>' }}\n        {%- endif %}\n        {{- '\\n<parameters>' }}\n        {%- if tool.parameters is defined and tool.parameters is mapping and tool.parameters.properties is defined and tool.parameters.properties is mapping %}\n            {%- for param_name, param_fields in tool.parameters.properties|items %}\n                {{- '\\n<parameter>' }}\n                {{- '\\n<name>' ~ param_name ~ '</name>' }}\n                {%- if param_fields.type is defined %}\n                    {{- '\\n<type>' ~ (param_fields.type | string) ~ '</type>' }}\n                {%- endif %}\n                {%- if param_fields.description is defined %}\n                    {{- '\\n<description>' ~ (param_fields.description | trim) ~ '</description>' }}\n                {%- endif %}\n                {%- set handled_keys = ['name', 'type', 'description'] %}\n                {{- render_extra_keys(param_fields, handled_keys) }}\n                {{- '\\n</parameter>' }}\n            {%- endfor %}\n        {%- endif %}\n        {% set handled_keys = ['type', 'properties'] %}\n        {{- render_extra_keys(tool.parameters, handled_keys) }}\n        {{- '\\n</parameters>' }}\n        {%- set handled_keys = ['type', 'name', 'description', 'parameters'] %}\n        {{- render_extra_keys(tool, handled_keys) }}\n        {{- '\\n</function>' }}\n    {%- endfor %}\n    {{- \"\\n</tools>\" }}\n    {{- '\\n\\nIf you choose to call a function ONLY reply in the following format with NO suffix:\\n\\n<tool_call>\\n<function=example_function_name>\\n<parameter=example_parameter_1>\\nvalue_1\\n</parameter>\\n<parameter=example_parameter_2>\\nThis is the value for the second parameter\\nthat can span\\nmultiple lines\\n</parameter>\\n</function>\\n</tool_call>\\n\\n<IMPORTANT>\\nReminder:\\n- Function calls MUST follow the specified format: an inner <function=...></function> block must be nested within <tool_call></tool_call> XML tags\\n- Required parameters MUST be specified\\n- You may provide optional reasoning for your function call in natural language BEFORE the function call, but NOT after\\n- If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls\\n</IMPORTANT>' }}\n{%- endif %}\n{%- if system_message is defined %}\n    {{- '<|im_end|>\\n' }}\n{%- else %}\n    {%- if tools is iterable and tools | length > 0 %}\n        {{- '<|im_end|>\\n' }}\n    {%- endif %}\n{%- endif %}\n{%- for message in loop_messages %}\n    {%- if message.role == \"assistant\" and message.tool_calls is defined and message.tool_calls is iterable and message.tool_calls | length > 0 %}\n        {{- '<|im_start|>' + message.role }}\n        {%- if message.content is defined and message.content is string %}\n            {%- if message.reasoning_content is defined  -%}\n                {%- if message.reasoning_content -%}\n                    {{ '\\n<think>' + message.reasoning_content.strip() + '</think>' }}\n                {%- else -%}\n                    {{ '\\n<think></think>' }}\n                {%- endif -%}\n            {%- endif -%}\n            {{- '\\n' + message.content | trim + '\\n' }}\n        {%- endif %}\n        {%- for tool_call in message.tool_calls %}\n            {%- if tool_call.function is defined %}\n                {%- set tool_call = tool_call.function %}\n            {%- endif %}\n            {{- '\\n<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\n            {%- if tool_call.arguments is defined %}\n                {%- for args_name, args_value in tool_call.arguments|items %}\n                    {{- '<parameter=' + args_name + '>\\n' }}\n                    {%- set args_value = args_value | tojson | safe if args_value is mapping or (args_value is sequence and args_value is not string) else args_value | string %}\n                    {{- args_value }}\n                    {{- '\\n</parameter>\\n' }}\n                {%- endfor %}\n            {%- endif %}\n            {{- '</function>\\n</tool_call>' }}\n        {%- endfor %}\n        {{- '<|im_end|>\\n' }}\n    {%- elif message.role == \"user\" or message.role == \"system\" or message.role == \"assistant\" %}\n        {{- '<|im_start|>' + message.role }}\n        {%- if message.role == \"assistant\" and message.reasoning_content is defined %}\n            {%- if message.reasoning_content -%}\n                {{ '\\n<think>' + message.reasoning_content.strip() + '</think>' }}\n            {%- else -%}\n                {{ '\\n<think></think>' }}\n            {%- endif -%}\n            {%- if message.content.strip() -%}\n                {{ '\\n' + message.content.strip() }}\n            {%- endif -%}\n        {%- else %}\n            {{- '\\n' + message.content }}\n        {%- endif %}\n        {{- '<|im_end|>' + '\\n' }}\n    {%- elif message.role == \"tool\" %}\n        {%- if loop.previtem and loop.previtem.role != \"tool\" %}\n            {{- '<|im_start|>user\\n' }}\n        {%- endif %}\n        {{- '<tool_response>\\n' }}\n        {{- message.content }}\n        {{- '\\n</tool_response>\\n' }}\n        {%- if not loop.last and loop.nextitem.role != \"tool\" %}\n            {{- '<|im_end|>\\n' }}\n        {%- elif loop.last %}\n            {{- '<|im_end|>\\n' }}\n        {%- endif %}\n    {%- else %}\n        {{- '<|im_start|>' + message.role + '\\n' + message.content + '<|im_end|>\\n' }}\n    {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n    {{- '<|im_start|>assistant\\n<think>' }}\n{%- endif %}\n"},"cardData":{"library_name":"transformers","tags":["prime-rl","verifiers","prime-intellect","reinforcement-learning","reasoning","agentic","mixture-of-experts"],"license":"mit","language":["en"],"base_model":["zai-org/GLM-4.5-Air-Base"],"pipeline_tag":"text-generation"},"transformersInfo":{"auto_model":"AutoModelForCausalLM","pipeline_tag":"text-generation","processor":"AutoTokenizer"},"siblings":[{"rfilename":".gitattributes"},{"rfilename":"README.md"},{"rfilename":"banner.png"},{"rfilename":"bench.png"},{"rfilename":"chat_template.jinja"},{"rfilename":"config.json"},{"rfilename":"generation_config.json"},{"rfilename":"model-00001-of-00048.safetensors"},{"rfilename":"model-00002-of-00048.safetensors"},{"rfilename":"model-00003-of-00048.safetensors"},{"rfilename":"model-00004-of-00048.safetensors"},{"rfilename":"model-00005-of-00048.safetensors"},{"rfilename":"model-00006-of-00048.safetensors"},{"rfilename":"model-00007-of-00048.safetensors"},{"rfilename":"model-00008-of-00048.safetensors"},{"rfilename":"model-00009-of-00048.safetensors"},{"rfilename":"model-00010-of-00048.safetensors"},{"rfilename":"model-00011-of-00048.safetensors"},{"rfilename":"model-00012-of-00048.safetensors"},{"rfilename":"model-00013-of-00048.safetensors"},{"rfilename":"model-00014-of-00048.safetensors"},{"rfilename":"model-00015-of-00048.safetensors"},{"rfilename":"model-00016-of-00048.safetensors"},{"rfilename":"model-00017-of-00048.safetensors"},{"rfilename":"model-00018-of-00048.safetensors"},{"rfilename":"model-00019-of-00048.safetensors"},{"rfilename":"model-00020-of-00048.safetensors"},{"rfilename":"model-00021-of-00048.safetensors"},{"rfilename":"model-00022-of-00048.safetensors"},{"rfilename":"model-00023-of-00048.safetensors"},{"rfilename":"model-00024-of-00048.safetensors"},{"rfilename":"model-00025-of-00048.safetensors"},{"rfilename":"model-00026-of-00048.safetensors"},{"rfilename":"model-00027-of-00048.safetensors"},{"rfilename":"model-00028-of-00048.safetensors"},{"rfilename":"model-00029-of-00048.safetensors"},{"rfilename":"model-00030-of-00048.safetensors"},{"rfilename":"model-00031-of-00048.safetensors"},{"rfilename":"model-00032-of-00048.safetensors"},{"rfilename":"model-00033-of-00048.safetensors"},{"rfilename":"model-00034-of-00048.safetensors"},{"rfilename":"model-00035-of-00048.safetensors"},{"rfilename":"model-00036-of-00048.safetensors"},{"rfilename":"model-00037-of-00048.safetensors"},{"rfilename":"model-00038-of-00048.safetensors"},{"rfilename":"model-00039-of-00048.safetensors"},{"rfilename":"model-00040-of-00048.safetensors"},{"rfilename":"model-00041-of-00048.safetensors"},{"rfilename":"model-00042-of-00048.safetensors"},{"rfilename":"model-00043-of-00048.safetensors"},{"rfilename":"model-00044-of-00048.safetensors"},{"rfilename":"model-00045-of-00048.safetensors"},{"rfilename":"model-00046-of-00048.safetensors"},{"rfilename":"model-00047-of-00048.safetensors"},{"rfilename":"model-00048-of-00048.safetensors"},{"rfilename":"model.safetensors.index.json"},{"rfilename":"special_tokens_map.json"},{"rfilename":"tokenizer.json"},{"rfilename":"tokenizer_config.json"}],"spaces":["CatoG/CG_AskPDF"],"createdAt":"2025-11-26T17:24:04.000Z","safetensors":{"parameters":{"F32":41003776,"BF16":1266147328,"F8_E4M3":105586098176},"total":106893249280},"usedStorage":108307511478}