Download code/work/scan_devel.sh.bak from bryan7264/lorapop: direct link, hf CLI and curl.
- Browser
- Download file 967 Bytes
-
https://huggingface.co/datasets/bryan7264/lorapop/resolve/main/code/work/scan_devel.sh.bak
- Command line
-
hf download hf://datasets/bryan7264/lorapop/code/work/scan_devel.sh.bak
-
curl -L -o scan_devel.sh.bak https://huggingface.co/datasets/bryan7264/lorapop/resolve/main/code/work/scan_devel.sh.bak
967 Bytes
| #SBATCH -p devel | |
| #SBATCH -c 2 | |
| #SBATCH --mem=28G | |
| #SBATCH -t 06:00:00 | |
| #SBATCH -o /home/bjc75/other/finetuning/logs/%x_%j.out | |
| # MIT License, Bryan Cheng, 2026. E2 scan shard on the devel CPU lane (D-026): SHARD=i NSHARDS=n [EXTRA=--raw_coords OUT=...] | |
| # Refuses to run unless every checked adapter has a phenotype record and the base is phenotyped. | |
| cd /home/bjc75/other/finetuning | |
| export PYTHONUNBUFFERED=1 OMP_NUM_THREADS=${SLURM_CPUS_PER_TASK:-2} | |
| AD=data/raw/adapters/Qwen__Qwen2.5-0.5B-Instruct; PH=results/phenotypes/qwen05; OUT=${OUT:-results/scans/qwen05} | |
| n_ad=$(ls -d $AD/*/_ok | wc -l); n_ph=$(ls $PH/*.json | grep -vc __base__) | |
| if [ ! -f $PH/__base__.json ] || [ "$n_ph" -lt "$n_ad" ]; then echo "phenotypes incomplete: $n_ph of $n_ad"; exit 1; fi | |
| /nfs/roberts/project/pi_skr2/bjc75/conda_envs/lorapop/bin/python src/run/scan_run.py --geno ${GENO:-data/processed/qwen05} \ | |
| --pheno $PH --out $OUT --shard ${SHARD:-0} --nshards ${NSHARDS:-1} $EXTRA | |