lorapop / code /slurm /pilot_eq.sh
bryan7264's picture
Add files using upload-large-folder tool
a8b5668 verified
Raw History Blame Contribute Delete
929 Bytes
#!/bin/bash
#SBATCH -p gpu_devel
#SBATCH --gpus=1
#SBATCH -c 6
#SBATCH --mem=64G
#SBATCH -t 01:00:00
#SBATCH -J pilot_eq
#SBATCH -o /home/bjc75/other/finetuning/logs/%x_%j.out
# MIT License, Bryan Cheng, 2026. Re-run of single (group 1) vs bank (group 8) equivalence after the nb == 1 routing fix.
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; B=Qwen/Qwen2.5-0.5B-Instruct; AD=data/raw/adapters/Qwen__Qwen2.5-0.5B-Instruct
for g in 1 8; do rm -rf results/phenotypes/pilot2_g$g; $PY src/run/phenotype.py --base $B --adapters $AD --out results/phenotypes/pilot2_g$g --include_base --limit 9 --sizes pilot --group $g --bs 128 --gbs 256 2>&1 | grep -v -i warn | tail -1; done
$PY tools/compare_pheno.py results/phenotypes/pilot2_g1 results/phenotypes/pilot2_g8