# Install transformers from source
pip install git+ssh://[email protected]/huggingface/transformers.git@89d27fa6fff206c0153e9670ae09e2766eb75cdf
# Run setup script
bash setup.sh
# Install Qwen related packages
pip install git+ssh://[email protected]/cjakfskvnad/Qwen-Agent.git
pip install qwen-vl-utils
pip install torch==2.6.0 torchvision==0.21.0Run the training script:
bash src/open-r1-multimodal/run_grpo_rec.shTraining outputs will be saved to: src/open-r1-multimodal/output
bash /data/muze/VLM-R1/src/open-r1-multimodal/sft.shBefore running the script, please ensure your data follows the required format as shown in processed_data.json.
Note: Before running evaluation, make sure to configure the path to your model.
bash src/open-r1-multimodal/src/open_r1/eval.shbash src/open-r1-multimodal/src/open_r1/eval_1.sh