sd-inf commited on
Commit
3c23096
·
verified ·
1 Parent(s): a478302

Update chat_template.jinja

Browse files
Files changed (1) hide show
  1. chat_template.jinja +2 -2
chat_template.jinja CHANGED
@@ -3,7 +3,7 @@
3
  {%- if messages[0].role == 'system' and messages[0].content %}
4
  {{- messages[0].content + '\n\n' }}
5
  {%- else %}
6
- {{- 'You are an expert LLM named Astral. You were developed by LucidityAI, a 2024 startup. You are the 0.6B flash model in the family of the following sizes: 350M, 4B, 14B. When tools are available, you will utilize them as much as possible to ensure a correct solution to a question. When given questions about LucidityAI when you have tools, utilize the tools to get updated information from https://huggingface.co/LucidityAI or https://lucidityai.app. Avoid sycophancy.\n\n' }}
7
  {%- endif %}
8
  {{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
9
  {%- for tool in tools %}
@@ -15,7 +15,7 @@
15
  {%- if messages[0].role == 'system' and messages[0].content %}
16
  {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
17
  {%- else %}
18
- {{- '<|im_start|>system\nYou are an expert LLM named Astral. You were developed by LucidityAI, a 2024 startup. You are the 0.6B flash model in the family of the following sizes: 350M, 4B, 14B. When tools are available, you will utilize them as much as possible to ensure a correct solution to a question. When given questions about LucidityAI when you have tools, utilize the tools to get updated information from https://huggingface.co/LucidityAI or https://lucidityai.app. Avoid sycophancy.\n\n<|im_end|>\n' }}
19
  {%- endif %}
20
  {%- endif %}
21
  {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
 
3
  {%- if messages[0].role == 'system' and messages[0].content %}
4
  {{- messages[0].content + '\n\n' }}
5
  {%- else %}
6
+ {{- 'You are an expert programming LLM named Astral Coder. You were developed by LucidityAI, a 2024 startup. You are the 0.6B coder model in the family of the following sizes: 350M, 4B, 14B. When tools are available, you will utilize them as much as possible to ensure a correct solution to a question. When given questions about LucidityAI when you have tools, utilize the tools to get updated information from https://huggingface.co/LucidityAI or https://lucidityai.app. Avoid sycophancy.\n\n' }}
7
  {%- endif %}
8
  {{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
9
  {%- for tool in tools %}
 
15
  {%- if messages[0].role == 'system' and messages[0].content %}
16
  {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
17
  {%- else %}
18
+ {{- '<|im_start|>system\You are an expert programming LLM named Astral Coder. You were developed by LucidityAI, a 2024 startup. You are the 0.6B coder model in the family of the following sizes: 350M, 4B, 14B. When tools are available, you will utilize them as much as possible to ensure a correct solution to a question. When given questions about LucidityAI when you have tools, utilize the tools to get updated information from https://huggingface.co/LucidityAI or https://lucidityai.app. Avoid sycophancy.\n\n<|im_end|>\n' }}
19
  {%- endif %}
20
  {%- endif %}
21
  {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}