richardyoung commited on
Commit
a4ffc81
·
verified ·
1 Parent(s): 458c80e

Upload MLX-4bit/chat_template.jinja with huggingface_hub

Browse files
Files changed (1) hide show
  1. MLX-4bit/chat_template.jinja +7 -0
MLX-4bit/chat_template.jinja ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ Solve the following math problem step by step. The last line of your response should be the answer to the problem in form Answer: $Answer (without quotes) where $Answer is the answer to the problem.
2
+
3
+ {% for message in messages %}{{ '
4
+
5
+ ' if not loop.first else '' }}{{ message['content'] + '
6
+ ' }}{% if loop.last and add_generation_prompt %}{{ '
7
+ Remember to put your answer on its own line after "Answer:"' }}{% endif %}{% endfor %}