From 6a72d9aa52ee79e9597a49e3bf191f2dc31a2d7a Mon Sep 17 00:00:00 2001 From: thomwolf Date: Tue, 16 Jul 2019 16:09:29 +0200 Subject: [PATCH] updated examples in readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f1f9b89f0b..4bc022ca44 100644 --- a/README.md +++ b/README.md @@ -239,7 +239,7 @@ python -m torch.distributed.launch --nproc_per_node=8 ./examples/run_squad.py \ --model_type bert \ --model_name_or_path bert-large-uncased-whole-word-masking \ --do_train \ - --do_predict \ + --do_eval \ --do_lower_case \ --train_file $SQUAD_DIR/train-v1.1.json \ --predict_file $SQUAD_DIR/dev-v1.1.json \ @@ -269,7 +269,7 @@ The generation script include the [tricks](https://github.com/rusiaaman/XLNet-ge Here is how to run the script with the small version of OpenAI GPT-2 model: ```shell -python ./examples/run_glue.py \ +python ./examples/run_generation.py \ --model_type=gpt2 \ --length=20 \ --model_name_or_path=gpt2 \