From 8d910aad84a0fe8723c1e0c43304907d1ada9dfe Mon Sep 17 00:00:00 2001 From: MaiziXiao Date: Thu, 13 Mar 2025 11:50:28 +0000 Subject: [PATCH] update --- opencompass/openicl/icl_evaluator/icl_base_evaluator.py | 4 ++-- requirements/extra.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/opencompass/openicl/icl_evaluator/icl_base_evaluator.py b/opencompass/openicl/icl_evaluator/icl_base_evaluator.py index 42da0799..e2aad9be 100644 --- a/opencompass/openicl/icl_evaluator/icl_base_evaluator.py +++ b/opencompass/openicl/icl_evaluator/icl_base_evaluator.py @@ -190,8 +190,8 @@ class BaseEvaluator: detail.pop('predictions') return eval_results - # If there are no details, return an empty dictionary - return {} + # If there are no details, return results + return results def score(self): raise NotImplementedError("Method hasn't been implemented yet") diff --git a/requirements/extra.txt b/requirements/extra.txt index a98b3bc8..fd3f7a2f 100644 --- a/requirements/extra.txt +++ b/requirements/extra.txt @@ -12,7 +12,7 @@ faiss_gpu==1.7.2 # IFEval langdetect # TheoremQA -latex2sympy2 +latex2sympy2==1.9.1 # Lawbench, leval ltp # Math