mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-25 17:10:51 +00:00
cfg
This commit is contained in:
parent
82ac4b27ba
commit
f404b2e603
1 changed files with 4 additions and 4 deletions
|
|
@ -64,8 +64,8 @@ data:
|
|||
prompt_key: prompt
|
||||
max_prompt_length: 4096
|
||||
max_response_length: 2048
|
||||
train_batch_size: 32
|
||||
val_batch_size: 64
|
||||
train_batch_size: 16
|
||||
val_batch_size: 8
|
||||
return_raw_chat: True
|
||||
return_raw_input_ids: True
|
||||
|
||||
|
|
@ -79,9 +79,9 @@ actor_rollout_ref:
|
|||
use_remove_padding: True
|
||||
actor:
|
||||
strategy: fsdp # This is for backward-compatibility
|
||||
ppo_mini_batch_size: 32
|
||||
ppo_mini_batch_size: 4
|
||||
ppo_micro_batch_size: null # will be deprecated, use ppo_micro_batch_size_per_gpu
|
||||
ppo_micro_batch_size_per_gpu: 8
|
||||
ppo_micro_batch_size_per_gpu: 4
|
||||
use_dynamic_bsz: False
|
||||
ppo_max_token_len_per_gpu: 49152 # n * ${data.max_prompt_length} + ${data.max_response_length}
|
||||
grad_clip: 1.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue