[Update] Update requirement and base evaluator

This commit is contained in:
Linchen Xiao 2025-03-13 20:52:50 +08:00 committed by GitHub
parent 1c60e3a0f6
commit 854c6bf025
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -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")

View File

@ -12,7 +12,7 @@ faiss_gpu==1.7.2
# IFEval
langdetect
# TheoremQA
latex2sympy2
latex2sympy2==1.9.1
# Lawbench, leval
ltp
# Math