From 3c93ff12034b4ee00f1145eefe67ac512ca0a2d5 Mon Sep 17 00:00:00 2001 From: ChenJieting Date: Wed, 25 Oct 2023 18:32:00 +0800 Subject: [PATCH] update --- examples/flows/evaluation/eval-chat-math/line_process.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/flows/evaluation/eval-chat-math/line_process.py b/examples/flows/evaluation/eval-chat-math/line_process.py index e344a421eb8..63265208a49 100644 --- a/examples/flows/evaluation/eval-chat-math/line_process.py +++ b/examples/flows/evaluation/eval-chat-math/line_process.py @@ -3,7 +3,7 @@ def string_to_number(raw_string: str) -> float: ''' Try to parse the prediction string and groundtruth string to float number. Support parse int, float, fraction and recognize non-numeric string with wrong format. - Wrong format cases: 'the answer is \box{2/3}', '4/7//8' + Wrong format cases: 'the answer is \box{2/3}', '0, 5, or any number greater than 11', '4/7//9' ''' float_number = 0.0 try: