a b/shepherd/run_pretrain.sh
1
# Bash script to pretrain SHEPHERD
2
3
# Command to run this bash script:
4
# bash run_pretrain.sh
5
6
# Command to run with the best hyperparameters from the paper
7
python pretrain.py \
8
        --edgelist KG_edgelist_mask.txt \
9
        --node_map KG_node_map.txt \
10
        --save_dir checkpoints/ \
11
        --nfeat 2048 \
12
        --hidden 256 \
13
        --output 128 \
14
        --n_heads 4 \
15
        --wd 0.0 \
16
        --dropout 0.3 \
17
        --lr 0.0001