TASK=wn18rrNUM_VOCAB=41054 #NUM_VOCAB/NUM_RELATIONS must be consistent with vocab.txt file NUM_RELATIONS=11# training hyper-paramtersBATCH_SIZE=1024LEARNING_RATE=3e-4EPOCH=800SOFT_LABEL=0.15SKIP_STEPS=1000MAX_SEQ_LEN=3HIDDEN_DROPOUT_PROB=0.1ATTENTION_PROBS_DROPOUT_PROB=0.1# file paths for training and evaluation DATA="./data"OUTPUT="./output_${TASK}"TRAIN_FILE="$DATA/${TASK}/train.coke.txt"VALID_FILE="$DATA/${TASK}/valid.coke.txt"TEST_FILE="$DATA/${TASK}/test.coke.txt"VOCAB_PATH="$DATA/${TASK}/vocab.txt"TRUE_TRIPLE_PATH="${DATA}/${TASK}/all.txt"CHECKPOINTS="$OUTPUT/models"INIT_CHECKPOINTS=$CHECKPOINTSLOG_FILE="$OUTPUT/train.log"LOG_EVAL_FILE="$OUTPUT/test.log"# transformer net config, the follwoing are default configs for all tasksHIDDEN_SIZE=256NUM_HIDDEN_LAYERS=6NUM_ATTENTION_HEADS=4MAX_POSITION_EMBEDDINS=3