summaryrefslogtreecommitdiff
path: root/collaborativeagents/slurm/run_vanilla.sh
diff options
context:
space:
mode:
authorYurenHao0426 <blackhao0426@gmail.com>2026-01-27 09:57:37 -0600
committerYurenHao0426 <blackhao0426@gmail.com>2026-01-27 09:57:37 -0600
commitdc801c07cf38b0c495686463e6ca6f871a64440e (patch)
tree599f03114775921dbc472403c701f4a3a8ea188a /collaborativeagents/slurm/run_vanilla.sh
parente43b3f8aa36c198b95c1e46bea2eaf3893b13dc3 (diff)
Add collaborativeagents module and update gitignore
- Add collaborativeagents subproject with adapters, agents, and evaluation modules - Update .gitignore to exclude large binary files (.whl, .tar), wandb logs, and results Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'collaborativeagents/slurm/run_vanilla.sh')
-rwxr-xr-xcollaborativeagents/slurm/run_vanilla.sh32
1 files changed, 32 insertions, 0 deletions
diff --git a/collaborativeagents/slurm/run_vanilla.sh b/collaborativeagents/slurm/run_vanilla.sh
new file mode 100755
index 0000000..b29d3a2
--- /dev/null
+++ b/collaborativeagents/slurm/run_vanilla.sh
@@ -0,0 +1,32 @@
+#!/bin/bash
+#SBATCH --job-name=vanilla
+#SBATCH --account=bfqt-delta-gpu
+#SBATCH --partition=gpuA100x4
+#SBATCH --nodes=1
+#SBATCH --ntasks=1
+#SBATCH --cpus-per-task=16
+#SBATCH --gres=gpu:nvidia_a100:4
+#SBATCH --mem=200G
+#SBATCH --time=48:00:00
+#SBATCH --output=logs/vanilla_%j.out
+#SBATCH --error=logs/vanilla_%j.err
+
+set -e
+cd /projects/bfqt/users/yurenh2/ml-projects/personalization-user-model
+mkdir -p collaborativeagents/slurm/logs collaborativeagents/results
+
+source /u/yurenh2/miniforge3/etc/profile.d/conda.sh
+conda activate eval
+
+export HF_HOME=/projects/bfqt/users/yurenh2/hf_cache/huggingface
+export PYTHONPATH="${PWD}/src:${PWD}/collaborativeagents:${PYTHONPATH}"
+export NCCL_P2P_DISABLE=1
+
+cd collaborativeagents/scripts
+python run_experiments.py \
+ --methods vanilla \
+ --datasets mmlu,aime,math-hard,humaneval \
+ --n-profiles 30 \
+ --n-sessions 20 \
+ --profile-path ../data/complex_profiles_v2/profiles_100.jsonl \
+ --output-dir ../results/vanilla_$(date +%Y%m%d_%H%M%S)