#!/bin/bash #SBATCH -p gpu_rtx6000 #SBATCH --gpus=1 #SBATCH -c 6 #SBATCH --mem=64G #SBATCH -t 06:00:00 #SBATCH -J ft_q05 #SBATCH -o /home/bjc75/other/finetuning/logs/%x_%A_%a.out # MIT License, Bryan Cheng, 2026. Full fine-tunes / merges: rank-64 reduction + full-battery phenotype (RESEARCH_PLAN 2.4, 4.2). cd /home/bjc75/other/finetuning export PYTHONUNBUFFERED=1 TOKENIZERS_PARALLELISM=false HF_HOME=/nfs/roberts/scratch/pi_skr2/bjc75/finetuning/hf_home KIND=${KIND:-finetune}; NS=${NS:-16} /nfs/roberts/project/pi_skr2/bjc75/conda_envs/lorapop/bin/python src/data/reduce_ft.py \ --index data/raw/hf_index/Qwen__Qwen2.5-0.5B-Instruct.$KIND.jsonl --base Qwen/Qwen2.5-0.5B-Instruct \ --out data/raw/ft_reduced/Qwen__Qwen2.5-0.5B-Instruct --pheno_out results/phenotypes/qwen05_$KIND \ --shard $SLURM_ARRAY_TASK_ID --nshards $NS 2>&1 | grep -v -i warn