add label smoothing for cross entropy and add fro reg
This commit is contained in:
7
scripts/fb15k-237/fb15k-237.sh
Normal file → Executable file
7
scripts/fb15k-237/fb15k-237.sh
Normal file → Executable file
@ -1,13 +1,12 @@
|
||||
nohup python -u main.py --gpus "1" --max_epochs=16 --num_workers=32 \
|
||||
nohup python -u main.py --gpus "2," --max_epochs=16 --num_workers=32 \
|
||||
--model_name_or_path bert-base-uncased \
|
||||
--accumulate_grad_batches 1 \
|
||||
--model_class BertKGC \
|
||||
--batch_size 64 \
|
||||
--checkpoint /kg_374/Relphormer/pretrain/output/FB15k-237/epoch=15-step=19299-Eval/hits10=0.96.ckpt \
|
||||
--batch_size 16 \
|
||||
--checkpoint /root/kg_374/Relphormer/pretrain/output/FB15k-237/epoch\=15-step\=38899-Eval/hits10=0.96.ckpt \
|
||||
--pretrain 0 \
|
||||
--bce 0 \
|
||||
--check_val_every_n_epoch 1 \
|
||||
--overwrite_cache \
|
||||
--data_dir dataset/FB15k-237 \
|
||||
--eval_batch_size 128 \
|
||||
--max_seq_length 128 \
|
||||
|
Reference in New Issue
Block a user