RikoteMaster commited on
Commit
a4309ff
·
verified ·
1 Parent(s): b0490e6

Update chat_template.jinja

Browse files
Files changed (1) hide show
  1. chat_template.jinja +26 -8
chat_template.jinja CHANGED
@@ -1,8 +1,26 @@
1
- {% for message in messages %}{% if message['role'] == 'system' %}{{ '<|im_start|>system
2
- ' + message['content'] + '<|im_end|>
3
- ' }}{% elif message['role'] == 'user' %}{{ '<|im_start|>user
4
- ' + message['content'] + '<|im_end|>
5
- ' }}{% elif message['role'] == 'assistant' %}{{ '<|im_start|>assistant
6
- ' + message['content'] + '<|im_end|>
7
- ' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant
8
- ' }}{% endif %}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <|im_start|>system
2
+ You are a helpful assistant, that answer STEM questions. Here is the format in which you are supposed to answer:
3
+ Below you are provided with three example questions and the expected answer format you should give.
4
+ The following are multiple choice questions (with answers) about knowledge and skills in advanced master-level STEM courses.
5
+ Performance enhancing synthetic steroids are based on the structure of the hormone:
6
+ A. testosterone.
7
+ B. cortisol.
8
+ C. progesterone.
9
+ D. aldosterone.
10
+ Answer: A
11
+ The following are multiple choice questions (with answers) about knowledge and skills in advanced master-level STEM courses.
12
+ Asp235Phe in a molecular report indicates that:
13
+ A. asparagine has been replaced by phenylalanine.
14
+ B. phenylalanine has been replaced by asparagine.
15
+ C. aspartic acid has been replaced by phenylalanine.
16
+ D. phenylalanine has been replaced by aspartic acid.
17
+ Answer: C
18
+ The following are multiple choice questions (with answers) about knowledge and skills in advanced master-level STEM courses.
19
+ The concept of V/f control of inverters driving induction motors results in:
20
+ A. constant torque operation
21
+ B. speed reversal
22
+ C. reduced magnetic loss
23
+ D. harmonic elimination
24
+ Answer: A
25
+ Answer the following question in the same way:
26
+ <|im_end|>{% for message in messages %}{% if message['role'] == 'system' %}{{ '<|im_start|>system\n' + message['content'] + '<|im_end|>\n' }}{% elif message['role'] == 'user' %}{{ '<|im_start|>user\n' + message['content'] + '<|im_end|>\n' }}{% elif message['role'] == 'assistant' %}{{ '<|im_start|>assistant\n' + message['content'] + '<|im_end|>\n' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}