Download code/slurm/pheno_trained.sh from bryan7264/lorapop: direct link, hf CLI and curl.
- Browser
- Download file 932 Bytes
-
https://huggingface.co/datasets/bryan7264/lorapop/resolve/main/code/slurm/pheno_trained.sh
- Command line
-
hf download hf://datasets/bryan7264/lorapop/code/slurm/pheno_trained.sh
-
curl -L -o pheno_trained.sh https://huggingface.co/datasets/bryan7264/lorapop/resolve/main/code/slurm/pheno_trained.sh
932 Bytes
| #SBATCH -p gpu_rtx6000,gpu_h100,gpu_h200 | |
| #SBATCH --gpus=1 | |
| #SBATCH -c 6 | |
| #SBATCH --mem=64G | |
| #SBATCH -t 06:00:00 | |
| #SBATCH -o /home/bjc75/other/finetuning/logs/%x_%j.out | |
| # MIT License, Bryan Cheng, 2026. Full-battery phenotypes of trained adapter sets, base measured in the same run. | |
| # SETS="siblings opposite targeted" [BASE=...] [TAG=_tinyllama] sbatch -J ph_tr slurm/pheno_trained.sh | |
| cd /home/bjc75/other/finetuning | |
| export PYTHONUNBUFFERED=1 TOKENIZERS_PARALLELISM=false HF_HOME=/nfs/roberts/scratch/pi_skr2/bjc75/finetuning/hf_home | |
| PY=/nfs/roberts/project/pi_skr2/bjc75/conda_envs/lorapop/bin/python; BASE=${BASE:-Qwen/Qwen2.5-0.5B-Instruct} | |
| nvidia-smi --query-gpu=name --format=csv,noheader | |
| for S in $SETS; do | |
| $PY src/run/phenotype.py --base $BASE --adapters data/raw/trained/$S$TAG --out results/phenotypes/$S$TAG --include_base \ | |
| --sizes full --group 8 --bs 128 --gbs 256 2>&1 | grep -v -i warn | tail -40 | |
| done | |