From 0efb4e0192f49bd6bc186539d023af083d140cdc Mon Sep 17 00:00:00 2001 From: joesharratt1229 Date: Sun, 16 Feb 2025 18:26:24 +0000 Subject: [PATCH] restrcutured maze prompt template --- reasoning_gym/games/maze.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reasoning_gym/games/maze.py b/reasoning_gym/games/maze.py index cc110f42..c656755e 100644 --- a/reasoning_gym/games/maze.py +++ b/reasoning_gym/games/maze.py @@ -95,7 +95,8 @@ class MazeDataset(ProceduralDataset): + "\n```" + "\nLegend: " + f"'{self.wall_char}' = Wall, '{self.path_char}' = Passage\n\n" - + "What is the minimum number of steps to reach the goal?" + + "What is the minimum number of steps to reach the goal?\n" + + "Give only the number of steps as your final answer, no other text or formatting." ) return {