From 029bdc0d501e2b7a8c2c4822e81c651a83b757d0 Mon Sep 17 00:00:00 2001 From: thomwolf Date: Mon, 26 Nov 2018 09:56:41 +0100 Subject: [PATCH] fixing readme examples --- README.md | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 23d740ab4f..3d1e66cbbf 100644 --- a/README.md +++ b/README.md @@ -421,10 +421,7 @@ To get these results we used a combination of: Here is the full list of hyper-parameters for this run: ```bash python ./run_squad.py \ - --vocab_file $BERT_LARGE_DIR/vocab.txt \ - --bert_config_file $BERT_LARGE_DIR/bert_config.json \ - --init_checkpoint $BERT_LARGE_DIR/pytorch_model.bin \ - --do_lower_case \ + --bert_model bert-large-uncased \ --do_train \ --do_predict \ --train_file $SQUAD_TRAIN \ @@ -444,10 +441,7 @@ If you have a recent GPU (starting from NVIDIA Volta series), you should try **1 Here is an example of hyper-parameters for a FP16 run we tried: ```bash python ./run_squad.py \ - --vocab_file $BERT_LARGE_DIR/vocab.txt \ - --bert_config_file $BERT_LARGE_DIR/bert_config.json \ - --init_checkpoint $BERT_LARGE_DIR/pytorch_model.bin \ - --do_lower_case \ + --bert_model bert-large-uncased \ --do_train \ --do_predict \ --train_file $SQUAD_TRAIN \