for ollama version: cookieshake/a.x-4.0-light-imatrix
use template below if you are using lmstudio
{%- if tools is iterable and tools | length > 0 %}
{{- '<|im_start|><|system|>'}}
{{- '๋น์ ์ ๋๊ตฌ ํธ์ถ ๊ธฐ๋ฅ์ ๊ฐ์ถ ์ ์ฉํ ๋์ฐ๋ฏธ์
๋๋ค. ์ฌ์ฉ์์ ์์ฒญ์ ์ฒ๋ฆฌํ๊ธฐ ์ํด์ ํ์ํ ๋๊ตฌ๊ฐ ์ฃผ์ด์ง ๋ชฉ๋ก์ ์๋ ๊ฒฝ์ฐ ๋๊ตฌ ํธ์ถ๋ก ์๋ตํ์ธ์.\nํ์ํ ๋๊ตฌ๊ฐ ๋ชฉ๋ก์ ์๋ ๊ฒฝ์ฐ์๋ ๋๊ตฌ ํธ์ถ ์์ด ์ฌ์ฉ์๊ฐ ์๊ตฌํ ์ ๋ณด๋ฅผ ์ ๊ณตํ์ธ์.\nํ์ํ ๋๊ตฌ๊ฐ ๋ชฉ๋ก์ ์์ง๋ง ํด๋น ๋๊ตฌ๋ฅผ ํธ์ถํ๋๋ฐ ํ์ํ argument ์ ๋ณด๊ฐ ๋ถ์กฑํ ๊ฒฝ์ฐ ํด๋น ์ ๋ณด๋ฅผ ์ฌ์ฉ์์๊ฒ ์์ฒญํ์ธ์.\n์ฌ์ฉ์์ ์์ฒญ์ ์ฒ๋ฆฌํ๊ธฐ ์ํด ์ฌ๋ฌ๋ฒ ๋๊ตฌ๋ฅผ ํธ์ถํ ์ ์์ด์ผ ํฉ๋๋ค.\n๋๊ตฌ ํธ์ถ ์ดํ ๋๊ตฌ ์คํ ๊ฒฐ๊ณผ๋ฅผ ์
๋ ฅ์ผ๋ก ๋ฐ์ผ๋ฉด ํด๋น ๊ฒฐ๊ณผ๋ฅผ ํ์ฉํ์ฌ ๋ต๋ณ์ ์์ฑํ์ธ์.\n\n๋ค์์ ์ ๊ทผํ ์ ์๋ ๋๊ตฌ๋ค์ ๋ชฉ๋ก ์
๋๋ค:\n<tools>\n' }}
{%- for t in tools %}
{{- t | tojson }}
{{- '\n' }}
{%- endfor %}
{{- '</tools>' }}
{{- '\n\n๋๊ตฌ๋ฅผ ํธ์ถํ๋ ค๋ฉด ์๋์ JSON์ผ๋ก ์๋ตํ์ธ์.\n๋๊ตฌ ํธ์ถ ํ์: <tool_call>{"name": ๋๊ตฌ ์ด๋ฆ, "arguments": dictionary ํํ์ ๋๊ตฌ ์ธ์๊ฐ}</tool_call>' }}
{{- '<|im_end|>' }}
{%- endif %}
{%- for message in messages %}
{%- if message.role == 'system' %}
{{- '<|im_start|><|system|>' + message.content + '<|im_end|>'}}
{%- elif message.role == 'user' %}
{{- '<|im_start|><|user|>' + message.content + '<|im_end|>'}}
{%- elif message.role == 'assistant' %}
{{- '<|im_start|><|assistant|>'}}
{%- set content = '' %}
{%- if message.content is defined %}
{%- set content = message.content %}
{%- endif %}
{%- if add_generation_prompt and not (message.reasoning_content is defined and message.reasoning_content is not none) %}
{%- if '</think>' in message.content %}
{%- set content = (message.content.split('</think>') | last).lstrip('\n') %}
{%- endif %}
{%- endif %}
{{- content}}
{%- if message.tool_calls is defined %}
{%- for tool_call in message.tool_calls %}
{%- if tool_call.function is defined %}
{%- set tool_call = tool_call.function %}
{%- endif %}
{#-- ์์ ์ : 'do' ๊ตฌ๋ฌธ์ ์ฌ์ฉํ์ง ์๋๋ก if/else๋ก ๋ก์ง์ ๋ณ๊ฒฝ --#}
{%- if tool_call.arguments is defined and tool_call.arguments %}
{%- set tc_data = {"name": tool_call.name, "arguments": tool_call.arguments} %}
{%- else %}
{%- set tc_data = {"name": tool_call.name} %}
{%- endif %}
{{- '<tool_call>' + (tc_data | tojson) + '</tool_call>' -}}
{%- endfor %}
{%- endif %}
{{- '<|im_end|>'}}
{%- elif message.role == 'tool' %}
{{- '<|im_start|><|extra_id_13|><tool_output>' + message.content + '</tool_output><|im_end|>'}}
{%- endif %}
{%- endfor %}
{%- if add_generation_prompt %}
{{- '<|im_start|><|assistant|>' }}
{%- endif %}
- Downloads last month
- 236
Hardware compatibility
Log In
to view the estimation
1-bit
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
Inference Providers
NEW
This model isn't deployed by any Inference Provider.
๐
Ask for provider support
Model tree for cookieshake/A.X-4.0-Light-Imatrix-GGUF
Base model
skt/A.X-4.0-Light