Upload MLX-4bit/chat_template.jinja with huggingface_hub
Browse files
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 %}
|