Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/maxtext/configs/post_train/rl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ rl:
off_policy_steps: 0
# System prompt injected into the agent at rollout time.
system_prompt: ''
# If true, mask degenerate groups (all-zero advantages) from contributing to the loss.
degenerate_group_masking: true
# Upper-bound clipping epsilon for GRPO loss; defaults to grpo_epsilon when null.
epsilon_high: null
# Number of model keys to chunk for resharding tensors between trainer and rollout devices.
Expand Down
4 changes: 0 additions & 4 deletions src/maxtext/configs/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -2156,10 +2156,6 @@ class RL(BaseModel):
"",
description="System prompt injected into the agent at rollout time (agentic only).",
)
degenerate_group_masking: bool = Field(
True,
description="Mask degenerate groups (all-zero advantages) from contributing to loss (agentic only).",
)
epsilon_high: Optional[float] = Field(
None,
description="Upper-bound clipping epsilon for GRPO loss. Defaults to epsilon when None (agentic only).",
Expand Down
1 change: 0 additions & 1 deletion src/maxtext/trainers/post_train/rl/train_rl.py
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,6 @@ def _reward_fn(**kwargs):
max_concurrency=trainer_config.rl.max_concurrency,
off_policy_steps=trainer_config.rl.off_policy_steps,
system_prompt=trainer_config.rl.system_prompt,
degenerate_group_masking=trainer_config.rl.degenerate_group_masking,
epsilon_high=trainer_config.rl.epsilon_high,
)
# Instantiate the custom MaxText chat parser
Expand Down
Loading