Skip to content

Commit d3eca25

Browse files
committed
Final Experiment Configs
1 parent 3ccb489 commit d3eca25

File tree

4 files changed

+205
-60
lines changed

4 files changed

+205
-60
lines changed

notebooks/plot_runs.ipynb

Lines changed: 196 additions & 51 deletions
Large diffs are not rendered by default.

scripts/u_circle.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
#SBATCH --gres=gpu:a100:1
44
#SBATCH -n 16
55

6-
for ARG in $(python -c "import numpy as np; print(' '.join(map(str, np.linspace(49, 100, 20, dtype=int))))"); do
6+
for ARG in $(python -c "import numpy as np; print(' '.join(map(str, np.linspace(51, 100, 20, dtype=int))))"); do
77
echo "Running with seed $ARG:"
8-
python ../src/unit_exp.py --data_id circle --model_id H_transformer --seed $ARG
8+
python ../src/unit_exp.py --data_id circle --model_id H_MLP --seed $ARG
99
echo
1010
done

scripts/u_family.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#!/bin/bash
22
#SBATCH -t 16:00:00
3-
#SBATCH --gres=gpu:1
3+
#SBATCH --gres=gpu:a100:1
44
#SBATCH -n 16
55

6-
python ../src/unit_exp.py --data_id family_tree --model_id standard_transformer
7-
python ../src/unit_exp.py --data_id family_tree --model_id H_transformer
8-
python ../src/unit_exp.py --data_id family_tree --model_id standard_MLP
9-
python ../src/unit_exp.py --data_id family_tree --model_id H_MLP
10-
6+
for ARG in $(python -c "import numpy as np; print(' '.join(map(str, np.linspace(51, 100, 20, dtype=int))))"); do
7+
echo "Running with seed $ARG:"
8+
python ../src/unit_exp.py --data_id family_tree --model_id H_MLP --seed $ARG
9+
echo
10+
done

src/run_exp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
model_id_choices = ["H_MLP", "standard_MLP", "H_transformer", "standard_transformer"]
2020
if __name__ == '__main__':
2121
parser = argparse.ArgumentParser(description='Experiment')
22-
parser.add_argument('--seed', type=int, default=49, help='random seed')
22+
parser.add_argument('--seed', type=int, default=66, help='random seed')
2323
parser.add_argument('--data_id', type=str, required=True, choices=data_id_choices, help='Data ID')
2424
parser.add_argument('--model_id', type=str, required=True, choices=model_id_choices, help='Model ID')
2525

0 commit comments

Comments
 (0)