matverest commited on
Commit
ba62d85
·
verified ·
1 Parent(s): 00b5ff3

Update chat_template.jinja

Browse files
Files changed (1) hide show
  1. chat_template.jinja +5 -7
chat_template.jinja CHANGED
@@ -1,11 +1,9 @@
1
- {%- set sys =
2
- "You are an expert in advanced master-level STEM multiple-choice questions.\n"
3
- ~ "When given a question with choices A through D:\n"
4
- ~ "1. Do NOT output any chain-of-thought or explanation.\n"
5
- ~ "2. ONLY output exactly one of these four tokens (including the leading space): \" A\", \" B\", \" C\", or \" D\".\n"
6
- ~ "3. Do not add any punctuation or extra text before or after."
7
  -%}
8
- {%- set usr = messages[0].content | replace('Answer:', '') -%}
9
  {{- "<|im_start|>system\n" ~ sys ~ "\n<|im_end|>\n" -}}
10
  {{- "<|im_start|>user\n" ~ usr ~ "\n<|im_end|>\n" -}}
11
  {{- "<|im_start|>assistant\n""\nAnswer:" -}}
 
1
+ {%- set sys =
2
+ "You are an expert in STEM multiple-choice questions.\n"
3
+ ~ "Pick the correct option: A, B, C, D.\n"
4
+ ~ "After \"Answer:\" reply directly with that single token.\n"
 
 
5
  -%}
6
+ {%- set usr = messages[0].content | replace('Answer:', 'Pick the letter of the correct option (A, B, C, D)') -%}
7
  {{- "<|im_start|>system\n" ~ sys ~ "\n<|im_end|>\n" -}}
8
  {{- "<|im_start|>user\n" ~ usr ~ "\n<|im_end|>\n" -}}
9
  {{- "<|im_start|>assistant\n""\nAnswer:" -}}