You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m new to RL and deep learning, so my question might seem simple. I would greatly appreciate any advice!
I’m using LLM to solve a multi-step sequence generation task. At each step:
The model receives (a) a system prompt and (b) the current sequence generated so far.
The model must choose one of three actions:
Append something new to the sequence
Remove/modify something already in the current sequence
Terminate the generation process
I have implemented multiple reward functions to evaluate each action (append/remove/modify/terminate). Thus, the RL loop is:
Model generates an action.
Reward functions evaluate that action and assign a reward.
Model updates itself based on these rewards.
Conceptually, this fits the GRPO training loop. The problem is, my training data is not a fixed (“static”) dataset—instead, it’s generated on‐the‐fly from the model’s own past outputs. According to #3213 , the current GRPO Trainer does not support IterableDataset.
Question: What’s the recommended way to handle a dynamically generated dataset with GRPO Trainer? Is there a workaround, or do I need to implement a custom training loop? Thank you for any pointers!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I’m new to RL and deep learning, so my question might seem simple. I would greatly appreciate any advice!
I’m using LLM to solve a multi-step sequence generation task. At each step:
I have implemented multiple reward functions to evaluate each action (append/remove/modify/terminate). Thus, the RL loop is:
Conceptually, this fits the GRPO training loop. The problem is, my training data is not a fixed (“static”) dataset—instead, it’s generated on‐the‐fly from the model’s own past outputs. According to #3213 , the current GRPO Trainer does not support IterableDataset.
Question: What’s the recommended way to handle a dynamically generated dataset with GRPO Trainer? Is there a workaround, or do I need to implement a custom training loop? Thank you for any pointers!
Beta Was this translation helpful? Give feedback.
All reactions