From cafc4dfc7c34199c872ccaa759466d199450d8b8 Mon Sep 17 00:00:00 2001 From: saippuakauppias Date: Sat, 22 Feb 2020 15:37:51 +0300 Subject: [PATCH] fix hardcoded path in examples readme --- examples/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/README.md b/examples/README.md index 941aeb7e46..8621fc75d9 100644 --- a/examples/README.md +++ b/examples/README.md @@ -442,14 +442,14 @@ This example code fine-tunes XLNet on both SQuAD1.0 and SQuAD2.0 dataset. See ab ```bash export SQUAD_DIR=/path/to/SQUAD -python /data/home/hlu/transformers/examples/run_squad.py \ +python run_squad.py \ --model_type xlnet \ --model_name_or_path xlnet-large-cased \ --do_train \ --do_eval \ --do_lower_case \ - --train_file /data/home/hlu/notebooks/NLP/examples/question_answering/train-v1.1.json \ - --predict_file /data/home/hlu/notebooks/NLP/examples/question_answering/dev-v1.1.json \ + --train_file $SQUAD_DIR/train-v1.1.json \ + --predict_file $SQUAD_DIR/dev-v1.1.json \ --learning_rate 3e-5 \ --num_train_epochs 2 \ --max_seq_length 384 \