{"_id":"6a36a0427251293c9fcd1bf6","id":"poolside/Laguna-XS-2.1","private":false,"pipeline_tag":"text-generation","library_name":"transformers","tags":["transformers","safetensors","laguna","text-generation","laguna-xs-2.1","vllm","conversational","custom_code","license:openmdw-1.1","eval-results","region:us"],"downloads":577977,"likes":270,"modelId":"poolside/Laguna-XS-2.1","author":"poolside","sha":"c5f36269bbdbd3f27fddc9a9f9dbae0cf2cf57db","lastModified":"2026-08-19T15:41:00.000Z","gated":false,"disabled":false,"mask_token":"〈|MASK|〉","widgetData":[{"text":"Hi, what can you help me with?"},{"text":"What is 84 * 3 / 2?"},{"text":"Tell me an interesting fact about the universe!"},{"text":"Explain quantum computing in simple terms."}],"model-index":null,"config":{"architectures":["LagunaForCausalLM"],"auto_map":{"AutoConfig":"configuration_laguna.LagunaConfig","AutoModelForCausalLM":"modeling_laguna.LagunaForCausalLM"},"model_type":"laguna","num_experts":256,"num_experts_per_tok":8,"tokenizer_config":{"bos_token":"〈|EOS|〉","eos_token":"〈|EOS|〉","unk_token":"〈|UNK|〉","sep_token":"〈|SEP|〉","pad_token":"〈|PAD|〉","cls_token":"〈|CLS|〉","mask_token":"〈|MASK|〉","chat_template":"{#- Iteration on laguna_glm_thinking_v8/chat_template.jinja -#}\n{#- No formatting instructions -#}\n{{- \"〈|EOS|〉\" -}}\n{%- set enable_thinking = enable_thinking | default(false) -%}\n{%- set add_generation_prompt = add_generation_prompt | default(false) -%}\n\n{#- ───── header (system message) ───── -#}\n{#- A caller-supplied system message with empty content opts out of the default below, producing no <system> 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  {{- \"<system>\" -}}\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    {{- \"<available_tools>\\n\" -}}\n    {%- for tool in tools -%}\n      {{- (tool | tojson) ~ \"\\n\" -}}\n    {%- endfor -%}\n    {{- \"</available_tools>\" -}}\n  {%- endif -%}\n\n  {{- \"</system>\\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    {{- \"<user>\" + content + \"</user>\\n\" -}}\n  {%- elif message.role == \"assistant\" -%}\n    {%- generation -%}\n      {{- \"<assistant>\" -}}\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 -%}\n        {{- '<think>' + reasoning_content + '</think>' -}}\n      {%- else -%}\n        {{- '</think>' -}}\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          {{- '<tool_call>' + function_data.name -}}\n          {%- set _args = function_data.arguments -%}\n          {%- for k, v in _args.items() -%}\n            {{- \"<arg_key>\" ~ k ~ \"</arg_key>\" -}}\n            {{- \"<arg_value>\" -}}{{- v | tojson(ensure_ascii=False) if v is not string else v -}}{{- \"</arg_value>\" -}}\n          {%- endfor -%}\n          {{- \"</tool_call>\" -}}\n        {%- endfor -%}\n      {%- endif -%}\n      {{- \"</assistant>\\n\" -}}\n    {%- endgeneration -%}\n  {%- elif message.role == \"tool\" -%}\n    {{- \"<tool_response>\" + content + \"</tool_response>\\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    {{- \"<system>\" + content + \"</system>\\n\" -}}\n  {%- endif -%}\n{%- endfor -%}\n{#- ───── generation prompt ───── -#}\n{%- if add_generation_prompt -%}\n  {{- \"<assistant>\" -}}\n  {#- ───── Include reasoning mode directive ───── -#}\n  {%- if enable_thinking -%}\n    {{- '<think>' -}}\n  {%- else -%}\n    {{- '</think>' -}}\n  {%- endif -%}\n{%- endif -%}"},"chat_template_jinja":"{#- Iteration on laguna_glm_thinking_v8/chat_template.jinja -#}\n{#- No formatting instructions -#}\n{{- \"〈|EOS|〉\" -}}\n{%- set enable_thinking = enable_thinking | default(false) -%}\n{%- set add_generation_prompt = add_generation_prompt | default(false) -%}\n\n{#- ───── header (system message) ───── -#}\n{#- A caller-supplied system message with empty content opts out of the default below, producing no <system> 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  {{- \"<system>\" -}}\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    {{- \"<available_tools>\\n\" -}}\n    {%- for tool in tools -%}\n      {{- (tool | tojson) ~ \"\\n\" -}}\n    {%- endfor -%}\n    {{- \"</available_tools>\" -}}\n  {%- endif -%}\n\n  {{- \"</system>\\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    {{- \"<user>\" + content + \"</user>\\n\" -}}\n  {%- elif message.role == \"assistant\" -%}\n    {%- generation -%}\n      {{- \"<assistant>\" -}}\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 -%}\n        {{- '<think>' + reasoning_content + '</think>' -}}\n      {%- else -%}\n        {{- '</think>' -}}\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          {{- '<tool_call>' + function_data.name -}}\n          {%- set _args = function_data.arguments -%}\n          {%- for k, v in _args.items() -%}\n            {{- \"<arg_key>\" ~ k ~ \"</arg_key>\" -}}\n            {{- \"<arg_value>\" -}}{{- v | tojson(ensure_ascii=False) if v is not string else v -}}{{- \"</arg_value>\" -}}\n          {%- endfor -%}\n          {{- \"</tool_call>\" -}}\n        {%- endfor -%}\n      {%- endif -%}\n      {{- \"</assistant>\\n\" -}}\n    {%- endgeneration -%}\n  {%- elif message.role == \"tool\" -%}\n    {{- \"<tool_response>\" + content + \"</tool_response>\\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    {{- \"<system>\" + content + \"</system>\\n\" -}}\n  {%- endif -%}\n{%- endfor -%}\n{#- ───── generation prompt ───── -#}\n{%- if add_generation_prompt -%}\n  {{- \"<assistant>\" -}}\n  {#- ───── Include reasoning mode directive ───── -#}\n  {%- if enable_thinking -%}\n    {{- '<think>' -}}\n  {%- else -%}\n    {{- '</think>' -}}\n  {%- endif -%}\n{%- endif -%}"},"cardData":{"library_name":"transformers","inference":false,"extra_gated_description":"To learn more about how we process your personal data, please read our <a href=\"https://poolside.ai/legal/privacy\">Privacy Policy</a>.","tags":["laguna-xs-2.1","vllm"],"license":"openmdw-1.1","pipeline_tag":"text-generation"},"transformersInfo":{"auto_model":"AutoModelForCausalLM","pipeline_tag":"text-generation","processor":"AutoTokenizer"},"siblings":[{"rfilename":".eval_results/swe-bench_pro.yaml"},{"rfilename":".eval_results/swe-bench_verified.yaml"},{"rfilename":".eval_results/terminal-bench-2.0.yaml"},{"rfilename":".gitattributes"},{"rfilename":"LICENSE.md"},{"rfilename":"README.md"},{"rfilename":"chat_template.jinja"},{"rfilename":"config.json"},{"rfilename":"configuration_laguna.py"},{"rfilename":"generation_config.json"},{"rfilename":"model-00001-of-00014.safetensors"},{"rfilename":"model-00002-of-00014.safetensors"},{"rfilename":"model-00003-of-00014.safetensors"},{"rfilename":"model-00004-of-00014.safetensors"},{"rfilename":"model-00005-of-00014.safetensors"},{"rfilename":"model-00006-of-00014.safetensors"},{"rfilename":"model-00007-of-00014.safetensors"},{"rfilename":"model-00008-of-00014.safetensors"},{"rfilename":"model-00009-of-00014.safetensors"},{"rfilename":"model-00010-of-00014.safetensors"},{"rfilename":"model-00011-of-00014.safetensors"},{"rfilename":"model-00012-of-00014.safetensors"},{"rfilename":"model-00013-of-00014.safetensors"},{"rfilename":"model-00014-of-00014.safetensors"},{"rfilename":"model.safetensors.index.json"},{"rfilename":"modeling_laguna.py"},{"rfilename":"special_tokens_map.json"},{"rfilename":"tokenizer.json"},{"rfilename":"tokenizer_config.json"}],"spaces":["ginigen-ai/open-router-leaderboard","Pioneer37/Stickman-Arena","DeepImagix/self-trained2","Jindrich3/openajaj","abonaie222263/hf-openai-proxy","hoainamgo/Clone-Voice","dherain24/claude-proxy","Nothkly/test-logic-01","SilverElixir/Lumen","V1deh/PaperTrade","kosterik/MVP_HITECH","younginpiniti/coin-bridge","achal-ycce-7/_","TUFFBABY1/tungtungahur","Anee25/twin","HulkToigo/THCLLM","bep40/zalo-bot-webhook","bep40/zalo-proxy-59f5334c0703ee5db712","rickytzai/tab-mi064-reader","bep40/zalo-proxy-d0898d9c44dcad82f4cd","developerjeremylive/hf-openai-proxy-etheroi","Kitbarnes/golden-bots","SamJoshua/agent-harness-checks","SamJoshua/chat-template-toolcall-leaderboard"],"createdAt":"2026-06-20T14:14:26.000Z","safetensors":{"parameters":{"BF16":33442617088},"total":33442617088},"usedStorage":66889022016}