fixing readme examples

This commit is contained in:
thomwolf
2018-11-26 09:56:41 +01:00
parent ebaacba38b
commit 029bdc0d50

View File

@@ -421,10 +421,7 @@ To get these results we used a combination of:
Here is the full list of hyper-parameters for this run: Here is the full list of hyper-parameters for this run:
```bash ```bash
python ./run_squad.py \ python ./run_squad.py \
--vocab_file $BERT_LARGE_DIR/vocab.txt \ --bert_model bert-large-uncased \
--bert_config_file $BERT_LARGE_DIR/bert_config.json \
--init_checkpoint $BERT_LARGE_DIR/pytorch_model.bin \
--do_lower_case \
--do_train \ --do_train \
--do_predict \ --do_predict \
--train_file $SQUAD_TRAIN \ --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: Here is an example of hyper-parameters for a FP16 run we tried:
```bash ```bash
python ./run_squad.py \ python ./run_squad.py \
--vocab_file $BERT_LARGE_DIR/vocab.txt \ --bert_model bert-large-uncased \
--bert_config_file $BERT_LARGE_DIR/bert_config.json \
--init_checkpoint $BERT_LARGE_DIR/pytorch_model.bin \
--do_lower_case \
--do_train \ --do_train \
--do_predict \ --do_predict \
--train_file $SQUAD_TRAIN \ --train_file $SQUAD_TRAIN \