Download scripts/exp/run_debug.sh from HexBuddy/LHM: direct link, hf CLI and curl.
- Browser
- Download file 371 Bytes
-
https://huggingface.co/spaces/HexBuddy/LHM/resolve/main/scripts/exp/run_debug.sh
- Command line
-
hf download hf://spaces/HexBuddy/LHM/scripts/exp/run_debug.sh
-
curl -L -o run_debug.sh https://huggingface.co/spaces/HexBuddy/LHM/resolve/main/scripts/exp/run_debug.sh
371 Bytes
| ACC_CONFIG="./configs/accelerate-train-1gpu.yaml" | |
| if [ -n "$1" ]; then | |
| TRAIN_CONFIG=$1 | |
| else | |
| TRAIN_CONFIG="./configs/train-sample-human.yaml" | |
| fi | |
| if [ -n "$2" ]; then | |
| MAIN_PORT=$2 | |
| else | |
| MAIN_PORT=12345 | |
| fi | |
| accelerate launch --config_file $ACC_CONFIG --main_process_port=$MAIN_PORT -m openlrm.launch train.human_lrm --config $TRAIN_CONFIG |