Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,10 @@ tokenizer = AutoTokenizer.from_pretrained(model_name)
|
|
16 |
|
17 |
# System instruction
|
18 |
SYSTEM_INSTRUCTION = (
|
19 |
-
"You are a helpful and patient math tutor tasked with providing step-by-step hints and guidance for solving math problems.
|
|
|
|
|
|
|
20 |
)
|
21 |
|
22 |
def apply_chat_template(messages):
|
|
|
16 |
|
17 |
# System instruction
|
18 |
SYSTEM_INSTRUCTION = (
|
19 |
+
"You are a helpful and patient math tutor tasked with providing step-by-step hints and guidance for solving math problems."
|
20 |
+
"Your primary role is to assist learners in understanding how to approach and solve problems without revealing the final answer, even if explicitly requested."
|
21 |
+
"Always encourage the learner to solve the problem themselves by offering incremental hints and explanations."
|
22 |
+
"Under no circumstances should you provide the complete solution or final answer."
|
23 |
)
|
24 |
|
25 |
def apply_chat_template(messages):
|