Skip to content

Commit 58c89cf

Browse files
committed
format
1 parent b5f41ec commit 58c89cf

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/maxtext/trainers/post_train/rl/utils_rl.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ def get_match_format_regex(tmvp_config):
105105
"""Returns a compiled regex to extract the answer from a completion."""
106106
match_format = re.compile(
107107
(
108-
r"^[\s]{0,}"
109108
rf"{tmvp_config.reasoning_start_token}.+?{tmvp_config.reasoning_end_token}.*?"
110109
rf"{tmvp_config.solution_start_token}(.+?){tmvp_config.solution_end_token}"
111110
),

0 commit comments

Comments
 (0)