Download setup.sh from DingZhenDojoCat/Video-R1: direct link, hf CLI and curl.
- Browser
- Download file 464 Bytes
-
https://huggingface.co/DingZhenDojoCat/Video-R1/resolve/main/setup.sh
- Command line
-
hf download hf://DingZhenDojoCat/Video-R1/setup.sh
-
curl -L -o setup.sh https://huggingface.co/DingZhenDojoCat/Video-R1/resolve/main/setup.sh
464 Bytes
| # Install the packages in r1-v . | |
| cd src/r1-v | |
| pip install -e ".[dev]" | |
| # Addtional modules | |
| pip install wandb==0.18.3 | |
| pip install tensorboardx | |
| pip install qwen_vl_utils torchvision | |
| pip install flash-attn --no-build-isolation | |
| # vLLM support | |
| pip install vllm==0.7.2 | |
| pip install nltk | |
| pip install rouge_score | |
| pip install deepspeed | |
| # fix transformers version | |
| # pip install git+https://github.com/huggingface/transformers.git@336dc69d63d56f232a183a3e7f52790429b871ef | |