miyuki2026 commited on
Commit
7ed203a
·
1 Parent(s): 6dc80de
examples/tutorials/grpo/step_2_train_grpo_model_unsloth_ddp.py CHANGED
@@ -20,11 +20,11 @@ nohup torchrun --nproc_per_node=4 step_2_train_grpo_model_unsloth_ddp.py \
20
  --valid_dataset_size 320 \
21
  --lora_rank 16 \
22
  --num_train_epochs 1 \
23
- --per_device_batch_size 32 \
24
- --gradient_accumulation_steps 1 \
25
  --learning_rate 5e-6 \
26
  --num_generations 8 \
27
- --steps_per_generation 4 \
28
  &
29
 
30
  kill -9 `ps -aef | grep 'step_2_train_grpo_model_unsloth_ddp.py' | grep -v grep | awk '{print $2}'`
 
20
  --valid_dataset_size 320 \
21
  --lora_rank 16 \
22
  --num_train_epochs 1 \
23
+ --per_device_batch_size 16 \
24
+ --gradient_accumulation_steps 2 \
25
  --learning_rate 5e-6 \
26
  --num_generations 8 \
27
+ --steps_per_generation 16 \
28
  &
29
 
30
  kill -9 `ps -aef | grep 'step_2_train_grpo_model_unsloth_ddp.py' | grep -v grep | awk '{print $2}'`