Skip to content

Commit

Permalink
[aiw] remove output format template
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhranawat committed Feb 2, 2025
1 parent f8696d6 commit 5f6d615
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions reasoning_gym/logic/aiw.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,20 +113,6 @@ def __init__(self, config: AliceInWonderlandConfig):
],
}

self.format_templates = {
OutputFormat.PLAIN: Template("$question"),
OutputFormat.RESTRICTED: Template(
"$question To answer the question, DO NOT OUTPUT ANY TEXT EXCEPT "
'following format that contains final answer: "### Answer:"'
),
OutputFormat.THINKING: Template(
"$question Before providing answer to this problem, think "
"carefully step by step and double check the path to the "
'correct solution for any mistakes. Provide then the final '
'answer in following form: "### Answer:"'
),
}

def _get_aiw(self, rng: Random) -> dict:
"""Generates a single Alice in Wonderland question.
Expand Down

0 comments on commit 5f6d615

Please sign in to comment.