Upload rl_code/examples/qwen2_5_vl_3b_geo3k_grpo.sh with huggingface_hub
Browse files
rl_code/examples/qwen2_5_vl_3b_geo3k_grpo.sh
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
|
| 3 |
+
set -x
|
| 4 |
+
|
| 5 |
+
export PYTHONUNBUFFERED=1
|
| 6 |
+
|
| 7 |
+
MODEL_PATH=Qwen/Qwen2.5-VL-3B-Instruct # replace it with your local file path
|
| 8 |
+
|
| 9 |
+
python3 -m verl.trainer.main \
|
| 10 |
+
config=examples/config.yaml \
|
| 11 |
+
data.train_files=hiyouga/geometry3k@train \
|
| 12 |
+
data.val_files=hiyouga/geometry3k@test \
|
| 13 |
+
worker.actor.model.model_path=${MODEL_PATH} \
|
| 14 |
+
worker.rollout.tensor_parallel_size=1 \
|
| 15 |
+
trainer.experiment_name=qwen2_5_vl_3b_geo_grpo \
|
| 16 |
+
trainer.n_gpus_per_node=2
|