This commit is contained in:
Oliver 2025-04-28 23:17:41 +01:00
parent 82ac4b27ba
commit f404b2e603

View file

@ -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