File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6666 off_policy_steps : 0
6767 # System prompt injected into the agent at rollout time.
6868 system_prompt : ' '
69- # If true, mask degenerate groups (all-zero advantages) from contributing to the loss.
70- degenerate_group_masking : true
7169 # Upper-bound clipping epsilon for GRPO loss; defaults to grpo_epsilon when null.
7270 epsilon_high : null
7371 # Number of model keys to chunk for resharding tensors between trainer and rollout devices.
Original file line number Diff line number Diff line change @@ -2156,10 +2156,6 @@ class RL(BaseModel):
21562156 "" ,
21572157 description = "System prompt injected into the agent at rollout time (agentic only)." ,
21582158 )
2159- degenerate_group_masking : bool = Field (
2160- True ,
2161- description = "Mask degenerate groups (all-zero advantages) from contributing to loss (agentic only)." ,
2162- )
21632159 epsilon_high : Optional [float ] = Field (
21642160 None ,
21652161 description = "Upper-bound clipping epsilon for GRPO loss. Defaults to epsilon when None (agentic only)." ,
Original file line number Diff line number Diff line change @@ -580,7 +580,6 @@ def _reward_fn(**kwargs):
580580 max_concurrency = trainer_config .rl .max_concurrency ,
581581 off_policy_steps = trainer_config .rl .off_policy_steps ,
582582 system_prompt = trainer_config .rl .system_prompt ,
583- degenerate_group_masking = trainer_config .rl .degenerate_group_masking ,
584583 epsilon_high = trainer_config .rl .epsilon_high ,
585584 )
586585 # Instantiate the custom MaxText chat parser
You can’t perform that action at this time.
0 commit comments