-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_path_transform_link_predict_nell995.sh
More file actions
51 lines (47 loc) · 1.08 KB
/
run_path_transform_link_predict_nell995.sh
File metadata and controls
51 lines (47 loc) · 1.08 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/bin/bash
#
#SBATCH --job-name=path-trans-nell-995
#SBATCH -e outputs/errors/%j.txt
#SBATCH --output=outputs/logs/%j.txt
#SBATCH --partition=titanx-long
#SBATCH --ntasks=6
#SBATCH --time=07-00:00
#SBATCH --mem=62GB
#SBATCH --gres=gpu:1
# For debugging device-side assert errors
# export CUDA_LAUNCH_BLOCKING=1
# To make a boolean option False, simply prefix with "no-"
export cmd="python main.py \
--run-id=$SLURM_JOB_ID \
--no-interactive \
--log-level 20 \
--no-log-to-file \
--log-to-stdout \
--write-tensorboard \
--save-model \
--save-result \
--use-gpu \
--engine=path-transform-link-predict \
--dataset-path=data/nell-995 \
--data-size=-1 \
--negative-sample-factor=1 \
--num-epochs=200 \
--num-workers=12 \
--train-batch-size=256 \
--test-batch-size=1 \
--hidden-dim=128 \
--learn-rate=0.0001 \
--lr-scheduler=multistep \
--lr-milestones=65,120,150,180 \
--lr-gamma=0.1 \
--weight-decay=0.01 \
--num-transformer-layers=2 \
--num-attention-heads=1 \
--validate-interval=10 \
--max-paths=100 \
--bucket-size=32000 \
--no-run-train-during-validate"
echo ""
echo "Executing \"$cmd\""
echo ""
$cmd