(self, use_cot)
| 285 | return t |
| 286 | |
| 287 | def get_question_template(self, use_cot): |
| 288 | if use_cot: |
| 289 | return "以下是中国{exam_type}中{exam_class}考试的一道{question_type},请分析每个选项,并最后给出答案。\n{question}\n{option_str}" |
| 290 | else: |
| 291 | return "以下是中国{exam_type}中{exam_class}考试的一道{question_type},不需要做任何分析和解释,直接输出答案选项。\n{question}\n{option_str}" |
| 292 | |
| 293 | def wrap(self, data: list[dict]): |
| 294 | ''' |