mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-22 16:49:06 +00:00
Add parameters to _generate_sentence_dataset
This commit is contained in:
parent
384a00ec71
commit
4d50cfd514
1 changed files with 2 additions and 0 deletions
|
|
@ -42,6 +42,8 @@ class SentenceReorderingDataset(ProceduralDataset):
|
|||
|
||||
Args:
|
||||
sentence (str): The correct sentence to use for dataset generation.
|
||||
seed (int): The seed to use for random number generation.
|
||||
idx (int): The index to add to the seed for random number generation.
|
||||
shuffle (bool): Whether to shuffle the words to create the input sentence.
|
||||
|
||||
Returns:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue