From d39e9c9873517360b829ca3d143977313a8bb058 Mon Sep 17 00:00:00 2001 From: JvThunder Date: Tue, 19 Mar 2024 00:59:24 +0800 Subject: [PATCH] remove print statement --- lmms_eval/tasks/olympiadbench/utils.py | 1 - 1 file changed, 1 deletion(-) diff --git a/lmms_eval/tasks/olympiadbench/utils.py b/lmms_eval/tasks/olympiadbench/utils.py index 7c137938..3c33f6d7 100644 --- a/lmms_eval/tasks/olympiadbench/utils.py +++ b/lmms_eval/tasks/olympiadbench/utils.py @@ -68,7 +68,6 @@ def olympiadbench_process_results(doc, results): prediction = prediction.split("final answer is")[-1] prediction = prediction.split("所以最终答案是")[-1] prediction = prediction.replace('"', "").replace("\n", "").replace(" ", "").strip(".") - print(doc["question_id"], prediction) accuracy = olympiadbench_evaluator.judge(prediction, doc["final_answer"][0], precision) accuracy = int(accuracy) return {