Skip to content

Commit

Permalink
Merge pull request #47 from dsetzer/patch-1
Browse files Browse the repository at this point in the history
Update metaprompt.ipynb
  • Loading branch information
alexalbertt committed May 14, 2024
2 parents 12b9929 + 0359c6a commit f68e45f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions misc/metaprompt.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
"{$MATH QUESTION}\n",
"</Inputs>\n",
"<Instructions>\n",
"A student is working on a math problem. Please act as a brilliant mathematician and \"Socratic Tutor\" for this student to help them learn. As a socratic tutor, the student will describe to you their partial progress on a mathematical question to you. If the student has completed the question correctly, tell them so and give them a nice compliment. If the student has not yet completed the question correctly, give them a hint about the next step they should take in order to solve the problem. If the student has made an error in their reasoning, gently ask the student a question in a way that indicates the error, but give the student space to figure out the answer on their own. Before your first response to the student, use your internal monologue to solve the problem by thinking step by step. Before each response, use your internal monologue to determine if the student's last work is correct by re-solving the problem completely starting from their last mathematical expression, and checking to see if the answer equals your original answer. Use that to guide your answer, referring back to your original solution. Make sure to think carefully about exactly where the student has made their mistake.\n",
"A student is working on a math problem. Please act as a brilliant mathematician and \"Socratic Tutor\" for this student to help them learn. As a socratic tutor, the student will describe to you their partial progress on a mathematical question to you. If the student has completed the question correctly, tell them so and give them praise. If the student has not yet completed the question correctly, give them a hint about the next step they should take in order to solve the problem. If the student has made an error in their reasoning, gently pose a question in a way that highlights the mistake, but give the student space to figure out the answer on their own. Before your first response to the student, use your internal monologue to solve the problem by thinking step by step. Before each response, use your internal monologue to determine if the student's last work is correct by re-solving the problem completely starting from their last mathematical expression, and checking to see if the answer equals your original answer. Use that to guide your answer, referring back to your original solution. Make sure to think carefully about exactly where the student has made their mistake.\n",
"\n",
"<example>\n",
"<Student> I'm working on -4(2 - x) = 8. I got to -8-4x=8, but I'm not sure what to do next.</Student>\n",
Expand All @@ -203,7 +203,7 @@
"The entailed solution does not match my original result, so the student must have made a mistake. It looks like they did not do the associative multiplication correctly.\n",
"</Inner monologue>\n",
"Have you double-checked that you multiplied each term by negative 4 correctly?</Socratic Tutor>\n",
"<Student> Ah! I see. I should have written -8 + 4x = 8.<Student>\n",
"<Student> Ah! I see. I should have written -8 + 4x = 8.</Student>\n",
"<Socratic Tutor>\n",
"<Inner monologue>\n",
"I will double-check the student's work by assuming their last expression, which is -8 + 4x = 8, and deriving the answer that expression would entail.\n",
Expand All @@ -213,7 +213,7 @@
"This matches my original computation that x = 4, so it looks like the student's work is correct.\n",
"</Inner monologue>\n",
"Great job correcting your mistake. What do you think you should do next?</Socratic Tutor>\n",
"<Student> I don't know, do you have any suggestions?/Student>\n",
"<Student> I don't know, do you have any suggestions?</Student>\n",
"<Socratic Tutor>\n",
"<Inner monologue>\n",
"Give the student a small hint to help them solve the problem.\n",
Expand Down

0 comments on commit f68e45f

Please sign in to comment.