mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-22 16:49:06 +00:00
clarity
This commit is contained in:
parent
b208dc664e
commit
0a4799d99a
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ class DiceDataset(ProceduralDataset):
|
|||
"""
|
||||
rng = Random(self.seed + idx)
|
||||
puzzle = generate_puzzle(self.config.num_dice, self.config.max_dice_size, rng)
|
||||
puzzle_str = f"I have these dice: {puzzle['dice_str']}. What are the odds of rolling {puzzle['target']} or higher? Please respond with a reduced fraction representing the probability [ex., 1/60]."
|
||||
puzzle_str = f"I have these dice: {puzzle['dice_str']}. What are the odds of rolling {puzzle['target']} or higher? (Assume that all dice are rolled at once, and that '1d6' represents one roll of a 6-sided dice.) Please respond with a reduced fraction representing the probability [ex., 1/60]."
|
||||
answer_str = f"{puzzle['num']}/{puzzle['den']}"
|
||||
|
||||
return {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue