Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishivi committed Jan 22, 2025
1 parent d9762da commit 947f002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion open_instruct/grpo_vllm_thread_ray_gtrl.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ class Args:
"""What dataset to upload the metadata to. If unset, don't upload metadata"""

def __post_init__(self):
assert self.num_samples_per_prompt > 1, "Number of samples per prompt must be greater than 1 for GRPO!"
assert self.number_samples_per_prompt > 1, "Number of samples per prompt must be greater than 1 for GRPO!"
self.dataset_mixer_dict, self.dataset_mixer = process_dataset_mixer(self.dataset_mixer)
if self.dataset_eval_mixer is not None:
self.dataset_eval_mixer_dict, self.dataset_eval_mixer = process_dataset_mixer(self.dataset_eval_mixer)
Expand Down

0 comments on commit 947f002

Please sign in to comment.