CrowdMind/PrimeMind-0.8B
zetlyn/models-hf model hf CrowdMind/PrimeMind-0.8B known 2026-09-10
https://huggingface.co/CrowdMind/PrimeMind-0.8B
Properties
| author | CrowdMindreceipt
What the source handed over{
"_asked": "CrowdMind/PrimeMind-0.8B",
"_id": "6aa28adb942797ca667999d7",
"author": "CrowdMind",
"cardData": {
"base_model": "Qwen/Qwen3.5-0.8B",
"language": "en",
"library_name": "transformers",
"license": "apache-2.0",
"model_name": "PrimeMind-0.8B",
"tags": [
"reasoning",
"caveman",
"compressed-thinking",
"qwen3.5",
"lora",
"sft"
]
},
"config": {
"architectures": [
"Qwen3_5ForCausalLM"
],
"chat_template_jinja": "{%- set image_count = namespace(value=0) %}\r\n{%- set video_count = namespace(value=0) %}\r\n{%- macro render_content(content, do_vision_count, is_system_content=false) %}\r\n {%- if content is string %}\r\n {{- content }}\r\n {%- elif content is iterable and content is not mapping %}\r\n {%- for item in content %}\r\n {%- if 'image' in item or 'image_url' in item or item.type == 'image' %}\r\n {%- if is_system_content %}\r\n {{- raise_exception('System message cannot contain images.') }}\r\n {%- endif %}\r\n {%- if do_vision_count %}\r\n {%- set image_count.value = image_count.value + 1 %}\r\n {%- endif %}\r\n {%- if add_vision_id %}\r\n {{- 'Picture ' ~ image_count.value ~ ': ' }}\r\n {%- endif %}\r\n {{- '<|vision_start|><|image_pad|><|vision_end|>' }}\r\n {%- elif 'video' in item or item.type == 'video' %}\r\n {%- if is_system_content %}\r\n {{- raise_exception('System message cannot contain videos.') }}\r\n {%- endif %}\r\n {%- if do_vision_count %}\r\n {%- set video_count.value = video_count.value + 1 %}\r\n {%- endif %}\r\n {%- if add_vision_id %}\r\n {{- 'Video ' ~ video_count.value ~ ': ' }}\r\n {%- endif %}\r\n {{- '<|vision_start|><|video_pad|><|vision_end|>' }}\r\n {%- elif 'text' in item %}\r\n {{- item.text }}\r\n {%- else %}\r\n {{- raise_exception('Unexpected item type in content.') }}\r\n {%- endif %}\r\n {%- endfor %}\r\n {%- elif content is none or content is undefined %}\r\n {{- '' }}\r\n {%- else %}\r\n {{- raise_exception('Unexpected content type.') }}\r\n {%- endif %}\r\n{%- endmacro %}\r\n{%- if not messages %}\r\n {{- raise_exception('No messages provided.') }}\r\n{%- endif %}\r\n{%- if tools and tools is iterable and tools is not mapping %}\r\n {{- '<|im_start|>system\\n' }}\r\n {{- \"# Tools\\n\\nYou have access to the following functions:\\n\\n<tools>\" }}\r\n {%- for tool in tools %}\r\n {{- \"\\n\" }}\r\n {{- tool | tojson }}\r\n {%- endfor %}\r\n {{- \"\\n</tools>\" }}\r\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>' }}\r\n {%- if messages[0].role == 'system' %}\r\n {%- set content = render_content(messages[0].content, false, true)|trim %}\r\n {%- if content %}\r\n {{- '\\n\\n' + content }}\r\n {%- endif %}\r\n {%- endif %}\r\n {{- '<|im_end|>\\n' }}\r\n{%- else %}\r\n {%- if messages[0].role == 'system' %}\r\n {%- set content = render_content(messages[0].content, false, true)|trim %}\r\n {{- '<|im_start|>system\\n' + content + '<|im_end|>\\n' }}\r\n {%- endif %}\r\n{%- endif %}\r\n{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}\r\n{%- for message in messages[::-1] %}\r\n {%- set index = (messages|length - 1) - loop.index0 %}\r\n {%- if ns.multi_step_tool and message.role == \"user\" %}\r\n {%- set content = render_content(message.content, false)|trim %}\r\n {%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}\r\n {%- set ns.multi_step_tool = false %}\r\n {%- set ns.last_query_index = index %}\r\n {%- endif %}\r\n {%- endif %}\r\n{%- endfor %}\r\n{%- if ns.multi_step_tool %}\r\n {{- raise_exception('No user query found in messages.') }}\r\n{%- endif %}\r\n{%- for message in messages %}\r\n {%- set content = render_content(message.content, true)|trim %}\r\n {%- if message.role == \"system\" %}\r\n {%- if not loop.first %}\r\n {{- raise_exception('System message must be at the beginning.') }}\r\n {%- endif %}\r\n {%- elif message.role == \"user\" %}\r\n {{- '<|im_start|>' + message.role + '\\n' + content + '<|im_end|>' + '\\n' }}\r\n {%- elif message.role == \"assistant\" %}\r\n {%- set reasoning_content = '' %}\r\n {%- if message.reasoning_content is string %}\r\n {%- set reasoning_content = message.reasoning_content %}\r\n {%- else %}\r\n {%- if '</think>' in content %}\r\n {%- set reasoning_content = content.split('</think>')[0].rstrip('\\n').split('<think>')[-1].lstrip('\\n') %}\r\n {%- set content = content.split('</think>')[-1].lstrip('\\n') %}\r\n {%- endif %}\r\n {%- endif %}\r\n {%- set reasoning_content = reasoning_content|trim %}\r\n {%- if loop.index0 > ns.last_query_index %}\r\n {{- '<|im_start|>' + message.role + '\\n<think>\\n' + reasoning_content + '\\n</think>\\n\\n' + content }}\r\n {%- else %}\r\n {{- '<|im_start|>' + message.role + '\\n' + content }}\r\n {%- endif %}\r\n {%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}\r\n {%- for tool_call in message.tool_calls %}\r\n {%- if tool_call.function is defined %}\r\n {%- set tool_call = tool_call.function %}\r\n {%- endif %}\r\n {%- if loop.first %}\r\n {%- if content|trim %}\r\n {{- '\\n\\n<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\r\n {%- else %}\r\n {{- '<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\r\n {%- endif %}\r\n {%- else %}\r\n {{- '\\n<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\r\n {%- endif %}\r\n {%- if tool_call.arguments is defined %}\r\n {%- for args_name, args_value in tool_call.arguments|items %}\r\n {{- '<parameter=' + args_name + '>\\n' }}\r\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 %}\r\n {{- args_value }}\r\n {{- '\\n</parameter>\\n' }}\r\n {%- endfor %}\r\n {%- endif %}\r\n {{- '</function>\\n</tool_call>' }}\r\n {%- endfor %}\r\n {%- endif %}\r\n {{- '<|im_end|>\\n' }}\r\n {%- elif message.role == \"tool\" %}\r\n {%- if loop.previtem and loop.previtem.role != \"tool\" %}\r\n {{- '<|im_start|>user' }}\r\n {%- endif %}\r\n {{- '\\n<tool_response>\\n' }}\r\n {{- content }}\r\n {{- '\\n</tool_response>' }}\r\n {%- if not loop.last and loop.nextitem.role != \"tool\" %}\r\n {{- '<|im_end|>\\n' }}\r\n {%- elif loop.last %}\r\n {{- '<|im_end|>\\n' }}\r\n {%- endif %}\r\n {%- else %}\r\n {{- raise_exception('Unexpected message role.') }}\r\n {%- endif %}\r\n{%- endfor %}\r\n{%- if add_generation_prompt %}\r\n {{- '<|im_start|>assistant\\n' }}\r\n {%- if enable_thinking is defined and enable_thinking is true %}\r\n {{- '<think>\\n' }}\r\n {%- else %}\r\n {{- '<think>\\n\\n</think>\\n\\n' }}\r\n {%- endif %}\r\n{%- endif %}",
"model_type": "qwen3_5_text",
"tokenizer_config": {
"bos_token": null,
"eos_token": "<|im_end|>",
"pad_token": "<|endoftext|>",
"unk_token": null
}
},
"createdAt": "2026-09-10T10:47:55.000Z",
"disabled": false,
"downloads": 489,
"gated": false,
"id": "CrowdMind/PrimeMind-0.8B",
"lastModified": "2026-09-10T16:08:17.000Z",
"library_name": "transformers",
"likes": 2,
"model-index": null,
"modelId": "CrowdMind/PrimeMind-0.8B",
"pipeline_tag": "text-generation",
"private": false,
"safetensors": {
"parameters": {
"BF16": 752393024
},
"total": 752393024
},
"sha": "6f009b7d1e8f84d75bf9135a595cb2096756f2ba",
"siblings": [
{
"rfilename": ".gitattributes"
},
{
"rfilename": "README.md"
},
{
"rfilename": "chat_template.jinja"
},
{
"rfilename": "config.json"
},
{
"rfilename": "generation_config.json"
},
{
"rfilename": "model.safetensors"
},
{
"rfilename": "processor_config.json"
},
{
"rfilename": "tokenizer.json"
},
{
"rfilename": "tokenizer_config.json"
}
],
"spaces": [],
"tags": [
"transformers",
"safetensors",
"qwen3_5_text",
"text-generation",
"reasoning",
"caveman",
"compressed-thinking",
"qwen3.5",
"lora",
"sft",
"conversational",
"en",
"base_model:Qwen/Qwen3.5-0.8B",
"base_model:adapter:Qwen/Qwen3.5-0.8B",
"license:apache-2.0",
"endpoints_compatible",
"region:us"
],
"transformersInfo": {
"auto_model": "AutoModelForCausalLM",
"pipeline_tag": "text-generation",
"processor": "AutoTokenizer"
},
"usedStorage": 2368190851,
"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 | 489receipt
What the source handed over{
"_asked": "CrowdMind/PrimeMind-0.8B",
"_id": "6aa28adb942797ca667999d7",
"author": "CrowdMind",
"cardData": {
"base_model": "Qwen/Qwen3.5-0.8B",
"language": "en",
"library_name": "transformers",
"license": "apache-2.0",
"model_name": "PrimeMind-0.8B",
"tags": [
"reasoning",
"caveman",
"compressed-thinking",
"qwen3.5",
"lora",
"sft"
]
},
"config": {
"architectures": [
"Qwen3_5ForCausalLM"
],
"chat_template_jinja": "{%- set image_count = namespace(value=0) %}\r\n{%- set video_count = namespace(value=0) %}\r\n{%- macro render_content(content, do_vision_count, is_system_content=false) %}\r\n {%- if content is string %}\r\n {{- content }}\r\n {%- elif content is iterable and content is not mapping %}\r\n {%- for item in content %}\r\n {%- if 'image' in item or 'image_url' in item or item.type == 'image' %}\r\n {%- if is_system_content %}\r\n {{- raise_exception('System message cannot contain images.') }}\r\n {%- endif %}\r\n {%- if do_vision_count %}\r\n {%- set image_count.value = image_count.value + 1 %}\r\n {%- endif %}\r\n {%- if add_vision_id %}\r\n {{- 'Picture ' ~ image_count.value ~ ': ' }}\r\n {%- endif %}\r\n {{- '<|vision_start|><|image_pad|><|vision_end|>' }}\r\n {%- elif 'video' in item or item.type == 'video' %}\r\n {%- if is_system_content %}\r\n {{- raise_exception('System message cannot contain videos.') }}\r\n {%- endif %}\r\n {%- if do_vision_count %}\r\n {%- set video_count.value = video_count.value + 1 %}\r\n {%- endif %}\r\n {%- if add_vision_id %}\r\n {{- 'Video ' ~ video_count.value ~ ': ' }}\r\n {%- endif %}\r\n {{- '<|vision_start|><|video_pad|><|vision_end|>' }}\r\n {%- elif 'text' in item %}\r\n {{- item.text }}\r\n {%- else %}\r\n {{- raise_exception('Unexpected item type in content.') }}\r\n {%- endif %}\r\n {%- endfor %}\r\n {%- elif content is none or content is undefined %}\r\n {{- '' }}\r\n {%- else %}\r\n {{- raise_exception('Unexpected content type.') }}\r\n {%- endif %}\r\n{%- endmacro %}\r\n{%- if not messages %}\r\n {{- raise_exception('No messages provided.') }}\r\n{%- endif %}\r\n{%- if tools and tools is iterable and tools is not mapping %}\r\n {{- '<|im_start|>system\\n' }}\r\n {{- \"# Tools\\n\\nYou have access to the following functions:\\n\\n<tools>\" }}\r\n {%- for tool in tools %}\r\n {{- \"\\n\" }}\r\n {{- tool | tojson }}\r\n {%- endfor %}\r\n {{- \"\\n</tools>\" }}\r\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>' }}\r\n {%- if messages[0].role == 'system' %}\r\n {%- set content = render_content(messages[0].content, false, true)|trim %}\r\n {%- if content %}\r\n {{- '\\n\\n' + content }}\r\n {%- endif %}\r\n {%- endif %}\r\n {{- '<|im_end|>\\n' }}\r\n{%- else %}\r\n {%- if messages[0].role == 'system' %}\r\n {%- set content = render_content(messages[0].content, false, true)|trim %}\r\n {{- '<|im_start|>system\\n' + content + '<|im_end|>\\n' }}\r\n {%- endif %}\r\n{%- endif %}\r\n{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}\r\n{%- for message in messages[::-1] %}\r\n {%- set index = (messages|length - 1) - loop.index0 %}\r\n {%- if ns.multi_step_tool and message.role == \"user\" %}\r\n {%- set content = render_content(message.content, false)|trim %}\r\n {%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}\r\n {%- set ns.multi_step_tool = false %}\r\n {%- set ns.last_query_index = index %}\r\n {%- endif %}\r\n {%- endif %}\r\n{%- endfor %}\r\n{%- if ns.multi_step_tool %}\r\n {{- raise_exception('No user query found in messages.') }}\r\n{%- endif %}\r\n{%- for message in messages %}\r\n {%- set content = render_content(message.content, true)|trim %}\r\n {%- if message.role == \"system\" %}\r\n {%- if not loop.first %}\r\n {{- raise_exception('System message must be at the beginning.') }}\r\n {%- endif %}\r\n {%- elif message.role == \"user\" %}\r\n {{- '<|im_start|>' + message.role + '\\n' + content + '<|im_end|>' + '\\n' }}\r\n {%- elif message.role == \"assistant\" %}\r\n {%- set reasoning_content = '' %}\r\n {%- if message.reasoning_content is string %}\r\n {%- set reasoning_content = message.reasoning_content %}\r\n {%- else %}\r\n {%- if '</think>' in content %}\r\n {%- set reasoning_content = content.split('</think>')[0].rstrip('\\n').split('<think>')[-1].lstrip('\\n') %}\r\n {%- set content = content.split('</think>')[-1].lstrip('\\n') %}\r\n {%- endif %}\r\n {%- endif %}\r\n {%- set reasoning_content = reasoning_content|trim %}\r\n {%- if loop.index0 > ns.last_query_index %}\r\n {{- '<|im_start|>' + message.role + '\\n<think>\\n' + reasoning_content + '\\n</think>\\n\\n' + content }}\r\n {%- else %}\r\n {{- '<|im_start|>' + message.role + '\\n' + content }}\r\n {%- endif %}\r\n {%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}\r\n {%- for tool_call in message.tool_calls %}\r\n {%- if tool_call.function is defined %}\r\n {%- set tool_call = tool_call.function %}\r\n {%- endif %}\r\n {%- if loop.first %}\r\n {%- if content|trim %}\r\n {{- '\\n\\n<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\r\n {%- else %}\r\n {{- '<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\r\n {%- endif %}\r\n {%- else %}\r\n {{- '\\n<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\r\n {%- endif %}\r\n {%- if tool_call.arguments is defined %}\r\n {%- for args_name, args_value in tool_call.arguments|items %}\r\n {{- '<parameter=' + args_name + '>\\n' }}\r\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 %}\r\n {{- args_value }}\r\n {{- '\\n</parameter>\\n' }}\r\n {%- endfor %}\r\n {%- endif %}\r\n {{- '</function>\\n</tool_call>' }}\r\n {%- endfor %}\r\n {%- endif %}\r\n {{- '<|im_end|>\\n' }}\r\n {%- elif message.role == \"tool\" %}\r\n {%- if loop.previtem and loop.previtem.role != \"tool\" %}\r\n {{- '<|im_start|>user' }}\r\n {%- endif %}\r\n {{- '\\n<tool_response>\\n' }}\r\n {{- content }}\r\n {{- '\\n</tool_response>' }}\r\n {%- if not loop.last and loop.nextitem.role != \"tool\" %}\r\n {{- '<|im_end|>\\n' }}\r\n {%- elif loop.last %}\r\n {{- '<|im_end|>\\n' }}\r\n {%- endif %}\r\n {%- else %}\r\n {{- raise_exception('Unexpected message role.') }}\r\n {%- endif %}\r\n{%- endfor %}\r\n{%- if add_generation_prompt %}\r\n {{- '<|im_start|>assistant\\n' }}\r\n {%- if enable_thinking is defined and enable_thinking is true %}\r\n {{- '<think>\\n' }}\r\n {%- else %}\r\n {{- '<think>\\n\\n</think>\\n\\n' }}\r\n {%- endif %}\r\n{%- endif %}",
"model_type": "qwen3_5_text",
"tokenizer_config": {
"bos_token": null,
"eos_token": "<|im_end|>",
"pad_token": "<|endoftext|>",
"unk_token": null
}
},
"createdAt": "2026-09-10T10:47:55.000Z",
"disabled": false,
"downloads": 489,
"gated": false,
"id": "CrowdMind/PrimeMind-0.8B",
"lastModified": "2026-09-10T16:08:17.000Z",
"library_name": "transformers",
"likes": 2,
"model-index": null,
"modelId": "CrowdMind/PrimeMind-0.8B",
"pipeline_tag": "text-generation",
"private": false,
"safetensors": {
"parameters": {
"BF16": 752393024
},
"total": 752393024
},
"sha": "6f009b7d1e8f84d75bf9135a595cb2096756f2ba",
"siblings": [
{
"rfilename": ".gitattributes"
},
{
"rfilename": "README.md"
},
{
"rfilename": "chat_template.jinja"
},
{
"rfilename": "config.json"
},
{
"rfilename": "generation_config.json"
},
{
"rfilename": "model.safetensors"
},
{
"rfilename": "processor_config.json"
},
{
"rfilename": "tokenizer.json"
},
{
"rfilename": "tokenizer_config.json"
}
],
"spaces": [],
"tags": [
"transformers",
"safetensors",
"qwen3_5_text",
"text-generation",
"reasoning",
"caveman",
"compressed-thinking",
"qwen3.5",
"lora",
"sft",
"conversational",
"en",
"base_model:Qwen/Qwen3.5-0.8B",
"base_model:adapter:Qwen/Qwen3.5-0.8B",
"license:apache-2.0",
"endpoints_compatible",
"region:us"
],
"transformersInfo": {
"auto_model": "AutoModelForCausalLM",
"pipeline_tag": "text-generation",
"processor": "AutoTokenizer"
},
"usedStorage": 2368190851,
"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": "CrowdMind/PrimeMind-0.8B",
"_id": "6aa28adb942797ca667999d7",
"author": "CrowdMind",
"cardData": {
"base_model": "Qwen/Qwen3.5-0.8B",
"language": "en",
"library_name": "transformers",
"license": "apache-2.0",
"model_name": "PrimeMind-0.8B",
"tags": [
"reasoning",
"caveman",
"compressed-thinking",
"qwen3.5",
"lora",
"sft"
]
},
"config": {
"architectures": [
"Qwen3_5ForCausalLM"
],
"chat_template_jinja": "{%- set image_count = namespace(value=0) %}\r\n{%- set video_count = namespace(value=0) %}\r\n{%- macro render_content(content, do_vision_count, is_system_content=false) %}\r\n {%- if content is string %}\r\n {{- content }}\r\n {%- elif content is iterable and content is not mapping %}\r\n {%- for item in content %}\r\n {%- if 'image' in item or 'image_url' in item or item.type == 'image' %}\r\n {%- if is_system_content %}\r\n {{- raise_exception('System message cannot contain images.') }}\r\n {%- endif %}\r\n {%- if do_vision_count %}\r\n {%- set image_count.value = image_count.value + 1 %}\r\n {%- endif %}\r\n {%- if add_vision_id %}\r\n {{- 'Picture ' ~ image_count.value ~ ': ' }}\r\n {%- endif %}\r\n {{- '<|vision_start|><|image_pad|><|vision_end|>' }}\r\n {%- elif 'video' in item or item.type == 'video' %}\r\n {%- if is_system_content %}\r\n {{- raise_exception('System message cannot contain videos.') }}\r\n {%- endif %}\r\n {%- if do_vision_count %}\r\n {%- set video_count.value = video_count.value + 1 %}\r\n {%- endif %}\r\n {%- if add_vision_id %}\r\n {{- 'Video ' ~ video_count.value ~ ': ' }}\r\n {%- endif %}\r\n {{- '<|vision_start|><|video_pad|><|vision_end|>' }}\r\n {%- elif 'text' in item %}\r\n {{- item.text }}\r\n {%- else %}\r\n {{- raise_exception('Unexpected item type in content.') }}\r\n {%- endif %}\r\n {%- endfor %}\r\n {%- elif content is none or content is undefined %}\r\n {{- '' }}\r\n {%- else %}\r\n {{- raise_exception('Unexpected content type.') }}\r\n {%- endif %}\r\n{%- endmacro %}\r\n{%- if not messages %}\r\n {{- raise_exception('No messages provided.') }}\r\n{%- endif %}\r\n{%- if tools and tools is iterable and tools is not mapping %}\r\n {{- '<|im_start|>system\\n' }}\r\n {{- \"# Tools\\n\\nYou have access to the following functions:\\n\\n<tools>\" }}\r\n {%- for tool in tools %}\r\n {{- \"\\n\" }}\r\n {{- tool | tojson }}\r\n {%- endfor %}\r\n {{- \"\\n</tools>\" }}\r\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>' }}\r\n {%- if messages[0].role == 'system' %}\r\n {%- set content = render_content(messages[0].content, false, true)|trim %}\r\n {%- if content %}\r\n {{- '\\n\\n' + content }}\r\n {%- endif %}\r\n {%- endif %}\r\n {{- '<|im_end|>\\n' }}\r\n{%- else %}\r\n {%- if messages[0].role == 'system' %}\r\n {%- set content = render_content(messages[0].content, false, true)|trim %}\r\n {{- '<|im_start|>system\\n' + content + '<|im_end|>\\n' }}\r\n {%- endif %}\r\n{%- endif %}\r\n{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}\r\n{%- for message in messages[::-1] %}\r\n {%- set index = (messages|length - 1) - loop.index0 %}\r\n {%- if ns.multi_step_tool and message.role == \"user\" %}\r\n {%- set content = render_content(message.content, false)|trim %}\r\n {%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}\r\n {%- set ns.multi_step_tool = false %}\r\n {%- set ns.last_query_index = index %}\r\n {%- endif %}\r\n {%- endif %}\r\n{%- endfor %}\r\n{%- if ns.multi_step_tool %}\r\n {{- raise_exception('No user query found in messages.') }}\r\n{%- endif %}\r\n{%- for message in messages %}\r\n {%- set content = render_content(message.content, true)|trim %}\r\n {%- if message.role == \"system\" %}\r\n {%- if not loop.first %}\r\n {{- raise_exception('System message must be at the beginning.') }}\r\n {%- endif %}\r\n {%- elif message.role == \"user\" %}\r\n {{- '<|im_start|>' + message.role + '\\n' + content + '<|im_end|>' + '\\n' }}\r\n {%- elif message.role == \"assistant\" %}\r\n {%- set reasoning_content = '' %}\r\n {%- if message.reasoning_content is string %}\r\n {%- set reasoning_content = message.reasoning_content %}\r\n {%- else %}\r\n {%- if '</think>' in content %}\r\n {%- set reasoning_content = content.split('</think>')[0].rstrip('\\n').split('<think>')[-1].lstrip('\\n') %}\r\n {%- set content = content.split('</think>')[-1].lstrip('\\n') %}\r\n {%- endif %}\r\n {%- endif %}\r\n {%- set reasoning_content = reasoning_content|trim %}\r\n {%- if loop.index0 > ns.last_query_index %}\r\n {{- '<|im_start|>' + message.role + '\\n<think>\\n' + reasoning_content + '\\n</think>\\n\\n' + content }}\r\n {%- else %}\r\n {{- '<|im_start|>' + message.role + '\\n' + content }}\r\n {%- endif %}\r\n {%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}\r\n {%- for tool_call in message.tool_calls %}\r\n {%- if tool_call.function is defined %}\r\n {%- set tool_call = tool_call.function %}\r\n {%- endif %}\r\n {%- if loop.first %}\r\n {%- if content|trim %}\r\n {{- '\\n\\n<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\r\n {%- else %}\r\n {{- '<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\r\n {%- endif %}\r\n {%- else %}\r\n {{- '\\n<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\r\n {%- endif %}\r\n {%- if tool_call.arguments is defined %}\r\n {%- for args_name, args_value in tool_call.arguments|items %}\r\n {{- '<parameter=' + args_name + '>\\n' }}\r\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 %}\r\n {{- args_value }}\r\n {{- '\\n</parameter>\\n' }}\r\n {%- endfor %}\r\n {%- endif %}\r\n {{- '</function>\\n</tool_call>' }}\r\n {%- endfor %}\r\n {%- endif %}\r\n {{- '<|im_end|>\\n' }}\r\n {%- elif message.role == \"tool\" %}\r\n {%- if loop.previtem and loop.previtem.role != \"tool\" %}\r\n {{- '<|im_start|>user' }}\r\n {%- endif %}\r\n {{- '\\n<tool_response>\\n' }}\r\n {{- content }}\r\n {{- '\\n</tool_response>' }}\r\n {%- if not loop.last and loop.nextitem.role != \"tool\" %}\r\n {{- '<|im_end|>\\n' }}\r\n {%- elif loop.last %}\r\n {{- '<|im_end|>\\n' }}\r\n {%- endif %}\r\n {%- else %}\r\n {{- raise_exception('Unexpected message role.') }}\r\n {%- endif %}\r\n{%- endfor %}\r\n{%- if add_generation_prompt %}\r\n {{- '<|im_start|>assistant\\n' }}\r\n {%- if enable_thinking is defined and enable_thinking is true %}\r\n {{- '<think>\\n' }}\r\n {%- else %}\r\n {{- '<think>\\n\\n</think>\\n\\n' }}\r\n {%- endif %}\r\n{%- endif %}",
"model_type": "qwen3_5_text",
"tokenizer_config": {
"bos_token": null,
"eos_token": "<|im_end|>",
"pad_token": "<|endoftext|>",
"unk_token": null
}
},
"createdAt": "2026-09-10T10:47:55.000Z",
"disabled": false,
"downloads": 489,
"gated": false,
"id": "CrowdMind/PrimeMind-0.8B",
"lastModified": "2026-09-10T16:08:17.000Z",
"library_name": "transformers",
"likes": 2,
"model-index": null,
"modelId": "CrowdMind/PrimeMind-0.8B",
"pipeline_tag": "text-generation",
"private": false,
"safetensors": {
"parameters": {
"BF16": 752393024
},
"total": 752393024
},
"sha": "6f009b7d1e8f84d75bf9135a595cb2096756f2ba",
"siblings": [
{
"rfilename": ".gitattributes"
},
{
"rfilename": "README.md"
},
{
"rfilename": "chat_template.jinja"
},
{
"rfilename": "config.json"
},
{
"rfilename": "generation_config.json"
},
{
"rfilename": "model.safetensors"
},
{
"rfilename": "processor_config.json"
},
{
"rfilename": "tokenizer.json"
},
{
"rfilename": "tokenizer_config.json"
}
],
"spaces": [],
"tags": [
"transformers",
"safetensors",
"qwen3_5_text",
"text-generation",
"reasoning",
"caveman",
"compressed-thinking",
"qwen3.5",
"lora",
"sft",
"conversational",
"en",
"base_model:Qwen/Qwen3.5-0.8B",
"base_model:adapter:Qwen/Qwen3.5-0.8B",
"license:apache-2.0",
"endpoints_compatible",
"region:us"
],
"transformersInfo": {
"auto_model": "AutoModelForCausalLM",
"pipeline_tag": "text-generation",
"processor": "AutoTokenizer"
},
"usedStorage": 2368190851,
"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": "CrowdMind/PrimeMind-0.8B",
"_id": "6aa28adb942797ca667999d7",
"author": "CrowdMind",
"cardData": {
"base_model": "Qwen/Qwen3.5-0.8B",
"language": "en",
"library_name": "transformers",
"license": "apache-2.0",
"model_name": "PrimeMind-0.8B",
"tags": [
"reasoning",
"caveman",
"compressed-thinking",
"qwen3.5",
"lora",
"sft"
]
},
"config": {
"architectures": [
"Qwen3_5ForCausalLM"
],
"chat_template_jinja": "{%- set image_count = namespace(value=0) %}\r\n{%- set video_count = namespace(value=0) %}\r\n{%- macro render_content(content, do_vision_count, is_system_content=false) %}\r\n {%- if content is string %}\r\n {{- content }}\r\n {%- elif content is iterable and content is not mapping %}\r\n {%- for item in content %}\r\n {%- if 'image' in item or 'image_url' in item or item.type == 'image' %}\r\n {%- if is_system_content %}\r\n {{- raise_exception('System message cannot contain images.') }}\r\n {%- endif %}\r\n {%- if do_vision_count %}\r\n {%- set image_count.value = image_count.value + 1 %}\r\n {%- endif %}\r\n {%- if add_vision_id %}\r\n {{- 'Picture ' ~ image_count.value ~ ': ' }}\r\n {%- endif %}\r\n {{- '<|vision_start|><|image_pad|><|vision_end|>' }}\r\n {%- elif 'video' in item or item.type == 'video' %}\r\n {%- if is_system_content %}\r\n {{- raise_exception('System message cannot contain videos.') }}\r\n {%- endif %}\r\n {%- if do_vision_count %}\r\n {%- set video_count.value = video_count.value + 1 %}\r\n {%- endif %}\r\n {%- if add_vision_id %}\r\n {{- 'Video ' ~ video_count.value ~ ': ' }}\r\n {%- endif %}\r\n {{- '<|vision_start|><|video_pad|><|vision_end|>' }}\r\n {%- elif 'text' in item %}\r\n {{- item.text }}\r\n {%- else %}\r\n {{- raise_exception('Unexpected item type in content.') }}\r\n {%- endif %}\r\n {%- endfor %}\r\n {%- elif content is none or content is undefined %}\r\n {{- '' }}\r\n {%- else %}\r\n {{- raise_exception('Unexpected content type.') }}\r\n {%- endif %}\r\n{%- endmacro %}\r\n{%- if not messages %}\r\n {{- raise_exception('No messages provided.') }}\r\n{%- endif %}\r\n{%- if tools and tools is iterable and tools is not mapping %}\r\n {{- '<|im_start|>system\\n' }}\r\n {{- \"# Tools\\n\\nYou have access to the following functions:\\n\\n<tools>\" }}\r\n {%- for tool in tools %}\r\n {{- \"\\n\" }}\r\n {{- tool | tojson }}\r\n {%- endfor %}\r\n {{- \"\\n</tools>\" }}\r\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>' }}\r\n {%- if messages[0].role == 'system' %}\r\n {%- set content = render_content(messages[0].content, false, true)|trim %}\r\n {%- if content %}\r\n {{- '\\n\\n' + content }}\r\n {%- endif %}\r\n {%- endif %}\r\n {{- '<|im_end|>\\n' }}\r\n{%- else %}\r\n {%- if messages[0].role == 'system' %}\r\n {%- set content = render_content(messages[0].content, false, true)|trim %}\r\n {{- '<|im_start|>system\\n' + content + '<|im_end|>\\n' }}\r\n {%- endif %}\r\n{%- endif %}\r\n{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}\r\n{%- for message in messages[::-1] %}\r\n {%- set index = (messages|length - 1) - loop.index0 %}\r\n {%- if ns.multi_step_tool and message.role == \"user\" %}\r\n {%- set content = render_content(message.content, false)|trim %}\r\n {%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}\r\n {%- set ns.multi_step_tool = false %}\r\n {%- set ns.last_query_index = index %}\r\n {%- endif %}\r\n {%- endif %}\r\n{%- endfor %}\r\n{%- if ns.multi_step_tool %}\r\n {{- raise_exception('No user query found in messages.') }}\r\n{%- endif %}\r\n{%- for message in messages %}\r\n {%- set content = render_content(message.content, true)|trim %}\r\n {%- if message.role == \"system\" %}\r\n {%- if not loop.first %}\r\n {{- raise_exception('System message must be at the beginning.') }}\r\n {%- endif %}\r\n {%- elif message.role == \"user\" %}\r\n {{- '<|im_start|>' + message.role + '\\n' + content + '<|im_end|>' + '\\n' }}\r\n {%- elif message.role == \"assistant\" %}\r\n {%- set reasoning_content = '' %}\r\n {%- if message.reasoning_content is string %}\r\n {%- set reasoning_content = message.reasoning_content %}\r\n {%- else %}\r\n {%- if '</think>' in content %}\r\n {%- set reasoning_content = content.split('</think>')[0].rstrip('\\n').split('<think>')[-1].lstrip('\\n') %}\r\n {%- set content = content.split('</think>')[-1].lstrip('\\n') %}\r\n {%- endif %}\r\n {%- endif %}\r\n {%- set reasoning_content = reasoning_content|trim %}\r\n {%- if loop.index0 > ns.last_query_index %}\r\n {{- '<|im_start|>' + message.role + '\\n<think>\\n' + reasoning_content + '\\n</think>\\n\\n' + content }}\r\n {%- else %}\r\n {{- '<|im_start|>' + message.role + '\\n' + content }}\r\n {%- endif %}\r\n {%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}\r\n {%- for tool_call in message.tool_calls %}\r\n {%- if tool_call.function is defined %}\r\n {%- set tool_call = tool_call.function %}\r\n {%- endif %}\r\n {%- if loop.first %}\r\n {%- if content|trim %}\r\n {{- '\\n\\n<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\r\n {%- else %}\r\n {{- '<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\r\n {%- endif %}\r\n {%- else %}\r\n {{- '\\n<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\r\n {%- endif %}\r\n {%- if tool_call.arguments is defined %}\r\n {%- for args_name, args_value in tool_call.arguments|items %}\r\n {{- '<parameter=' + args_name + '>\\n' }}\r\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 %}\r\n {{- args_value }}\r\n {{- '\\n</parameter>\\n' }}\r\n {%- endfor %}\r\n {%- endif %}\r\n {{- '</function>\\n</tool_call>' }}\r\n {%- endfor %}\r\n {%- endif %}\r\n {{- '<|im_end|>\\n' }}\r\n {%- elif message.role == \"tool\" %}\r\n {%- if loop.previtem and loop.previtem.role != \"tool\" %}\r\n {{- '<|im_start|>user' }}\r\n {%- endif %}\r\n {{- '\\n<tool_response>\\n' }}\r\n {{- content }}\r\n {{- '\\n</tool_response>' }}\r\n {%- if not loop.last and loop.nextitem.role != \"tool\" %}\r\n {{- '<|im_end|>\\n' }}\r\n {%- elif loop.last %}\r\n {{- '<|im_end|>\\n' }}\r\n {%- endif %}\r\n {%- else %}\r\n {{- raise_exception('Unexpected message role.') }}\r\n {%- endif %}\r\n{%- endfor %}\r\n{%- if add_generation_prompt %}\r\n {{- '<|im_start|>assistant\\n' }}\r\n {%- if enable_thinking is defined and enable_thinking is true %}\r\n {{- '<think>\\n' }}\r\n {%- else %}\r\n {{- '<think>\\n\\n</think>\\n\\n' }}\r\n {%- endif %}\r\n{%- endif %}",
"model_type": "qwen3_5_text",
"tokenizer_config": {
"bos_token": null,
"eos_token": "<|im_end|>",
"pad_token": "<|endoftext|>",
"unk_token": null
}
},
"createdAt": "2026-09-10T10:47:55.000Z",
"disabled": false,
"downloads": 489,
"gated": false,
"id": "CrowdMind/PrimeMind-0.8B",
"lastModified": "2026-09-10T16:08:17.000Z",
"library_name": "transformers",
"likes": 2,
"model-index": null,
"modelId": "CrowdMind/PrimeMind-0.8B",
"pipeline_tag": "text-generation",
"private": false,
"safetensors": {
"parameters": {
"BF16": 752393024
},
"total": 752393024
},
"sha": "6f009b7d1e8f84d75bf9135a595cb2096756f2ba",
"siblings": [
{
"rfilename": ".gitattributes"
},
{
"rfilename": "README.md"
},
{
"rfilename": "chat_template.jinja"
},
{
"rfilename": "config.json"
},
{
"rfilename": "generation_config.json"
},
{
"rfilename": "model.safetensors"
},
{
"rfilename": "processor_config.json"
},
{
"rfilename": "tokenizer.json"
},
{
"rfilename": "tokenizer_config.json"
}
],
"spaces": [],
"tags": [
"transformers",
"safetensors",
"qwen3_5_text",
"text-generation",
"reasoning",
"caveman",
"compressed-thinking",
"qwen3.5",
"lora",
"sft",
"conversational",
"en",
"base_model:Qwen/Qwen3.5-0.8B",
"base_model:adapter:Qwen/Qwen3.5-0.8B",
"license:apache-2.0",
"endpoints_compatible",
"region:us"
],
"transformersInfo": {
"auto_model": "AutoModelForCausalLM",
"pipeline_tag": "text-generation",
"processor": "AutoTokenizer"
},
"usedStorage": 2368190851,
"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 | 2receipt
What the source handed over{
"_asked": "CrowdMind/PrimeMind-0.8B",
"_id": "6aa28adb942797ca667999d7",
"author": "CrowdMind",
"cardData": {
"base_model": "Qwen/Qwen3.5-0.8B",
"language": "en",
"library_name": "transformers",
"license": "apache-2.0",
"model_name": "PrimeMind-0.8B",
"tags": [
"reasoning",
"caveman",
"compressed-thinking",
"qwen3.5",
"lora",
"sft"
]
},
"config": {
"architectures": [
"Qwen3_5ForCausalLM"
],
"chat_template_jinja": "{%- set image_count = namespace(value=0) %}\r\n{%- set video_count = namespace(value=0) %}\r\n{%- macro render_content(content, do_vision_count, is_system_content=false) %}\r\n {%- if content is string %}\r\n {{- content }}\r\n {%- elif content is iterable and content is not mapping %}\r\n {%- for item in content %}\r\n {%- if 'image' in item or 'image_url' in item or item.type == 'image' %}\r\n {%- if is_system_content %}\r\n {{- raise_exception('System message cannot contain images.') }}\r\n {%- endif %}\r\n {%- if do_vision_count %}\r\n {%- set image_count.value = image_count.value + 1 %}\r\n {%- endif %}\r\n {%- if add_vision_id %}\r\n {{- 'Picture ' ~ image_count.value ~ ': ' }}\r\n {%- endif %}\r\n {{- '<|vision_start|><|image_pad|><|vision_end|>' }}\r\n {%- elif 'video' in item or item.type == 'video' %}\r\n {%- if is_system_content %}\r\n {{- raise_exception('System message cannot contain videos.') }}\r\n {%- endif %}\r\n {%- if do_vision_count %}\r\n {%- set video_count.value = video_count.value + 1 %}\r\n {%- endif %}\r\n {%- if add_vision_id %}\r\n {{- 'Video ' ~ video_count.value ~ ': ' }}\r\n {%- endif %}\r\n {{- '<|vision_start|><|video_pad|><|vision_end|>' }}\r\n {%- elif 'text' in item %}\r\n {{- item.text }}\r\n {%- else %}\r\n {{- raise_exception('Unexpected item type in content.') }}\r\n {%- endif %}\r\n {%- endfor %}\r\n {%- elif content is none or content is undefined %}\r\n {{- '' }}\r\n {%- else %}\r\n {{- raise_exception('Unexpected content type.') }}\r\n {%- endif %}\r\n{%- endmacro %}\r\n{%- if not messages %}\r\n {{- raise_exception('No messages provided.') }}\r\n{%- endif %}\r\n{%- if tools and tools is iterable and tools is not mapping %}\r\n {{- '<|im_start|>system\\n' }}\r\n {{- \"# Tools\\n\\nYou have access to the following functions:\\n\\n<tools>\" }}\r\n {%- for tool in tools %}\r\n {{- \"\\n\" }}\r\n {{- tool | tojson }}\r\n {%- endfor %}\r\n {{- \"\\n</tools>\" }}\r\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>' }}\r\n {%- if messages[0].role == 'system' %}\r\n {%- set content = render_content(messages[0].content, false, true)|trim %}\r\n {%- if content %}\r\n {{- '\\n\\n' + content }}\r\n {%- endif %}\r\n {%- endif %}\r\n {{- '<|im_end|>\\n' }}\r\n{%- else %}\r\n {%- if messages[0].role == 'system' %}\r\n {%- set content = render_content(messages[0].content, false, true)|trim %}\r\n {{- '<|im_start|>system\\n' + content + '<|im_end|>\\n' }}\r\n {%- endif %}\r\n{%- endif %}\r\n{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}\r\n{%- for message in messages[::-1] %}\r\n {%- set index = (messages|length - 1) - loop.index0 %}\r\n {%- if ns.multi_step_tool and message.role == \"user\" %}\r\n {%- set content = render_content(message.content, false)|trim %}\r\n {%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}\r\n {%- set ns.multi_step_tool = false %}\r\n {%- set ns.last_query_index = index %}\r\n {%- endif %}\r\n {%- endif %}\r\n{%- endfor %}\r\n{%- if ns.multi_step_tool %}\r\n {{- raise_exception('No user query found in messages.') }}\r\n{%- endif %}\r\n{%- for message in messages %}\r\n {%- set content = render_content(message.content, true)|trim %}\r\n {%- if message.role == \"system\" %}\r\n {%- if not loop.first %}\r\n {{- raise_exception('System message must be at the beginning.') }}\r\n {%- endif %}\r\n {%- elif message.role == \"user\" %}\r\n {{- '<|im_start|>' + message.role + '\\n' + content + '<|im_end|>' + '\\n' }}\r\n {%- elif message.role == \"assistant\" %}\r\n {%- set reasoning_content = '' %}\r\n {%- if message.reasoning_content is string %}\r\n {%- set reasoning_content = message.reasoning_content %}\r\n {%- else %}\r\n {%- if '</think>' in content %}\r\n {%- set reasoning_content = content.split('</think>')[0].rstrip('\\n').split('<think>')[-1].lstrip('\\n') %}\r\n {%- set content = content.split('</think>')[-1].lstrip('\\n') %}\r\n {%- endif %}\r\n {%- endif %}\r\n {%- set reasoning_content = reasoning_content|trim %}\r\n {%- if loop.index0 > ns.last_query_index %}\r\n {{- '<|im_start|>' + message.role + '\\n<think>\\n' + reasoning_content + '\\n</think>\\n\\n' + content }}\r\n {%- else %}\r\n {{- '<|im_start|>' + message.role + '\\n' + content }}\r\n {%- endif %}\r\n {%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}\r\n {%- for tool_call in message.tool_calls %}\r\n {%- if tool_call.function is defined %}\r\n {%- set tool_call = tool_call.function %}\r\n {%- endif %}\r\n {%- if loop.first %}\r\n {%- if content|trim %}\r\n {{- '\\n\\n<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\r\n {%- else %}\r\n {{- '<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\r\n {%- endif %}\r\n {%- else %}\r\n {{- '\\n<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\r\n {%- endif %}\r\n {%- if tool_call.arguments is defined %}\r\n {%- for args_name, args_value in tool_call.arguments|items %}\r\n {{- '<parameter=' + args_name + '>\\n' }}\r\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 %}\r\n {{- args_value }}\r\n {{- '\\n</parameter>\\n' }}\r\n {%- endfor %}\r\n {%- endif %}\r\n {{- '</function>\\n</tool_call>' }}\r\n {%- endfor %}\r\n {%- endif %}\r\n {{- '<|im_end|>\\n' }}\r\n {%- elif message.role == \"tool\" %}\r\n {%- if loop.previtem and loop.previtem.role != \"tool\" %}\r\n {{- '<|im_start|>user' }}\r\n {%- endif %}\r\n {{- '\\n<tool_response>\\n' }}\r\n {{- content }}\r\n {{- '\\n</tool_response>' }}\r\n {%- if not loop.last and loop.nextitem.role != \"tool\" %}\r\n {{- '<|im_end|>\\n' }}\r\n {%- elif loop.last %}\r\n {{- '<|im_end|>\\n' }}\r\n {%- endif %}\r\n {%- else %}\r\n {{- raise_exception('Unexpected message role.') }}\r\n {%- endif %}\r\n{%- endfor %}\r\n{%- if add_generation_prompt %}\r\n {{- '<|im_start|>assistant\\n' }}\r\n {%- if enable_thinking is defined and enable_thinking is true %}\r\n {{- '<think>\\n' }}\r\n {%- else %}\r\n {{- '<think>\\n\\n</think>\\n\\n' }}\r\n {%- endif %}\r\n{%- endif %}",
"model_type": "qwen3_5_text",
"tokenizer_config": {
"bos_token": null,
"eos_token": "<|im_end|>",
"pad_token": "<|endoftext|>",
"unk_token": null
}
},
"createdAt": "2026-09-10T10:47:55.000Z",
"disabled": false,
"downloads": 489,
"gated": false,
"id": "CrowdMind/PrimeMind-0.8B",
"lastModified": "2026-09-10T16:08:17.000Z",
"library_name": "transformers",
"likes": 2,
"model-index": null,
"modelId": "CrowdMind/PrimeMind-0.8B",
"pipeline_tag": "text-generation",
"private": false,
"safetensors": {
"parameters": {
"BF16": 752393024
},
"total": 752393024
},
"sha": "6f009b7d1e8f84d75bf9135a595cb2096756f2ba",
"siblings": [
{
"rfilename": ".gitattributes"
},
{
"rfilename": "README.md"
},
{
"rfilename": "chat_template.jinja"
},
{
"rfilename": "config.json"
},
{
"rfilename": "generation_config.json"
},
{
"rfilename": "model.safetensors"
},
{
"rfilename": "processor_config.json"
},
{
"rfilename": "tokenizer.json"
},
{
"rfilename": "tokenizer_config.json"
}
],
"spaces": [],
"tags": [
"transformers",
"safetensors",
"qwen3_5_text",
"text-generation",
"reasoning",
"caveman",
"compressed-thinking",
"qwen3.5",
"lora",
"sft",
"conversational",
"en",
"base_model:Qwen/Qwen3.5-0.8B",
"base_model:adapter:Qwen/Qwen3.5-0.8B",
"license:apache-2.0",
"endpoints_compatible",
"region:us"
],
"transformersInfo": {
"auto_model": "AutoModelForCausalLM",
"pipeline_tag": "text-generation",
"processor": "AutoTokenizer"
},
"usedStorage": 2368190851,
"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": "CrowdMind/PrimeMind-0.8B",
"_id": "6aa28adb942797ca667999d7",
"author": "CrowdMind",
"cardData": {
"base_model": "Qwen/Qwen3.5-0.8B",
"language": "en",
"library_name": "transformers",
"license": "apache-2.0",
"model_name": "PrimeMind-0.8B",
"tags": [
"reasoning",
"caveman",
"compressed-thinking",
"qwen3.5",
"lora",
"sft"
]
},
"config": {
"architectures": [
"Qwen3_5ForCausalLM"
],
"chat_template_jinja": "{%- set image_count = namespace(value=0) %}\r\n{%- set video_count = namespace(value=0) %}\r\n{%- macro render_content(content, do_vision_count, is_system_content=false) %}\r\n {%- if content is string %}\r\n {{- content }}\r\n {%- elif content is iterable and content is not mapping %}\r\n {%- for item in content %}\r\n {%- if 'image' in item or 'image_url' in item or item.type == 'image' %}\r\n {%- if is_system_content %}\r\n {{- raise_exception('System message cannot contain images.') }}\r\n {%- endif %}\r\n {%- if do_vision_count %}\r\n {%- set image_count.value = image_count.value + 1 %}\r\n {%- endif %}\r\n {%- if add_vision_id %}\r\n {{- 'Picture ' ~ image_count.value ~ ': ' }}\r\n {%- endif %}\r\n {{- '<|vision_start|><|image_pad|><|vision_end|>' }}\r\n {%- elif 'video' in item or item.type == 'video' %}\r\n {%- if is_system_content %}\r\n {{- raise_exception('System message cannot contain videos.') }}\r\n {%- endif %}\r\n {%- if do_vision_count %}\r\n {%- set video_count.value = video_count.value + 1 %}\r\n {%- endif %}\r\n {%- if add_vision_id %}\r\n {{- 'Video ' ~ video_count.value ~ ': ' }}\r\n {%- endif %}\r\n {{- '<|vision_start|><|video_pad|><|vision_end|>' }}\r\n {%- elif 'text' in item %}\r\n {{- item.text }}\r\n {%- else %}\r\n {{- raise_exception('Unexpected item type in content.') }}\r\n {%- endif %}\r\n {%- endfor %}\r\n {%- elif content is none or content is undefined %}\r\n {{- '' }}\r\n {%- else %}\r\n {{- raise_exception('Unexpected content type.') }}\r\n {%- endif %}\r\n{%- endmacro %}\r\n{%- if not messages %}\r\n {{- raise_exception('No messages provided.') }}\r\n{%- endif %}\r\n{%- if tools and tools is iterable and tools is not mapping %}\r\n {{- '<|im_start|>system\\n' }}\r\n {{- \"# Tools\\n\\nYou have access to the following functions:\\n\\n<tools>\" }}\r\n {%- for tool in tools %}\r\n {{- \"\\n\" }}\r\n {{- tool | tojson }}\r\n {%- endfor %}\r\n {{- \"\\n</tools>\" }}\r\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>' }}\r\n {%- if messages[0].role == 'system' %}\r\n {%- set content = render_content(messages[0].content, false, true)|trim %}\r\n {%- if content %}\r\n {{- '\\n\\n' + content }}\r\n {%- endif %}\r\n {%- endif %}\r\n {{- '<|im_end|>\\n' }}\r\n{%- else %}\r\n {%- if messages[0].role == 'system' %}\r\n {%- set content = render_content(messages[0].content, false, true)|trim %}\r\n {{- '<|im_start|>system\\n' + content + '<|im_end|>\\n' }}\r\n {%- endif %}\r\n{%- endif %}\r\n{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}\r\n{%- for message in messages[::-1] %}\r\n {%- set index = (messages|length - 1) - loop.index0 %}\r\n {%- if ns.multi_step_tool and message.role == \"user\" %}\r\n {%- set content = render_content(message.content, false)|trim %}\r\n {%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}\r\n {%- set ns.multi_step_tool = false %}\r\n {%- set ns.last_query_index = index %}\r\n {%- endif %}\r\n {%- endif %}\r\n{%- endfor %}\r\n{%- if ns.multi_step_tool %}\r\n {{- raise_exception('No user query found in messages.') }}\r\n{%- endif %}\r\n{%- for message in messages %}\r\n {%- set content = render_content(message.content, true)|trim %}\r\n {%- if message.role == \"system\" %}\r\n {%- if not loop.first %}\r\n {{- raise_exception('System message must be at the beginning.') }}\r\n {%- endif %}\r\n {%- elif message.role == \"user\" %}\r\n {{- '<|im_start|>' + message.role + '\\n' + content + '<|im_end|>' + '\\n' }}\r\n {%- elif message.role == \"assistant\" %}\r\n {%- set reasoning_content = '' %}\r\n {%- if message.reasoning_content is string %}\r\n {%- set reasoning_content = message.reasoning_content %}\r\n {%- else %}\r\n {%- if '</think>' in content %}\r\n {%- set reasoning_content = content.split('</think>')[0].rstrip('\\n').split('<think>')[-1].lstrip('\\n') %}\r\n {%- set content = content.split('</think>')[-1].lstrip('\\n') %}\r\n {%- endif %}\r\n {%- endif %}\r\n {%- set reasoning_content = reasoning_content|trim %}\r\n {%- if loop.index0 > ns.last_query_index %}\r\n {{- '<|im_start|>' + message.role + '\\n<think>\\n' + reasoning_content + '\\n</think>\\n\\n' + content }}\r\n {%- else %}\r\n {{- '<|im_start|>' + message.role + '\\n' + content }}\r\n {%- endif %}\r\n {%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}\r\n {%- for tool_call in message.tool_calls %}\r\n {%- if tool_call.function is defined %}\r\n {%- set tool_call = tool_call.function %}\r\n {%- endif %}\r\n {%- if loop.first %}\r\n {%- if content|trim %}\r\n {{- '\\n\\n<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\r\n {%- else %}\r\n {{- '<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\r\n {%- endif %}\r\n {%- else %}\r\n {{- '\\n<tool_call>\\n<function=' + tool_call.name + '>\\n' }}\r\n {%- endif %}\r\n {%- if tool_call.arguments is defined %}\r\n {%- for args_name, args_value in tool_call.arguments|items %}\r\n {{- '<parameter=' + args_name + '>\\n' }}\r\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 %}\r\n {{- args_value }}\r\n {{- '\\n</parameter>\\n' }}\r\n {%- endfor %}\r\n {%- endif %}\r\n {{- '</function>\\n</tool_call>' }}\r\n {%- endfor %}\r\n {%- endif %}\r\n {{- '<|im_end|>\\n' }}\r\n {%- elif message.role == \"tool\" %}\r\n {%- if loop.previtem and loop.previtem.role != \"tool\" %}\r\n {{- '<|im_start|>user' }}\r\n {%- endif %}\r\n {{- '\\n<tool_response>\\n' }}\r\n {{- content }}\r\n {{- '\\n</tool_response>' }}\r\n {%- if not loop.last and loop.nextitem.role != \"tool\" %}\r\n {{- '<|im_end|>\\n' }}\r\n {%- elif loop.last %}\r\n {{- '<|im_end|>\\n' }}\r\n {%- endif %}\r\n {%- else %}\r\n {{- raise_exception('Unexpected message role.') }}\r\n {%- endif %}\r\n{%- endfor %}\r\n{%- if add_generation_prompt %}\r\n {{- '<|im_start|>assistant\\n' }}\r\n {%- if enable_thinking is defined and enable_thinking is true %}\r\n {{- '<think>\\n' }}\r\n {%- else %}\r\n {{- '<think>\\n\\n</think>\\n\\n' }}\r\n {%- endif %}\r\n{%- endif %}",
"model_type": "qwen3_5_text",
"tokenizer_config": {
"bos_token": null,
"eos_token": "<|im_end|>",
"pad_token": "<|endoftext|>",
"unk_token": null
}
},
"createdAt": "2026-09-10T10:47:55.000Z",
"disabled": false,
"downloads": 489,
"gated": false,
"id": "CrowdMind/PrimeMind-0.8B",
"lastModified": "2026-09-10T16:08:17.000Z",
"library_name": "transformers",
"likes": 2,
"model-index": null,
"modelId": "CrowdMind/PrimeMind-0.8B",
"pipeline_tag": "text-generation",
"private": false,
"safetensors": {
"parameters": {
"BF16": 752393024
},
"total": 752393024
},
"sha": "6f009b7d1e8f84d75bf9135a595cb2096756f2ba",
"siblings": [
{
"rfilename": ".gitattributes"
},
{
"rfilename": "README.md"
},
{
"rfilename": "chat_template.jinja"
},
{
"rfilename": "config.json"
},
{
"rfilename": "generation_config.json"
},
{
"rfilename": "model.safetensors"
},
{
"rfilename": "processor_config.json"
},
{
"rfilename": "tokenizer.json"
},
{
"rfilename": "tokenizer_config.json"
}
],
"spaces": [],
"tags": [
"transformers",
"safetensors",
"qwen3_5_text",
"text-generation",
"reasoning",
"caveman",
"compressed-thinking",
"qwen3.5",
"lora",
"sft",
"conversational",
"en",
"base_model:Qwen/Qwen3.5-0.8B",
"base_model:adapter:Qwen/Qwen3.5-0.8B",
"license:apache-2.0",
"endpoints_compatible",
"region:us"
],
"transformersInfo": {
"auto_model": "AutoModelForCausalLM",
"pipeline_tag": "text-generation",
"processor": "AutoTokenizer"
},
"usedStorage": 2368190851,
"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/CrowdMind/PrimeMind-0.8B.