mirror of
https://github.com/open-compass/opencompass.git
synced 2025-05-30 16:03:24 +08:00
[Update] Update requirement and base evaluator
This commit is contained in:
parent
1c60e3a0f6
commit
854c6bf025
@ -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")
|
||||
|
@ -12,7 +12,7 @@ faiss_gpu==1.7.2
|
||||
# IFEval
|
||||
langdetect
|
||||
# TheoremQA
|
||||
latex2sympy2
|
||||
latex2sympy2==1.9.1
|
||||
# Lawbench, leval
|
||||
ltp
|
||||
# Math
|
||||
|
Loading…
Reference in New Issue
Block a user