Download code/slurm/pheno_array.sh from bryan7264/lorapop: direct link, hf CLI and curl.
- Browser
- Download file 907 Bytes
-
https://huggingface.co/datasets/bryan7264/lorapop/resolve/main/code/slurm/pheno_array.sh
- Command line
-
hf download hf://datasets/bryan7264/lorapop/code/slurm/pheno_array.sh
-
curl -L -o pheno_array.sh https://huggingface.co/datasets/bryan7264/lorapop/resolve/main/code/slurm/pheno_array.sh
907 Bytes
| #SBATCH -p gpu_rtx6000 | |
| #SBATCH --gpus=1 | |
| #SBATCH -c 8 | |
| #SBATCH --mem=64G | |
| #SBATCH -t 06:00:00 | |
| #SBATCH -J ph_q05 | |
| #SBATCH -o /home/bjc75/other/finetuning/logs/%x_%A_%a.out | |
| # MIT License, Bryan Cheng, 2026. Full-battery phenotyping, one shard per array task (RESEARCH_PLAN 4). Resumable. | |
| cd /home/bjc75/other/finetuning | |
| export PYTHONUNBUFFERED=1 TOKENIZERS_PARALLELISM=false HF_HOME=/nfs/roberts/scratch/pi_skr2/bjc75/finetuning/hf_home | |
| BASE=${BASE:-Qwen/Qwen2.5-0.5B-Instruct}; AD=${AD:-data/raw/adapters/Qwen__Qwen2.5-0.5B-Instruct}; OUT=${OUT:-results/phenotypes/qwen05} | |
| NS=${NS:-16}; EXTRA=""; [ "$SLURM_ARRAY_TASK_ID" = "0" ] && EXTRA="--include_base" | |
| /nfs/roberts/project/pi_skr2/bjc75/conda_envs/lorapop/bin/python src/run/phenotype.py --base $BASE --adapters $AD \ | |
| --out $OUT --shard $SLURM_ARRAY_TASK_ID --nshards $NS $EXTRA --sizes full --bs 128 --gbs 256 --group 8 2>&1 | grep -v -i warn | |