{"serveDecision":{"state":"UNKNOWN","authority":"live-serve-decision"},"downloadable":null,"downloadReady":null,"degraded":false,"stale":false,"schemaVersion":"hugging-bay.local-kit.v2","displayOnly":true,"authorizationRequired":true,"eligibilitySnapshotAt":"2026-11-02T05:26:59.230Z","generatedAt":"2026-11-02T05:29:11.058Z","status":"runnable-bundle-recipe","commandsAvailable":true,"commands":[{"tool":"lm-studio","label":"LM Studio (no terminal)","kind":"gui-walkthrough","guiProven":false,"command":"Open LM Studio, then drag the downloaded 'granite-4.2-3b-Q4_K_M.gguf' into My Models to load it.","note":"A walk-through for your machine, not a checked run path — these steps are guidance, never a promise it will run. LM Studio's own UI takes it from there.","prefilledFrom":{"file":"granite-4.2-3b-Q4_K_M.gguf","templateSha256":"f0ba43f79b3cabca5e5a7584c77aec92f49feae45cdf7779c87d9fc54cd90258","sha256":"e0406663965846ae22a403456eb826ccce5f450840491f71952f18a7cb78e7d5"},"guideCheckedAt":"2026-09-22","guideCheckedBy":"hugging-bay-docs","guideVersion":5},{"tool":"ollama","label":"Ollama","note":"Builds a local Ollama model named \"granite-4.2-3b-q4_k_m\" from the file (Ollama imports the file's embedded chat template) and starts a chat.","prefilledFrom":{"file":"granite-4.2-3b-Q4_K_M.gguf","templateSha256":"f0ba43f79b3cabca5e5a7584c77aec92f49feae45cdf7779c87d9fc54cd90258","sha256":"e0406663965846ae22a403456eb826ccce5f450840491f71952f18a7cb78e7d5"},"guideCheckedAt":"2026-09-22","guideCheckedBy":"hugging-bay-docs","guideVersion":5},{"tool":"llama.cpp","label":"llama.cpp (terminal)","kind":"terminal","proven":true,"note":"Runs the file directly with llama.cpp's command-line tool. -st (--single-turn) runs one turn with the model's embedded chat template and exits — tested on llama.cpp b10964-b29c606e2. The old -no-cnv flag was removed and is rejected by current builds.","runner":{"name":"llama.cpp","testedBuild":"b10964-b29c606e2","singleTurnFlag":"-st"},"prefilledFrom":{"file":"granite-4.2-3b-Q4_K_M.gguf","templateSha256":"f0ba43f79b3cabca5e5a7584c77aec92f49feae45cdf7779c87d9fc54cd90258","sha256":"e0406663965846ae22a403456eb826ccce5f450840491f71952f18a7cb78e7d5"},"guideCheckedAt":"2026-09-22","guideCheckedBy":"hugging-bay-docs","guideVersion":5},{"tool":"python","label":"Python (llama-cpp-python)","command":"pip install llama-cpp-python && python -c 'from llama_cpp import Llama; llm = Llama(\"./granite-4.2-3b-Q4_K_M.gguf\", n_ctx=8192); print(llm.create_chat_completion(messages=[{'\\''role'\\'': '\\''user'\\'', '\\''content'\\'': '\\''Hello!'\\''}])['\\''choices'\\''][0]['\\''message'\\'']['\\''content'\\''])'","note":"For scripting the model from Python; create_chat_completion applies the embedded chat template.","prefilledFrom":{"file":"granite-4.2-3b-Q4_K_M.gguf","templateSha256":"f0ba43f79b3cabca5e5a7584c77aec92f49feae45cdf7779c87d9fc54cd90258","sha256":"e0406663965846ae22a403456eb826ccce5f450840491f71952f18a7cb78e7d5"},"guideCheckedAt":"2026-09-22","guideCheckedBy":"hugging-bay-docs","guideVersion":5}],"runBlockKind":"hosted-file-recipe","chatContract":{"available":true,"source":"gguf-metadata:tokenizer.chat_template","sourceFileSha256":"e0406663965846ae22a403456eb826ccce5f450840491f71952f18a7cb78e7d5","templateSha256":"f0ba43f79b3cabca5e5a7584c77aec92f49feae45cdf7779c87d9fc54cd90258","templateText":"{%- macro tool_to_json(tool) -%}\n    {%- set ns_tool = namespace(first=true) -%}\n    {{- '{' -}}\n    {%- for k, v in tool.items() -%}\n        {%- if k != 'defer_loading' and k != 'strict' -%}\n            {%- if not ns_tool.first -%}{{- ', ' -}}{%- endif -%}\n            {%- set ns_tool.first = false -%}\n            {{- '\"' ~ k ~ '\": ' ~ (v | tojson(ensure_ascii=False)) -}}\n        {%- endif -%}\n    {%- endfor -%}\n    {{- '}' -}}\n{%- endmacro -%}\n{%- set enable_thinking = enable_thinking if enable_thinking is defined else True %}\n{%- set low_effort = low_effort if low_effort is defined else False %}\n{%- if reasoning_effort is defined and reasoning_effort is not none %}\n    {%- set low_effort = reasoning_effort == \"low\" %}\n{%- endif %}\n{%- set truncate_history_thinking = truncate_history_thinking if truncate_history_thinking is defined else True %}\n\n{%- set ns = namespace(last_user_idx = -1) %}\n{%- set loop_messages = messages %}\n{%- for m in loop_messages %}\n  {%- if m[\"role\"] == \"user\" %}\n    {%- set ns.last_user_idx = loop.index0 %}\n  {%- endif %}\n{%- endfor %}\n\n{%- if messages[0][\"role\"] == \"system\" %}\n    {%- set system_message = messages[0][\"content\"] %}\n    {%- set loop_messages = messages[1:] %}\n{%- else %}\n    {%- set system_message = \"\" %}\n    {%- set loop_messages = messages %}\n{%- endif %}\n{%- if not tools is defined %}\n    {%- set tools = [] %}\n{%- endif %}\n{# Recompute last_user_idx relative to loop_messages after handling system #}\n{%- set ns = namespace(last_user_idx = -1) %}\n{%- for m in loop_messages %}\n  {%- if m[\"role\"] == \"user\" %}\n    {%- set ns.last_user_idx = loop.index0 %}\n  {%- endif %}\n{%- endfor %}\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\\n\" }}\n    {%- endif %}\n{%- endif %}\n{%- if tools is iterable and tools | length > 0 %}\n    {%- if system_message is defined and system_message | length > 0 %}\n        {{- \"\\n\\n\" }}\n    {%- endif %}\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        {%- if tool.defer_loading is not defined or not tool.defer_loading %}\n            {{- '\\n' ~ tool_to_json(tool) }}\n        {%- endif %}\n    {%- endfor %}\n    {{- \"\\n</tools>\" }}\n\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\n\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\n{%- for message in loop_messages %}\n    {%- if message.role == \"assistant\" %}\n        {# Add reasoning content in to content field for unified processing below. #}\n        {%- if message.reasoning_content is defined and message.reasoning_content is string and message.reasoning_content | trim | length > 0 %}\n            {%- set content = \"<think>\\n\" ~ message.reasoning_content ~ \"\\n</think>\\n\" ~ (message.content | default('', true)) %}\n        {%- else %}\n            {%- set content = message.content | default('', true) %}\n            {%- if content is string -%}\n                {# Allow downstream logic to to take care of broken thought, only handle coherent reasoning here. #}\n                {%- if '<think>' not in content and '</think>' not in content -%}\n                    {%- set content = \"<think></think>\" ~ content -%}\n                {%- endif -%}\n            {%- else -%}\n                {%- set content = content -%}\n            {%- endif -%}\n        {%- endif %}\n        {%- if message.tool_calls is defined and message.tool_calls is iterable and message.tool_calls | length > 0 %}\n            {# Assistant message has tool calls. #}\n            {{- '<|im_start|>assistant\\n' }}\n                {%- set include_content = not (truncate_history_thinking and loop.index0 < ns.last_user_idx) %}\n                {%- if content is string and content | trim | length > 0 %}\n                    {%- if include_content %}\n                        {{- (content | trim) ~ '\\n' -}}\n                    {%- else %}\n                        {%- set c = (content | string) %}\n                        {%- if '</think>' in c %}\n                            {# Keep only content after the last closing think. Also generation prompt causes this. #}\n                            {%- set c = c.split('</think>')[-1] %}\n                        {%- elif '<think>' in c %}\n                            {# If <think> was opened but never closed, drop the trailing think segment #}\n                            {%- set c = c.split('<think>')[0] %}\n                        {%- endif %}\n                        {%- set c = \"<think></think>\" ~ c | trim %}\n                        {%- if c | length > 0 %}\n                            {{- c ~ '\\n' -}}\n                        {%- endif %}\n                    {%- endif %}\n                {%- else %}\n                    {{- \"<think></think>\" -}}\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                    {{- '<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</parameter>\\n' -}}\n                            {%- endfor %}\n                        {%- endif %}\n                    {{- '</function>\\n</tool_call>\\n' -}}\n                {%- endfor %}\n                {{- '<|im_end|>\\n' }}\n        {%- else %}\n            {# Assistant message doesn't have tool calls. #}\n            {%- if not (truncate_history_thinking and loop.index0 < ns.last_user_idx) %}\n                {{- '<|im_start|>assistant\\n' ~ (content | default('', true) | string | trim) ~ '<|im_end|>\\n' }}\n            {%- else %}\n                {%- set c = (content | default('', true) | string) %}\n                {%- if '<think>' in c and '</think>' in c %}\n                    {%- set c = \"<think></think>\" ~ c.split('</think>')[-1] %}\n                {%- endif %}\n                {%- set c = c | trim %}\n                {%- if c | length > 0 %}\n                    {{- '<|im_start|>assistant\\n' ~ c ~ '<|im_end|>\\n' }}\n                {%- else %}\n                    {{- '<|im_start|>assistant\\n<|im_end|>\\n' }}\n                {%- endif %}\n            {%- endif %}\n        {%- endif %}\n    {%- elif message.role == \"user\" or message.role == \"system\" %}\n        {{- '<|im_start|>' + message.role + '\\n' }}\n        {%- set content = message.content | string %}\n        {%- if message.role == \"user\" and loop.index0 == ns.last_user_idx and low_effort %}\n            {{- content + '\\n\\n{reasoning effort: low}' }}\n        {%- else %}\n            {{- 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\n{%- if add_generation_prompt %}\n    {%- if enable_thinking %}\n        {{- '<|im_start|>assistant\\n<think>\\n' }}\n    {%- else %}\n        {{- '<|im_start|>assistant\\n<think></think>' }}\n    {%- endif %}\n{%- endif %}","extractedAt":"2026-10-16","extractionStage":"ingest.template-extract/v1","architecture":"granite","contextLength":131072,"stop":["<|im_end|>"],"thinking":{"mode":"delimited","open":"<think>","close":"</think>"}},"artifact":{"id":"hf-model-ibm-granite-granite-4-2-3b-gguf","repo":"ibm-granite/granite-4.2-3b-GGUF","type":"llm","summary":"Model from Hugging Face for llm: ibm-granite/granite-4.2-3b-GGUF · transformers","license":"apache-2.0","hostingStatus":"hosted","hostedFileCount":18,"hostedFileCountAuthority":"live-serve-decision","displayFileCount":18,"fileCount":36,"upstreamUrl":"https://huggingface.co/ibm-granite/granite-4.2-3b-GGUF"},"tool":"any","toolCompatibility":{"status":"unknown","reason":"recorded-evaluator-not-integrated"},"readiness":"unknown","requiredFiles":[{"path":".gitattributes","sizeBytes":2448,"sha256":"d7723c0778707ca010d2eec889e7ce643b271dbd1442552dd63e175e82cc1832","format":"gitattributes","risk":"low","sourceKind":"external-hf","hosted":true,"readiness":"unknown","downloadReady":null,"reasonCodes":[],"reason":"Hosted on Hugging Bay and byte-verified — download is available now.","individuallyHashed":true,"fileOnly":true,"directDownloadAuthorized":true,"serveDecision":{"state":"UNKNOWN","reasonCodes":[]},"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":"https://huggingbay.xyz/api/downloads/hf-model-ibm-granite-granite-4-2-3b-gguf/.gitattributes","chatTemplate":null,"serve_verdict":{"can_download":false,"bytes_verified":true,"signature":"signed","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-ibm-granite-granite-4-2-3b-gguf"},"signature_state":"signed"},{"path":"README.md","sizeBytes":368,"sha256":"366a634da286ca154ef41214dc503ce1dcb8e6de126bec73f80ae3216fb01c99","format":"md","risk":"low","sourceKind":"external-hf","hosted":true,"readiness":"unknown","downloadReady":null,"reasonCodes":[],"reason":"Hosted on Hugging Bay and byte-verified — download is available now.","individuallyHashed":true,"fileOnly":true,"directDownloadAuthorized":true,"serveDecision":{"state":"UNKNOWN","reasonCodes":[]},"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":"https://huggingbay.xyz/api/downloads/hf-model-ibm-granite-granite-4-2-3b-gguf/README.md","chatTemplate":null,"serve_verdict":{"can_download":false,"bytes_verified":true,"signature":"signed","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-ibm-granite-granite-4-2-3b-gguf"},"signature_state":"signed"},{"path":"granite-4.2-3b-Q2_K.gguf","sizeBytes":1455736352,"sha256":"a66f94672d05104517ae844664cac86086f627e29f8e6410bce4c42849afc71b","format":"gguf","risk":"low","sourceKind":"external-hf","hosted":true,"readiness":"unknown","downloadReady":null,"reasonCodes":[],"reason":"Hosted on Hugging Bay and byte-verified — download is available now.","individuallyHashed":true,"fileOnly":true,"directDownloadAuthorized":true,"serveDecision":{"state":"UNKNOWN","reasonCodes":[]},"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":"https://huggingbay.xyz/api/downloads/hf-model-ibm-granite-granite-4-2-3b-gguf/granite-4.2-3b-Q2_K.gguf","chatTemplate":null,"serve_verdict":{"can_download":false,"bytes_verified":true,"signature":"signed","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-ibm-granite-granite-4-2-3b-gguf"},"signature_state":"signed"},{"path":"granite-4.2-3b-Q3_K_L.gguf","sizeBytes":1974576672,"sha256":"99f8a87638f740420b415017901e1b23a3701e4f12b76cf42518bdaa01482e83","format":"gguf","risk":"low","sourceKind":"external-hf","hosted":true,"readiness":"unknown","downloadReady":null,"reasonCodes":[],"reason":"Hosted on Hugging Bay and byte-verified — download is available now.","individuallyHashed":true,"fileOnly":true,"directDownloadAuthorized":true,"serveDecision":{"state":"UNKNOWN","reasonCodes":[]},"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":"https://huggingbay.xyz/api/downloads/hf-model-ibm-granite-granite-4-2-3b-gguf/granite-4.2-3b-Q3_K_L.gguf","chatTemplate":null,"serve_verdict":{"can_download":false,"bytes_verified":true,"signature":"signed","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-ibm-granite-granite-4-2-3b-gguf"},"signature_state":"signed"},{"path":"granite-4.2-3b-Q3_K_M.gguf","sizeBytes":1835968032,"sha256":"cf620d4d440f544ece5e6257ed86539d7729d75c3585c9e17dd74d2632a34322","format":"gguf","risk":"low","sourceKind":"external-hf","hosted":true,"readiness":"unknown","downloadReady":null,"reasonCodes":[],"reason":"Hosted on Hugging Bay and byte-verified — download is available now.","individuallyHashed":true,"fileOnly":true,"directDownloadAuthorized":true,"serveDecision":{"state":"UNKNOWN","reasonCodes":[]},"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":"https://huggingbay.xyz/api/downloads/hf-model-ibm-granite-granite-4-2-3b-gguf/granite-4.2-3b-Q3_K_M.gguf","chatTemplate":null,"serve_verdict":{"can_download":false,"bytes_verified":true,"signature":"signed","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-ibm-granite-granite-4-2-3b-gguf"},"signature_state":"signed"},{"path":"granite-4.2-3b-Q3_K_S.gguf","sizeBytes":1677207072,"sha256":"cd7dd8e5c38523514d70083e4cbd88a0cecb5c8f86ef57cd0b80c15b84aa369e","format":"gguf","risk":"low","sourceKind":"external-hf","hosted":true,"readiness":"unknown","downloadReady":null,"reasonCodes":[],"reason":"Hosted on Hugging Bay and byte-verified — download is available now.","individuallyHashed":true,"fileOnly":true,"directDownloadAuthorized":true,"serveDecision":{"state":"UNKNOWN","reasonCodes":[]},"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":"https://huggingbay.xyz/api/downloads/hf-model-ibm-granite-granite-4-2-3b-gguf/granite-4.2-3b-Q3_K_S.gguf","chatTemplate":null,"serve_verdict":{"can_download":false,"bytes_verified":true,"signature":"signed","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-ibm-granite-granite-4-2-3b-gguf"},"signature_state":"signed"},{"path":"granite-4.2-3b-Q4_0.gguf","sizeBytes":2129118752,"sha256":"d34a4a7c0b230d3f544eca502beb7e04efc3a0ebd59e2f2df50058f23cc20711","format":"gguf","risk":"low","sourceKind":"external-hf","hosted":true,"readiness":"unknown","downloadReady":null,"reasonCodes":[],"reason":"Hosted on Hugging Bay and byte-verified — download is available now.","individuallyHashed":true,"fileOnly":true,"directDownloadAuthorized":true,"serveDecision":{"state":"UNKNOWN","reasonCodes":[]},"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":"https://huggingbay.xyz/api/downloads/hf-model-ibm-granite-granite-4-2-3b-gguf/granite-4.2-3b-Q4_0.gguf","chatTemplate":null,"serve_verdict":{"can_download":false,"bytes_verified":true,"signature":"signed","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-ibm-granite-granite-4-2-3b-gguf"},"signature_state":"signed"},{"path":"granite-4.2-3b-Q4_1.gguf","sizeBytes":2341783072,"sha256":"2fe0f96ec5c7aff6f0713e5970ec68a1066231b78d5a48783338106a90abfb7e","format":"gguf","risk":"low","sourceKind":"external-hf","hosted":true,"readiness":"unknown","downloadReady":null,"reasonCodes":[],"reason":"Hosted on Hugging Bay and byte-verified — download is available now.","individuallyHashed":true,"fileOnly":true,"directDownloadAuthorized":true,"serveDecision":{"state":"UNKNOWN","reasonCodes":[]},"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":"https://huggingbay.xyz/api/downloads/hf-model-ibm-granite-granite-4-2-3b-gguf/granite-4.2-3b-Q4_1.gguf","chatTemplate":null,"serve_verdict":{"can_download":false,"bytes_verified":true,"signature":"signed","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-ibm-granite-granite-4-2-3b-gguf"},"signature_state":"signed"},{"path":"granite-4.2-3b-Q4_K_M.gguf","sizeBytes":2244011552,"sha256":"e0406663965846ae22a403456eb826ccce5f450840491f71952f18a7cb78e7d5","format":"gguf","risk":"low","sourceKind":"mirrored-upstream","hosted":true,"readiness":"unknown","downloadReady":null,"reasonCodes":[],"reason":"Hosted on Hugging Bay and byte-verified — download is available now.","individuallyHashed":true,"fileOnly":true,"directDownloadAuthorized":true,"serveDecision":{"state":"UNKNOWN","reasonCodes":[]},"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":"https://huggingbay.xyz/api/downloads/hf-model-ibm-granite-granite-4-2-3b-gguf/granite-4.2-3b-Q4_K_M.gguf","chatTemplate":{"artifactId":"hf-model-ibm-granite-granite-4-2-3b-gguf","filePath":"granite-4.2-3b-Q4_K_M.gguf","sha256":"e0406663965846ae22a403456eb826ccce5f450840491f71952f18a7cb78e7d5","architecture":"granite","generalName":"Granite 4.2 3b","tokenizerModel":"gpt2","contextLength":131072,"bos":"<s>","eos":"<|im_end|>","stop":["<|im_end|>"],"thinking":{"mode":"delimited","open":"<think>","close":"</think>"},"chatTemplate":"{%- macro tool_to_json(tool) -%}\n    {%- set ns_tool = namespace(first=true) -%}\n    {{- '{' -}}\n    {%- for k, v in tool.items() -%}\n        {%- if k != 'defer_loading' and k != 'strict' -%}\n            {%- if not ns_tool.first -%}{{- ', ' -}}{%- endif -%}\n            {%- set ns_tool.first = false -%}\n            {{- '\"' ~ k ~ '\": ' ~ (v | tojson(ensure_ascii=False)) -}}\n        {%- endif -%}\n    {%- endfor -%}\n    {{- '}' -}}\n{%- endmacro -%}\n{%- set enable_thinking = enable_thinking if enable_thinking is defined else True %}\n{%- set low_effort = low_effort if low_effort is defined else False %}\n{%- if reasoning_effort is defined and reasoning_effort is not none %}\n    {%- set low_effort = reasoning_effort == \"low\" %}\n{%- endif %}\n{%- set truncate_history_thinking = truncate_history_thinking if truncate_history_thinking is defined else True %}\n\n{%- set ns = namespace(last_user_idx = -1) %}\n{%- set loop_messages = messages %}\n{%- for m in loop_messages %}\n  {%- if m[\"role\"] == \"user\" %}\n    {%- set ns.last_user_idx = loop.index0 %}\n  {%- endif %}\n{%- endfor %}\n\n{%- if messages[0][\"role\"] == \"system\" %}\n    {%- set system_message = messages[0][\"content\"] %}\n    {%- set loop_messages = messages[1:] %}\n{%- else %}\n    {%- set system_message = \"\" %}\n    {%- set loop_messages = messages %}\n{%- endif %}\n{%- if not tools is defined %}\n    {%- set tools = [] %}\n{%- endif %}\n{# Recompute last_user_idx relative to loop_messages after handling system #}\n{%- set ns = namespace(last_user_idx = -1) %}\n{%- for m in loop_messages %}\n  {%- if m[\"role\"] == \"user\" %}\n    {%- set ns.last_user_idx = loop.index0 %}\n  {%- endif %}\n{%- endfor %}\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\\n\" }}\n    {%- endif %}\n{%- endif %}\n{%- if tools is iterable and tools | length > 0 %}\n    {%- if system_message is defined and system_message | length > 0 %}\n        {{- \"\\n\\n\" }}\n    {%- endif %}\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        {%- if tool.defer_loading is not defined or not tool.defer_loading %}\n            {{- '\\n' ~ tool_to_json(tool) }}\n        {%- endif %}\n    {%- endfor %}\n    {{- \"\\n</tools>\" }}\n\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\n\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\n{%- for message in loop_messages %}\n    {%- if message.role == \"assistant\" %}\n        {# Add reasoning content in to content field for unified processing below. #}\n        {%- if message.reasoning_content is defined and message.reasoning_content is string and message.reasoning_content | trim | length > 0 %}\n            {%- set content = \"<think>\\n\" ~ message.reasoning_content ~ \"\\n</think>\\n\" ~ (message.content | default('', true)) %}\n        {%- else %}\n            {%- set content = message.content | default('', true) %}\n            {%- if content is string -%}\n                {# Allow downstream logic to to take care of broken thought, only handle coherent reasoning here. #}\n                {%- if '<think>' not in content and '</think>' not in content -%}\n                    {%- set content = \"<think></think>\" ~ content -%}\n                {%- endif -%}\n            {%- else -%}\n                {%- set content = content -%}\n            {%- endif -%}\n        {%- endif %}\n        {%- if message.tool_calls is defined and message.tool_calls is iterable and message.tool_calls | length > 0 %}\n            {# Assistant message has tool calls. #}\n            {{- '<|im_start|>assistant\\n' }}\n                {%- set include_content = not (truncate_history_thinking and loop.index0 < ns.last_user_idx) %}\n                {%- if content is string and content | trim | length > 0 %}\n                    {%- if include_content %}\n                        {{- (content | trim) ~ '\\n' -}}\n                    {%- else %}\n                        {%- set c = (content | string) %}\n                        {%- if '</think>' in c %}\n                            {# Keep only content after the last closing think. Also generation prompt causes this. #}\n                            {%- set c = c.split('</think>')[-1] %}\n                        {%- elif '<think>' in c %}\n                            {# If <think> was opened but never closed, drop the trailing think segment #}\n                            {%- set c = c.split('<think>')[0] %}\n                        {%- endif %}\n                        {%- set c = \"<think></think>\" ~ c | trim %}\n                        {%- if c | length > 0 %}\n                            {{- c ~ '\\n' -}}\n                        {%- endif %}\n                    {%- endif %}\n                {%- else %}\n                    {{- \"<think></think>\" -}}\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                    {{- '<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</parameter>\\n' -}}\n                            {%- endfor %}\n                        {%- endif %}\n                    {{- '</function>\\n</tool_call>\\n' -}}\n                {%- endfor %}\n                {{- '<|im_end|>\\n' }}\n        {%- else %}\n            {# Assistant message doesn't have tool calls. #}\n            {%- if not (truncate_history_thinking and loop.index0 < ns.last_user_idx) %}\n                {{- '<|im_start|>assistant\\n' ~ (content | default('', true) | string | trim) ~ '<|im_end|>\\n' }}\n            {%- else %}\n                {%- set c = (content | default('', true) | string) %}\n                {%- if '<think>' in c and '</think>' in c %}\n                    {%- set c = \"<think></think>\" ~ c.split('</think>')[-1] %}\n                {%- endif %}\n                {%- set c = c | trim %}\n                {%- if c | length > 0 %}\n                    {{- '<|im_start|>assistant\\n' ~ c ~ '<|im_end|>\\n' }}\n                {%- else %}\n                    {{- '<|im_start|>assistant\\n<|im_end|>\\n' }}\n                {%- endif %}\n            {%- endif %}\n        {%- endif %}\n    {%- elif message.role == \"user\" or message.role == \"system\" %}\n        {{- '<|im_start|>' + message.role + '\\n' }}\n        {%- set content = message.content | string %}\n        {%- if message.role == \"user\" and loop.index0 == ns.last_user_idx and low_effort %}\n            {{- content + '\\n\\n{reasoning effort: low}' }}\n        {%- else %}\n            {{- 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\n{%- if add_generation_prompt %}\n    {%- if enable_thinking %}\n        {{- '<|im_start|>assistant\\n<think>\\n' }}\n    {%- else %}\n        {{- '<|im_start|>assistant\\n<think></think>' }}\n    {%- endif %}\n{%- endif %}","templateDigest":"sha256:f0ba43f79b3cabca5e5a7584c77aec92f49feae45cdf7779c87d9fc54cd90258","extractionReason":"embedded-template","extractorVersion":"hugging-bay.gguf-embedded-chat-contract.v1","extractedAt":"2026-10-16T03:43:49.608Z","hasEmbeddedTemplate":true},"serve_verdict":{"can_download":false,"bytes_verified":true,"signature":"signed","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-ibm-granite-granite-4-2-3b-gguf"},"signature_state":"signed"},{"path":"granite-4.2-3b-Q4_K_S.gguf","sizeBytes":2142881312,"sha256":"2719546cd7202b70099aa6b9e03b4d4d69851bef12089bcf5c351a72b61a1de9","format":"gguf","risk":"low","sourceKind":"external-hf","hosted":true,"readiness":"unknown","downloadReady":null,"reasonCodes":[],"reason":"Hosted on Hugging Bay and byte-verified — download is available now.","individuallyHashed":true,"fileOnly":true,"directDownloadAuthorized":true,"serveDecision":{"state":"UNKNOWN","reasonCodes":[]},"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":"https://huggingbay.xyz/api/downloads/hf-model-ibm-granite-granite-4-2-3b-gguf/granite-4.2-3b-Q4_K_S.gguf","chatTemplate":null,"serve_verdict":{"can_download":false,"bytes_verified":true,"signature":"signed","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-ibm-granite-granite-4-2-3b-gguf"},"signature_state":"signed"},{"path":"granite-4.2-3b-Q5_0.gguf","sizeBytes":2554447392,"sha256":"edf6a67910492f875646347fe9df5a1ca584831c1acde19923ba9a73b145d951","format":"gguf","risk":"low","sourceKind":"external-hf","hosted":true,"readiness":"unknown","downloadReady":null,"reasonCodes":[],"reason":"Hosted on Hugging Bay and byte-verified — download is available now.","individuallyHashed":true,"fileOnly":true,"directDownloadAuthorized":true,"serveDecision":{"state":"UNKNOWN","reasonCodes":[]},"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":"https://huggingbay.xyz/api/downloads/hf-model-ibm-granite-granite-4-2-3b-gguf/granite-4.2-3b-Q5_0.gguf","chatTemplate":null,"serve_verdict":{"can_download":false,"bytes_verified":true,"signature":"signed","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-ibm-granite-granite-4-2-3b-gguf"},"signature_state":"signed"},{"path":"granite-4.2-3b-Q5_1.gguf","sizeBytes":2767111712,"sha256":"42804ba675926aeacb4c5940d656caaa3869667fdaf42e5966244c1ab10c973d","format":"gguf","risk":"low","sourceKind":"external-hf","hosted":true,"readiness":"unknown","downloadReady":null,"reasonCodes":[],"reason":"Hosted on Hugging Bay and byte-verified — download is available now.","individuallyHashed":true,"fileOnly":true,"directDownloadAuthorized":true,"serveDecision":{"state":"UNKNOWN","reasonCodes":[]},"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":"https://huggingbay.xyz/api/downloads/hf-model-ibm-granite-granite-4-2-3b-gguf/granite-4.2-3b-Q5_1.gguf","chatTemplate":null,"serve_verdict":{"can_download":false,"bytes_verified":true,"signature":"signed","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-ibm-granite-granite-4-2-3b-gguf"},"signature_state":"signed"},{"path":"granite-4.2-3b-Q5_K_M.gguf","sizeBytes":2613634592,"sha256":"982e797413f842329266a00c2a85ce540bb5c1b65ac4646276bfb9d2886c5efe","format":"gguf","risk":"low","sourceKind":"external-hf","hosted":true,"readiness":"unknown","downloadReady":null,"reasonCodes":[],"reason":"Hosted on Hugging Bay and byte-verified — download is available now.","individuallyHashed":true,"fileOnly":true,"directDownloadAuthorized":true,"serveDecision":{"state":"UNKNOWN","reasonCodes":[]},"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":"https://huggingbay.xyz/api/downloads/hf-model-ibm-granite-granite-4-2-3b-gguf/granite-4.2-3b-Q5_K_M.gguf","chatTemplate":null,"serve_verdict":{"can_download":false,"bytes_verified":true,"signature":"signed","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-ibm-granite-granite-4-2-3b-gguf"},"signature_state":"signed"},{"path":"granite-4.2-3b-Q5_K_S.gguf","sizeBytes":2554447392,"sha256":"345c66d60ca7a7b43e2cde9b8876cf06bf47775ba9cc23253a3235afd0d72726","format":"gguf","risk":"low","sourceKind":"external-hf","hosted":true,"readiness":"unknown","downloadReady":null,"reasonCodes":[],"reason":"Hosted on Hugging Bay and byte-verified — download is available now.","individuallyHashed":true,"fileOnly":true,"directDownloadAuthorized":true,"serveDecision":{"state":"UNKNOWN","reasonCodes":[]},"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":"https://huggingbay.xyz/api/downloads/hf-model-ibm-granite-granite-4-2-3b-gguf/granite-4.2-3b-Q5_K_S.gguf","chatTemplate":null,"serve_verdict":{"can_download":false,"bytes_verified":true,"signature":"signed","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-ibm-granite-granite-4-2-3b-gguf"},"signature_state":"signed"},{"path":"granite-4.2-3b-Q6_K.gguf","sizeBytes":3006359072,"sha256":"2e08e2790489162105be79b7f26a81fde28ea30119fa6df12594acd59f12dd96","format":"gguf","risk":"low","sourceKind":"external-hf","hosted":true,"readiness":"unknown","downloadReady":null,"reasonCodes":[],"reason":"Hosted on Hugging Bay and byte-verified — download is available now.","individuallyHashed":true,"fileOnly":true,"directDownloadAuthorized":true,"serveDecision":{"state":"UNKNOWN","reasonCodes":[]},"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":"https://huggingbay.xyz/api/downloads/hf-model-ibm-granite-granite-4-2-3b-gguf/granite-4.2-3b-Q6_K.gguf","chatTemplate":null,"serve_verdict":{"can_download":false,"bytes_verified":true,"signature":"signed","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-ibm-granite-granite-4-2-3b-gguf"},"signature_state":"signed"},{"path":"granite-4.2-3b-Q8_0.gguf","sizeBytes":3892651552,"sha256":"fbe986738041418e26de9e123ba740cb654931f85bf572a71bd01f9e6b85e53d","format":"gguf","risk":"low","sourceKind":"external-hf","hosted":true,"readiness":"unknown","downloadReady":null,"reasonCodes":[],"reason":"Hosted on Hugging Bay and byte-verified — download is available now.","individuallyHashed":true,"fileOnly":true,"directDownloadAuthorized":true,"serveDecision":{"state":"UNKNOWN","reasonCodes":[]},"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":"https://huggingbay.xyz/api/downloads/hf-model-ibm-granite-granite-4-2-3b-gguf/granite-4.2-3b-Q8_0.gguf","chatTemplate":null,"serve_verdict":{"can_download":false,"bytes_verified":true,"signature":"signed","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-ibm-granite-granite-4-2-3b-gguf"},"signature_state":"signed"},{"path":"granite-4.2-3b-bf16.gguf","sizeBytes":7323461152,"sha256":"8aad15f38ab5796190c9701b1913fd8f0bef01968a42cd16ffe469831564ef47","format":"gguf","risk":"low","sourceKind":"external-hf","hosted":true,"readiness":"unknown","downloadReady":null,"reasonCodes":[],"reason":"Hosted on Hugging Bay and byte-verified — download is available now.","individuallyHashed":true,"fileOnly":true,"directDownloadAuthorized":true,"serveDecision":{"state":"UNKNOWN","reasonCodes":[]},"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":"https://huggingbay.xyz/api/downloads/hf-model-ibm-granite-granite-4-2-3b-gguf/granite-4.2-3b-bf16.gguf","chatTemplate":null,"serve_verdict":{"can_download":false,"bytes_verified":true,"signature":"signed","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-ibm-granite-granite-4-2-3b-gguf"},"signature_state":"signed"},{"path":"granite_thinking_parser.py","sizeBytes":4649,"sha256":"","format":"py","risk":"medium","sourceKind":"external-hf","hosted":false,"readiness":"blocked","downloadReady":false,"reasonCodes":["NOT_SERVE_ELIGIBLE"],"reason":"This file is not available to download right now.","individuallyHashed":false,"fileOnly":true,"directDownloadAuthorized":false,"serveDecision":{"state":"BLOCKED","reasonCodes":["NOT_SERVE_ELIGIBLE"]},"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":null,"chatTemplate":null,"serve_verdict":{"can_download":false,"bytes_verified":false,"signature":"unsigned","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-ibm-granite-granite-4-2-3b-gguf"},"signature_state":"unsigned"},{"path":"model.sig","sizeBytes":12072,"sha256":"b177d50e9a45db94e070da90b475c499b3ac01f2770f28d5af4b078b6f5a0ef4","format":"sig","risk":"low","sourceKind":"external-hf","hosted":true,"readiness":"unknown","downloadReady":null,"reasonCodes":[],"reason":"Hosted on Hugging Bay and byte-verified — download is available now.","individuallyHashed":true,"fileOnly":true,"directDownloadAuthorized":true,"serveDecision":{"state":"UNKNOWN","reasonCodes":[]},"downloadUrlResponse":{"status":302,"followRedirects":true},"downloadUrl":"https://huggingbay.xyz/api/downloads/hf-model-ibm-granite-granite-4-2-3b-gguf/model.sig","chatTemplate":null,"serve_verdict":{"can_download":false,"bytes_verified":true,"signature":"signed","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-ibm-granite-granite-4-2-3b-gguf"},"signature_state":"signed"}],"warnings":["This description is temporarily unavailable."],"nextActions":[{"label":"Inspect recorded bundle state","url":"https://huggingbay.xyz/api/artifacts/hf-model-ibm-granite-granite-4-2-3b-gguf/bundle","method":"GET"},{"label":"List individually hashed hosted files","url":"https://huggingbay.xyz/api/downloadable-files?artifactId=hf-model-ibm-granite-granite-4-2-3b-gguf&limit=100","method":"GET"},{"label":"Inspect trust bundle","url":"https://huggingbay.xyz/api/trust-bundles/hf-model-ibm-granite-granite-4-2-3b-gguf","method":"GET"},{"label":"Open artifact","url":"https://huggingbay.xyz/artifact/hf-model-ibm-granite-granite-4-2-3b-gguf","method":"GET"}],"docs":{"artifactUrl":"https://huggingbay.xyz/artifact/hf-model-ibm-granite-granite-4-2-3b-gguf","downloadsUrl":"https://huggingbay.xyz/api/downloadable-files?artifactId=hf-model-ibm-granite-granite-4-2-3b-gguf&limit=100","bundleUrl":"https://huggingbay.xyz/api/artifacts/hf-model-ibm-granite-granite-4-2-3b-gguf/bundle","trustBundleUrl":"https://huggingbay.xyz/api/trust-bundles/hf-model-ibm-granite-granite-4-2-3b-gguf"},"note":{"summary":"Downloadable doesn't mean tested: this record says whether the exact file can be downloaded now, not that the model is complete or that it runs.","downloadable":true},"serve_verdict":{"can_download":false,"bytes_verified":false,"signature":"unsigned","freshness":"stale","checked_at":null,"evidence_url":"/api/manifests/hf-model-ibm-granite-granite-4-2-3b-gguf"}}