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