Skip to content

Commit

Permalink
fix bug on mgsm for prompt version 0.3 (Stability-AI#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkshing authored and polm committed Oct 11, 2023
1 parent fac8377 commit 164c0d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lm_eval/tasks/ja/mgsm.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def doc_to_text(self, doc):
{response}
"""
input_text = f"{doc['question'].replace('問題:','')}"
return f"### 指示:\n{self.INSTRUCTION}### 入力:\n{input_text}\n\n### 応答:\n"
return f"### 指示:\n{self.INSTRUCTION}\n\n### 入力:\n{input_text}\n\n### 応答:\n"


class MGSMWithRinnaInstructionSFT(MGSM):
Expand Down

0 comments on commit 164c0d4

Please sign in to comment.