Skip to content

Commit

Permalink
remove print statement
Browse files Browse the repository at this point in the history
  • Loading branch information
JvThunder committed Mar 18, 2024
1 parent c0b3ada commit d39e9c9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lmms_eval/tasks/olympiadbench/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d39e9c9

Please sign in to comment.