mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-30 17:40:45 +00:00
formatted answer as str
This commit is contained in:
parent
6b82654074
commit
d0200d1dbe
1 changed files with 1 additions and 1 deletions
|
|
@ -187,7 +187,7 @@ class AliceInWonderlandDataset(ProceduralDataset):
|
|||
num_female_colleagues_bob_circle=num_female_colleagues_bob_circle,
|
||||
)
|
||||
|
||||
return {"question": question, "answer": answer, "metadata": {"task_type": task_type.value}}
|
||||
return {"question": question, "answer": str(answer), "metadata": {"task_type": task_type.value}}
|
||||
|
||||
def __getitem__(self, idx: int) -> dict:
|
||||
rng = Random(self.seed + idx)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue