numinousmuses/laguna-s-2.1-vision · Hugging Face
Log In<br>Sign Up
block — used to train without a system message. -#}\n{%- set system_message = \"You are a helpful, conversationally-fluent assistant made by Poolside. You are here to be helpful to users through natural language conversations.\" -%}\n{%- if messages and messages[0].role == \"system\" -%}\n {%- set system_message = messages[0].content -%}\n {%- set messages = messages[1:] -%}\n{%- endif -%}\n\n{%- set has_sys = system_message and system_message.strip() -%}\n{%- if has_sys or tools or enable_thinking -%}\n {{- \"\" -}}\n\n {%- if has_sys -%}\n {{- system_message.rstrip() -}}\n {%- if tools -%}{{- \"\\n\\n\" -}}{%- endif -%}\n {%- endif -%}\n\n {%- if tools -%}\n {{- \"### Tools\\n\\n\" -}}\n {{- \"You may call functions to assist with the user query.\\n\" -}}\n {{- \"All available function signatures are listed below:\\n\" -}}\n {{- \"\\n\" -}}\n {%- for tool in tools -%}\n {{- (tool | tojson) ~ \"\\n\" -}}\n {%- endfor -%}\n {{- \"\" -}}\n {%- endif -%}\n\n {{- \"\\n\" -}}\n{%- endif -%}\n\n{#- ───── main loop ───── -#}\n{%- for message in messages -%}\n {%- set content = message.content if message.content is string else \"\" -%}\n {%- if message.role == \"user\" -%}\n {{- \"\" + content + \"\\n\" -}}\n {%- elif message.role == \"assistant\" -%}\n {%- generation -%}\n {{- \"\" -}}\n {#- Extract reasoning content from message.reasoning (vLLM field name) or message.reasoning_content -#}\n {%- set reasoning_content = '' -%}\n {%- if message.reasoning is string -%}\n {%- set reasoning_content = message.reasoning -%}\n {%- elif message.reasoning_content is string -%}\n {%- set reasoning_content = message.reasoning_content -%}\n {%- endif -%}\n {#- Display reasoning content for all messages if enable_thinking -#}\n {%- if enable_thinking or preserve_thinking -%}\n {{- '' + reasoning_content + '' -}}\n {%- else -%}\n {{- '' -}}\n {%- endif -%}\n {#- Display main content (trailing newline only when no tool_calls follow) -#}\n {%- if content -%}\n {{- content -}}\n {%- endif -%}\n {%- if message.tool_calls -%}\n {%- for tool_call in message.tool_calls -%}\n {%- set function_data = tool_call.function -%}\n {{- '' + function_data.name -}}\n {%- set _args = function_data.arguments -%}\n {%- for k, v in _args.items() -%}\n {{- \"\" ~ k ~ \"\" -}}\n {{- \"\" -}}{{- v | tojson(ensure_ascii=False) if v is not string else v -}}{{- \"\" -}}\n {%- endfor -%}\n {{- \"\" -}}\n {%- endfor -%}\n {%- endif -%}\n {{- \"\\n\" -}}\n {%- endgeneration -%}\n {%- elif message.role == \"tool\" -%}\n {{- \"\" + content + \"\\n\" -}}\n {%- elif message.role == \"system\" -%}\n {#- Render additional system messages (the first one, if any, is handled separately in the header and was sliced off above) -#}\n {{- \"\" + content + \"\\n\" -}}\n {%- endif -%}\n{%- endfor -%}\n{#- ───── generation prompt ───── -#}\n{%- if add_generation_prompt -%}\n {{- \"\" -}}\n {#- ───── Include reasoning mode directive ───── -#}\n {%- if enable_thinking -%}\n {{- '' -}}\n {%- else -%}\n {{- '' -}}\n {%- endif -%}\n{%- endif -%}"}},"createdAt":"2026-08-21T21:29:07.000Z","discussionsDisabled":false,"discussionsSorting":"recently-created","downloads":0,"downloadsAllTime":0,"id":"numinousmuses/laguna-s-2.1-vision","isLikedByUser":false,"availableInferenceProviders":[],"showHuggingChatEntry":false,"inference":"","lastModified":"2026-08-21T22:13:58.000Z","likes":0,"pipeline_tag":"image-text-to-text","library_name":"transformers","librariesOther":[],"trackDownloads":true,"model-index":null,"private":false,"repoType":"model","gated":false,"tags":["transformers","laguna_vision","text-generation","multimodal","vision-language","laguna","image-text-to-text","conversational","base_model:Qwen/Qwen3-VL-235B-A22B-Instruct","base_model:finetune:Qwen/Qwen3-VL-235B-A22B-Instruct","license:mit","endpoints_compatible","region:us"],"tag_objs":[{"id":"image-text-to-text","label":"Image-Text-to-Text","type":"pipeline_tag","subType":"multimodal"},{"id":"transformers","label":"Transformers","type":"library"},{"id":"laguna_vision","label":"laguna_vision","type":"other","clickable":true},{"id":"text-generation","label":"text-generation","type":"other","clickable":true},{"id":"multimodal","label":"multimodal","type":"other","clickable":true},{"id":"vision-language","label":"vision-language","type":"other","clickable":true},{"id":"laguna","label":"laguna","type":"other","clickable":true},{"id":"conversational","label":"conversational","type":"other","clickable":true},{"id":"base_model:Qwen/Qwen3-VL-235B-A22B-Instruct","label":"base_model:Qwen/Qwen3-VL-235B-A22B-Instruct","type":"other","clickable":true},{"id":"base_model:finetune:Qwen/Qwen3-VL-235B-A22B-Instruct","label":"base_model:finetune:Qwen/Qwen3-VL-235B-A22B-Instruct","type":"other","clickable":true},{"id":"endpoints_compatible","label":"Inference...