-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtrain_zero_svg.sh
More file actions
51 lines (51 loc) · 1.35 KB
/
train_zero_svg.sh
File metadata and controls
51 lines (51 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
python train_zero_svg.py \
--critic_type grpo \
--gpus 8 \
--seed 32 \
--enable_prefix_caching \
--collocate \
--vllm_sleep \
--vllm_gpu_ratio 0.35 \
--gradient-checkpointing \
--flash-attn \
--bf16 \
--learning_rate 0.000001 \
--lr_scheduler constant \
--num_ppo_epochs 1 \
--beta 0 \
--oracle_type reward \
--oracle svg \
--pretrain Qwen/Qwen2.5-7B \
--prompt_template r1_svg \
--zero-stage 2 \
--ref_offload \
--train_split train \
--input_key solution \
--output_key image_path \
--max-train 100000 \
--num_prompt_epoch 10 \
--prompt_max_length 512 \
--num_samples 8 \
--temperature 1 \
--top_p 1 \
--generate_max_length 3000 \
--log_completion_steps 10 \
--save_steps 30 \
--train_batch_size 128 \
--train_batch_size_per_device 1 \
--mini_train_batch_size_per_device 1 \
--rollout_batch_size 128 \
--rollout_batch_size_per_device 16 \
--pi_buffer_maxlen_per_device 128 \
--eval_batch_size 50 \
--eval_steps -1 \
--eval_temperature 1 \
--eval_generate_max_length 3000 \
--eval_data ./datasets/evaluation_suite \
--eval_input_key input \
--use-wb \
--wb_project oat-zero-svg \
--wb-run-name reward_siglipsmall \
--prompt_data_svg coco_mix \
--clip_model clip_small \
--dino_coeff 0