mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-05-02 17:45:58 +00:00
adjusted gsm symbolic question template
This commit is contained in:
parent
72886c0668
commit
fff40f4f36
1 changed files with 3 additions and 1 deletions
|
|
@ -148,7 +148,9 @@ class GSMSymbolicDataset(ProceduralDataset):
|
|||
rng = Random(self.seed + idx)
|
||||
generator_idx = self.task_indices[idx]
|
||||
generator = self.generators[generator_idx]
|
||||
return generator(rng, self.config.difficulty)
|
||||
example = generator(rng, self.config.difficulty)
|
||||
example["question"] += " Give only the result as your final answer."
|
||||
return example
|
||||
|
||||
|
||||
register_dataset("gsm_symbolic", GSMSymbolicDataset, GSMSymbolicDatasetConfig)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue