-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgenerate.sh
More file actions
executable file
·27 lines (20 loc) · 1.13 KB
/
generate.sh
File metadata and controls
executable file
·27 lines (20 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash
#SBATCH --job-name=reasoning_abstraction_generate_data
#SBATCH --time=0-5:00:00 # D-HH:MM
#SBATCH --account=def-rgrosse
#SBATCH --mem=128G
#SBATCH --gpus-per-node=h100:2
#SBATCH --cpus-per-task=1
#salloc --account=def-zhijing --mem=128G --gpus=h100:2
# Load required modules
#module load python/3.11.5
#module load cuda/12.6
#module load scipy-stack/2023b
#module load arrow/21.0.0
module load python cuda scipy-stack arrow
source venv/bin/activate
#pip install -e ../TransformerLens
#python generate_traces.py --experiment current --n_prompts 200 --max_new_tokens 256 --model_path /home/wuroderi/projects/def-zhijing/wuroderi/models/QwQ-32B-Preview
#python generate_traces.py --experiment $1 --n_prompts 200 --max_new_tokens 256 --model_path /home/wuroderi/links/projects/def-rgrosse/wuroderi/models/Qwen2.5-72B
#python generate_traces.py --experiment $1 --n_prompts 200 --max_new_tokens 256 --model_path /home/wuroderi/links/projects/def-rgrosse/wuroderi/models/Llama3.1-8B
python generate_traces.py --experiment $1 --n_prompts 200 --max_new_tokens 256 --model_path /home/wuroderi/links/projects/def-rgrosse/wuroderi/models/Llama3.1-70B