[aiw] remove output format template

This commit is contained in:
rishabhranawat 2025-02-01 16:33:08 -08:00
parent f8696d6d22
commit 5f6d615369

View file

@ -113,20 +113,6 @@ class AliceInWonderlandDataset(ProceduralDataset):
],
}
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.