diff --git a/opencompass/datasets/subjective/commonbench.py b/opencompass/datasets/subjective/commonbench.py index 9db15f16..7fee7528 100644 --- a/opencompass/datasets/subjective/commonbench.py +++ b/opencompass/datasets/subjective/commonbench.py @@ -7,6 +7,7 @@ from opencompass.registry import DICT_POSTPROCESSORS from .utils import get_judgeanswer_and_reference + def post_process(judgement: str): """Input a string like below: